search for: name_to_uid

Displaying 7 results from an estimated 7 matches for "name_to_uid".

Did you mean: name_to_sid
2013 Apr 16
1
nfs4 and idmapd
.../utils/depdata /utils/depdata In /var/log/messages: Apr 16 11:28:42 tzalt rpc.idmapd[29849]: New client: 4b Apr 16 11:28:42 tzalt rpc.idmapd[29849]: Opened /var/lib/nfs/rpc_pipefs//nfs/clnt4b/idmap Apr 16 11:28:42 tzalt rpc.idmapd[29849]: New client: 4c Apr 16 11:28:42 tzalt rpc.idmapd[29849]: nfs4_name_to_uid: calling nsswitch->name_to_uid Apr 16 11:28:42 tzalt rpc.idmapd[29849]: nss_getpwnam: name 'root at local' domain 'local': resulting localname 'root' Apr 16 11:28:42 tzalt rpc.idmapd[29849]: nfs4_name_to_uid: nsswitch->name_to_uid returned 0 Apr 16 11:28:42 tzalt rpc.i...
2004 Apr 28
1
Bug in 2.6.1
I'm not sure what the code is trying to do, but the SGI Irix 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 th...
2006 May 04
0
compiling rsync statically
...he 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' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking uidlist.o(.text+0x775): In function `add_uid': /tmp/rsync-2.6.8/uidlist.c:66: warning: Using 'getpwuid'...
2018 Oct 25
0
Again NFSv4 and Kerberos at the 'samba way'...
...p Verbose, if your mount was sucessfull, it shows the imapping logs. By example from my server. : An ls in /home/users ( as user root ) Oct 25 13:09:21 member3 nfsidmap[22443]: key: 0x2c4e3178 type: uid value: root at internal.example.tld timeout 600 Oct 25 13:09:21 member3 nfsidmap[22443]: nfs4_name_to_uid: calling nsswitch->name_to_uid Oct 25 13:09:21 member3 nfsidmap[22443]: nss_getpwnam: name 'root at internal.example.tld' domain 'internal.example.tld': resulting localname 'root' Oct 25 13:09:21 member3 nfsidmap[22443]: nfs4_name_to_uid: nsswitch->name_to_uid returned...
2004 Feb 17
1
[patch] Make robust_rename() handle EXDEV.
All callers of robust_rename() call copy_file() if EXDEV is received. This patch moves the copy_file() call into robust_rename(). Patch Summary: -12 +1 backup.c -15 +2 rsync.c -9 +33 util.c -------------- next part -------------- patchwork diff util.c --- util.c 2004-02-17 09:58:44.000000000 -0500 +++ util.c 2004-02-17 10:21:22.000000000 -0500 @@ -355,16 +355,40 @@
2001 Nov 20
2
rsync server over SSH [includes code patches]
...addr, "@RSYNCD: AUTHREQD "); if (!auth_user) { rprintf(FERROR,"auth failed on module %s from %s (%s)\n", ! name, host, addr); ! io_printf(f_out,"@ERROR: auth failed on module %s\n",name); return -1; } *************** *** 177,183 **** if (!name_to_uid(p, &uid)) { if (!isdigit(*p)) { rprintf(FERROR,"Invalid uid %s\n", p); ! io_printf(fd,"@ERROR: invalid uid\n"); return -1; } uid = atoi(p); --- 220,226 ---- if (!name_to_uid(p, &uid)) { 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,