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

ODM : @Entry(base) don't work for AD's objectClasses = {"top", "group"} #720

Open
mickhause opened this issue Jan 12, 2023 · 0 comments
Open
Assignees
Labels

Comments

@mickhause
Copy link

Hello,
I'm encountering a problem with @entry's base attribute for Active Directory groups and ODM :

@Entry(objectClasses = {"top", "group"}, base = "OU=***,OU=***,DC=***,DC=***")

nested exception is javax.naming.NameNotFoundException: [LDAP: error code 32 - 0000208D: NameErr: DSID-03100220, problem 2001 (NO_OBJECT), data 0, best match of: '' ]; remaining name '/'

It works perfectly with "person" objectClass in the same path :

@Entry(objectClasses = {"top", "person"}, base = "OU=***,OU=***,DC=***,DC=***")

Groups are working after remove of "base" attribute and put the base path in the properties :

spring.ldap.base=DC=***,DC=***

But in the future I need to work with different bases depending of the objectClass.
Thank you

Regards

@jzheaux jzheaux self-assigned this Feb 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: No status
Development

No branches or pull requests

2 participants