rroemhild / docker-test-openldap

Docker OpenLDAP Server for testing LDAP applications
MIT License
362 stars 142 forks source link

Change bind #38

Open bmarwell opened 2 years ago

bmarwell commented 2 years ago

Hi,

I would like to bind using the uid (e.g. professor or even professor@planetexpress.com). How do I do that?

ezesil commented 2 years ago

I also tried to do it, but i only managed to bind using "admin".

rroemhild commented 2 years ago

You can not bind with the users email. However you can make a search from the login form with the email and then bind with the users DN.

bmarwell commented 2 years ago

Huh I see. Thanks @rroemhild. However, I am trying to mimic an active directory where I can bind with the UID field, which is called sAMAccountName. But that is probably the same...

Rationale: I want to integration-test an application using Apache Shiro's AD authenticator.