Skip to content
Snippets Groups Projects
Commit e61be41d authored by Pavel Vondruska's avatar Pavel Vondruska
Browse files

Nove spravnejsi patche, pridani logovacich zprav, zmena ocasku na zs

parent 461ad44d
No related branches found
No related tags found
No related merge requests found
Pipeline #2353 passed
File moved
File moved
File moved
Index: libnfsidmap-0.25/libnfsidmap.c
===================================================================
--- libnfsidmap-0.25.orig/libnfsidmap.c
+++ libnfsidmap-0.25/libnfsidmap.c
@@ -285,10 +285,11 @@ int nfs4_init_name_mapping(char *conffil
TAILQ_FOREACH(r, &local_realms->fields, link) {
siz += (strlen(r->field)+4);
}
- buf = malloc(siz);
+ buf = malloc(siz+1);
if (buf) {
+ *buf = '\0';
TAILQ_FOREACH(r, &local_realms->fields, link) {
- sprintf(buf, "'%s' ", r->field);
+ sprintf(buf+strlen(buf), "'%s' ", r->field);
}
IDMAP_LOG(1, ("libnfsidmap: Realms list: %s", buf));
free(buf);
01-661215-wrong-double-ldap-check.patch
02-idmapd.conf.5.patch
10-DU-nss_name-local_realms.patch
20-DU-static-translation.patch
30-DU-mnsswitch.patch
40-DU-mnssfix.patch
50-DU-mnsslog.patch
03-uid-map-krb5.patch
meta/10-DU-nss_name-local_realms.patch
meta/20-DU-static-translation.patch
meta/30-DU-mnsswitch.patch
meta/40-DU-mnssfix.patch
meta/50-DU-mnsslog.patch
meta/zs1-local-realms-report.patch
......@@ -19,7 +19,7 @@ apt source libnfsidmap2
cd libnfsidmap-0.25
cp -rv ../debian/* debian/patches
dch -l "+du" "fixed mnss.c"
dch -l "+zs" "fixed mnss.c"
dch -a "Added mnsswitch patch"
dch -a "Implementation of client side Static translation method"
dch -a "nss_name_to_uid/gid() search also Local-Realms"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment