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

Support RFC2307 schema #547

Open
anaxdev opened this issue Feb 3, 2025 · 0 comments
Open

Support RFC2307 schema #547

anaxdev opened this issue Feb 3, 2025 · 0 comments

Comments

@anaxdev
Copy link

anaxdev commented Feb 3, 2025

Hello,

We are using a LDAP server configured in RFC2307 schema, in which the group membership is defined by another way as follows:

dn: cn=Admin,ou=groups,dc=mydomain,dc=dev
cn: Admin
gidnumber: 500
memberuid: cn=myname,ou=users,dc=mydonmain,dc=dev
memberuid: myuser
objectclass: posixGroup
objectclass: top

And the ParseDN func returns the error "DN ended with incomplete type, value pair".

Looks like currently go-ldap/ldap supports a kind of schema that search for user's group by it's dn. (RFC4514)
RFC2307 allows to store and manage user and group information in a format compatible with Unix systems.
It will be better if go-ldap/ldap can add an additional condition to search for user's group by it's memberuid also. (RFC2307)
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