threerings / openvpn-auth-ldap

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

openvpn-auth-ldap retrieves different username from LDAP server #24

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
client+server version:
OpenVPN 2.1.0 x86_64-pc-linux-gnu [SSL] [LZO2] [EPOLL] [PKCS11] [MH] [PF_INET6] 
[eurephia] built on Jul 12 2010

openvpn-auth-ldap version:
2.0.3-1 amd64 (Ubuntu Repository)

vpn server+client: Ubuntu 10.10 amd64 2.6.35
ldap server: win sbs2003 (active directory)

I enter my username "s9hi-2c-leutlor" on the client, but the server shows up 
"s9hi-2c-batsank" in the logfiles. "s9hi-2c-batsank" is an existing user, but 
definately the wrong one.

may be interesting:
It's a school's database, and "s9hi-2c-leutlor" is in the same class as 
"s9hi-2c-batsank", they both are in the group "sg9hi-2c" and "s9hi-2c-batsank" 
is the first entry of this group (alphabetical order).

What about that error? How can I fix it?

Original issue reported on code.google.com by lorenz.l...@gmail.com on 12 Dec 2010 at 10:08

Attachments:

GoogleCodeExporter commented 9 years ago
Is there anything in your SearchFilter setting that restricts the results to 
the specific user?

eg, uid=%u

Original comment by landon.j.fuller@gmail.com on 12 Dec 2010 at 10:11