openvpn-auth-ldap
openvpn-auth-ldap copied to clipboard
Parse error if BindDN has spaces
Trying to bind to company ldap with this kind of ldap.conf:
<LDAP>
URL ldap://ldap.example.com:389
BindDN cn=Company DirManager,dc=example,dc=com
Password password
Timeout 15
TLSEnable no
FollowReferrals no
TLSCACertFile /usr/local/etc/ssl/ca.pem
TLSCACertDir /etc/ssl/certs
TLSCertFile /usr/local/etc/ssl/client-cert.pem
TLSKeyFile /usr/local/etc/ssl/client-key.pem
</LDAP>
<Authorization>
BaseDN dc=example,dc=com
SearchFilter "(&(sAMAccountName=%u))"
RequireGroup false
</Authorization>
openvpn-auth-ldap fails to bind to ldap and gives error message:
"A parse error occured while attempting to comprehend DirManager, on line 3"
Operating system is Ubuntu 12.04 LTS server and OpenVPN version: 2.2.1.
Original issue reported on code.google.com by [email protected]
on 25 Apr 2014 at 3:52