[Fedora-directory-users] getent?

Tamas Bagyal bagyi at mail.fmkorhaz.hu
Thu Jan 3 16:43:44 UTC 2008


hello,

First: sorry for my bad english.

Your user must have a 'gidnumber' entry (from 'posixaccount' objectclass), this 
is the user's gid. Not require to write this username in the memberuid entry. If 
the group not the primary group of the user, require to write in the memberuid 
entry the username.

ok, i know this is not too understandable.

example:

uid=500(fontenwp) gid=500(linuxusers) groups=750(linuxadmins),500(linuxusers)

entrys: (only the important things)

user:
dn: cn=fontenwp, ou=People, dc=fontenotshome,dc=org
objectclass: posixAccount
gidNumber: 500

groups:
dn: cn=LinuxUsers,ou=Groups, dc=fontenotshome,dc=org
objectClass: posixgroup
gidNumber: 500
memberUid: fontenwp <-- these not required

dn: cn=LinuxAdmins,ou=Groups, dc=fontenotshome,dc=org
objectClass: posixgroup
gidNumber: 750
memberUid: fontenwp <-- this required


and offcourse configure correct nsswitch & pam.
the default group ou in the nsswitch-ldap conf is the: ou=Group but, as i can 
see, You use the ou=Group_s_. check this.

I hope this help you.

KeeF

Paul Fontenot wrote:
> I now have this:
> 
> [fontenwp at ldap bin]$ ./ldapsearch -b "dc=fontenotshome,dc=org"
> "objectclass=posixgroup"
> version: 1
> dn: cn=LinuxAdmins,ou=Groups, dc=fontenotshome,dc=org
> objectClass: top
> objectClass: groupofuniquenames
> objectClass: posixgroup
> cn: LinuxAdmins
> gidNumber: 750
> memberUid: fontenwp
> 
> dn: cn=LinuxUsers,ou=Groups, dc=fontenotshome,dc=org
> objectClass: top
> objectClass: groupofuniquenames
> objectClass: posixgroup
> cn: LinuxUsers
> gidNumber: 500
> memberUid: fontenwp
> [fontenwp at ldap bin]$ 
> 
> I still have this:
> 
> [fontenwp at ldap bin]$ id
> uid=500(fontenwp) gid=500 groups=500
> [fontenwp at ldap bin]$ 
> 
> and the error 
> 
> "id: cannot find name for group ID 500"
> 
> --------------------------------------------------------------
> 16:44:17 up 2:00, 1 user, load average: 0.11, 0.05, 0.01
> 
> --
> Fedora-directory-users mailing list
> Fedora-directory-users at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-directory-users
> 
> 




More information about the Fedora-directory-users mailing list