Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error 32 while adding users/groups with memberOf #676

Open
felixbliedung opened this issue Apr 12, 2024 · 1 comment
Open

Error 32 while adding users/groups with memberOf #676

felixbliedung opened this issue Apr 12, 2024 · 1 comment

Comments

@felixbliedung
Copy link

felixbliedung commented Apr 12, 2024

Hi,
i stuck on a problem to setup ldap server. I am starting ldap 1.4.0 with standard settings:

 `LDAP_ORGANISATION: example
  LDAP_DOMAIN: example.org
  LDAP_BASE_DN: dc=example,dc=org`

After that i want to add groups and users from this ldif (ldapadd -x -W -D "cn=admin,dc=example,dc=org" -f test.ldif -Z):

dn: ou=Users,dc=example,dc=org
objectClass: top
objectClass: organizationalUnit
ou: Users

dn: ou=Groups,dc=example,dc=org
objectClass: top
objectClass: organizationalUnit
ou: Groups

dn: uid=billy,ou=Users,dc=example,dc=org
uid: billy
cn: billy
sn: 1
objectClass: top
objectClass: posixAccount
objectClass: inetOrgPerson
loginShell: /bin/bash
homeDirectory: /home/billy
uidNumber: 14583102
gidNumber: 14564100
userPassword: {SSHA}e1NTSEF9Z3F1dGdrOUFjbjZiUkZGQjM1dWFPSXNCeE5xOElUc2Y=
mail: [email protected]
gecos: Billy User
memberOf: cn=admin,ou=Groups,dc=example,dc=org

dn: uid=john,ou=Users,dc=example,dc=org
uid: john
cn: john
sn: 3
objectClass: top
objectClass: posixAccount
objectClass: inetOrgPerson
loginShell: /bin/bash
homeDirectory: /home/john
uidNumber: 14583103
gidNumber: 14564101
userPassword: 1234
mail: [email protected]
gecos: John User
memberOf: cn=admin,ou=Groups,dc=example,dc=org

dn: cn=admin,ou=Groups,dc=example,dc=org
objectClass: groupOfUniqueNames
cn: admin
description: Admin users
uniqueMember: uid=admin,dc=example,dc=org
uniqueMember: uid=john,ou=Users,dc=example,dc=org
uniqueMember: uid=billy,ou=Users,dc=example,dc=org

While the groups are added i am getting the following error:
ADD dn="cn=admin,ou=Groups,dc=example,dc=org"
memberof_value_modify DN="uid=admin,dc=example,dc=org" add memberOf="cn=admin,ou=Groups,dc=example,dc=org" failed err=32
memberof_value_modify DN="uid=john,ou=users,dc=example,dc=org" add memberOf="cn=admin,ou=Groups,dc=example,dc=org" failed err=20
memberof_value_modify DN="uid=billy,ou=users,dc=example,dc=org" add memberOf="cn=admin,ou=Groups,dc=example,dc=org" failed err=20

I also tried with a modified memberOf (change groupOfUniqueNames to groupOfNames), but it is still the same problem. What can i do for a working example with working memberOf? Is it combined with the rfc2307 schema? Thanks so much for help

@felixbliedung felixbliedung changed the title Error 32 while adding users with memberOf Error 32 while adding users/groups with memberOf Apr 12, 2024
@felixbliedung
Copy link
Author

Ok, the memberOf functionality is working, but now i have another question/problem. By default, the operational attribute memberOf is not delivered (in the acls there is an entry that everybody can read this). What else can i check to get this running? Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant