search for: name_to_gid

Displaying 6 results from an estimated 6 matches for "name_to_gid".

2013 Apr 16
1
nfs4 and idmapd
...9]: nfs4_name_to_uid: nsswitch->name_to_uid returned 0 Apr 16 11:28:42 tzalt rpc.idmapd[29849]: nfs4_name_to_uid: final return value is 0 Apr 16 11:28:42 tzalt rpc.idmapd[29849]: Client 4b: (user) name "root at local" -> id "0" Apr 16 11:28:42 tzalt rpc.idmapd[29849]: nfs4_name_to_gid: calling nsswitch->name_to_gid Apr 16 11:28:42 tzalt rpc.idmapd[29849]: nfs4_name_to_gid: nsswitch->name_to_gid returned -2 Apr 16 11:28:42 tzalt rpc.idmapd[29849]: nfs4_name_to_gid: final return value is -2 Apr 16 11:28:42 tzalt rpc.idmapd[29849]: Client 4b: (group) name "staff at local...
2004 Apr 28
1
Bug in 2.6.1
...x compiler spotted this usage of an undefined variable. In uidlist.c: ======= static int map_uid(int id, char *name) { uid_t uid; if (uid != 0 && name_to_uid(name, &uid)) return uid; return id; } static int map_gid(int id, char *name) { gid_t gid; if (gid != 0 && name_to_gid(name, &gid)) return gid; return id; } ======= Both uid (in map_uid) and gid (in map_gid) are used (tested against 0) without being defined. If these are dynamic variables they should be initilaized first, but then that makes the check superfluous, as you will just have set it so...
2006 May 04
0
compiling rsync statically
...to the Makefile/CFLAGS it get: uidlist.o(.text+0x705): In function `add_gid': /tmp/rsync-2.6.8/uidlist.c:75: warning: Using 'getgrgid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking util.o(.text+0x16ba): In function `name_to_gid': /tmp/rsync-2.6.8/util.c:486: warning: Using 'getgrnam' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking util.o(.text+0x16fa): In function `name_to_uid': /tmp/rsync-2.6.8/util.c:472: warning: Using 'getpwnam'...
2018 Oct 25
0
Again NFSv4 and Kerberos at the 'samba way'...
...: nfs4_name_to_uid: nsswitch->name_to_uid returned 0 Oct 25 13:09:21 member3 nfsidmap[22443]: nfs4_name_to_uid: final return value is 0 Oct 25 13:09:21 member3 nfsidmap[22444]: key: 0x324af16a type: gid value: root at internal.example.tld timeout 600 Oct 25 13:09:21 member3 nfsidmap[22444]: nfs4_name_to_gid: calling nsswitch->name_to_gid Oct 25 13:09:21 member3 nfsidmap[22444]: nfs4_name_to_gid: nsswitch->name_to_gid returned 0 Oct 25 13:09:21 member3 nfsidmap[22444]: nfs4_name_to_gid: final return value is 0 And my (username) login in with ssh with a kerberized automounted homedir. Oct 25 13:1...
2001 Nov 20
2
rsync server over SSH [includes code patches]
...uid = atoi(p); --- 220,226 ---- if (!name_to_uid(p, &uid)) { if (!isdigit(*p)) { rprintf(FERROR,"Invalid uid %s\n", p); ! io_printf(f_out,"@ERROR: invalid uid\n"); return -1; } uid = atoi(p); *************** *** 187,193 **** if (!name_to_gid(p, &gid)) { if (!isdigit(*p)) { rprintf(FERROR,"Invalid gid %s\n", p); ! io_printf(fd,"@ERROR: invalid gid\n"); return -1; } gid = atoi(p); --- 230,236 ---- if (!name_to_gid(p, &gid)) { if (!isdigit(*p)) { rprintf(FERROR,&qu...
2018 Oct 24
5
Again NFSv4 and Kerberos at the 'samba way'...
Good morning Marco and others. > -----Oorspronkelijk bericht----- > Van: samba [mailto:samba-bounces at lists.samba.org] Namens > Marco Gaiarin via samba > Verzonden: dinsdag 23 oktober 2018 18:58 > Aan: samba at lists.samba.org > Onderwerp: [Samba] Again NFSv4 and Kerberos at the 'samba way'... > > > Sorry, i come back to this topic in a different thread,