Skip to content
Discussion options

You must be logged in to vote

For those who are interesting: this was a LDAP configuration problem.
The memberUid attribute of the posixGroup object must be equal to the uidNumber attribute value of the corresponding posixAccount object, not to the uid one.

So, if I want myuser

# filter: (&(objectclass=posixAccount)(uid=myuser))
# requesting: uid uidNumber gidNumber
#

# myuser, People, domain.com
dn: uid=myuser,ou=People,dc=domain,dc=com
uid: myuser
uidNumber: 5001  <--
gidNumber: 5001

be a member of groups hadoop and myuser, I have to define them as follows:

# filter: (&(objectclass=posixGroup)(memberUid=5001))  <--
# requesting: cn memberUid
#

# hadoop, Groups, domain.com
dn: cn=hadoop,ou=Groups,dc=domain,dc=com
…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@adoroszlai
Comment options

Answer selected by adoroszlai
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
FAQ
Labels
None yet
2 participants