Re: getent?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@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@ldap bin]$
I still have this:

[fontenwp@ldap bin]$ id
uid=500(fontenwp) gid=500 groups=500
[fontenwp@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@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-directory-users



--
Fedora-directory-users mailing list
Fedora-directory-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-directory-users

[Index of Archives]     [Fedora Directory Users]     [Fedora Directory Devel]     [Fedora Announce]     [Fedora Legacy Announce]     [Kernel]     [Fedora Legacy]     [Share Photos]     [Fedora Desktop]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite News]

  Powered by Linux