threerings / openvpn-auth-ldap

Implements username/password authentication via LDAP for OpenVPN 2.x.
Other
134 stars 63 forks source link

Search across different branches #50

Open dim-0 opened 9 years ago

dim-0 commented 9 years ago

This is a feature request: On my VPS i host the user accounts in different branches per domain. However, user names are only unique within one domain. So you might have two different users like uid=user1,dc=example1.com,ou=domains,dc=example,dc=com uid=user1,dc=example2.com,ou=domains,dc=example,dc=com

What I would like to do is letting the users authenticate with their "e-mail addresses" like user1@example1.com and user1@example2.com. In order to make this happen, base DN and filter would need:

Depending on my amount of spare time, I might submit a pull request in the near future.

dim-0 commented 9 years ago

Should be done with commit e182795033761f74628fa3abdf62425a904cc04a Can you tell me, when things will

Let me know, as soon as I need to fix or adjust some of my stuff!

Cheers

dim-0 commented 8 years ago

May I help with any of this? The pull request isn't too complicated. Would be awesome to have this merged some time soon...

Cheers