Displaying 8 results from an estimated 8 matches for "gid_to_nam".
Did you mean:
gid_to_name
2005 Jul 04
0
[Bug 2847] New: Group not preserved with rsync 2.6.3 on Cygwin in daemon mode
...e file with the original gid (from log: gid 11003(mkgroup) maps to
11003). The ownership instead is correctly mapped (from log: uid 11012(igor)
maps to igor).
I checked /etc/group in CYGWIN environment and is all ok.
I made a small program that simulates the call made by rsync to map file groups
(gid_to_name, is it correct?) in uidlist.c.:
#include <pwd.h>
#include <grp.h>
#include <stdio.h>
void gid_to_name(gid_t gid)
{
struct group *grp = getgrgid(gid);
if (grp)
printf(strdup(grp->gr_name));
}
int main(int argc,char *argv[]) {
gid_to_na...
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
2012 Aug 22
0
Winbind/AD/NFSv4: can't `ls/cd` private directory?
...one/-o sec=krb5/i/p:
Aug 17 11:28:30 nfsserver rpc.idmapd[1484]: Server : (user) id "56055" -> name "joeuser at ad.example.com"
Aug 17 11:28:30 nfsserver rpc.idmapd[1484]: nfsdcb: authbuf=199.60.0.0/255.255.240.0 authtype=group
Aug 17 11:28:30 nfsserver rpc.idmapd[1484]: nfs4_gid_to_name: calling nsswitch->gid_to_name
Aug 17 11:28:30 nfsserver rpc.idmapd[1484]: nfs4_gid_to_name: nsswitch->gid_to_name returned 0
Aug 17 11:28:30 nfsserver rpc.idmapd[1484]: nfs4_gid_to_name: final return value is 0
Aug 17 11:28:30 nfsserver rpc.idmapd[1484]: Server : (group) id "6502"...
2018 Oct 25
0
Again NFSv4 and Kerberos at the 'samba way'...
...5 13:12:48 member3 nfsidmap[22518]: nfs4_uid_to_name: final return value is 0
Oct 25 13:12:48 member3 nfsidmap[22518]: nfs4_uid_to_name: final return value is 0
Oct 25 13:12:48 member3 nfsidmap[22519]: key: 0xae3b2ad type: group value: 10000 timeout 600
Oct 25 13:12:48 member3 nfsidmap[22519]: nfs4_gid_to_name: calling nsswitch->gid_to_name
Oct 25 13:12:48 member3 nfsidmap[22519]: nfs4_gid_to_name: nsswitch->gid_to_name returned 0
Oct 25 13:12:48 member3 nfsidmap[22519]: nfs4_gid_to_name: final return value is 0
id username
uid=10002(username) gid=10000(domain users) groups=10000(domain users) (...
2004 Oct 05
6
group change causing failure
OK, I searched through the archives and didn't find anything so I must be
doing something stupid.
I just compiled 2.6.3 and am trying to get it to run on linux 2.6.8.1 kernel
with a more or less fedora core2 environment. I was trying between two
systems but I have narrowed it down to what I believe is a pretty simple
case. Here is my setup/test:
Last login: Mon Oct 4 19:30:49 2004
2016 Aug 02
2
FW: kerberos nfs4's principals and root access
...> nfsidmap: nfs4_uid_to_name: final return value is 0
>
> > nfsidmap: Server : (user) id "65534" -> name "nobody at domain"
>
> > nfsidmap: nfsdcb: authbuf=gss/krb5 authtype=group
>
> > nfsidmap: nfs4_gid_to_name: calling nsswitch->gid_to_name
>
> > nfsidmap: nfs4_gid_to_name: nsswitch->gid_to_name returned 0
>
> > nfsidmap: nfs4_gid_to_name: final return value is 0
>
> > nfsidmap: Server : (group) id "65534" -> name
>...
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,
2015 Oct 09
5
kerberos nfs4's principals and root access
Hai Batiste,
Ok, thanks for these, i'll test that also.
And the "why" is a bit more explained here.
http://www.citi.umich.edu/projects/nfsv4/crossrealm/libnfsidmap_config.html
and per example,
http://www.citi.umich.edu/projects/nfsv4/crossrealm/ldap_server_setup.html
First my work here, but this is a good one which i also need to adjust in my scripts, so thank you for asking