We are testing the LDAP-Authentication with ASL 4.001! We have the problem, that the authentication always fails. We tested it with SLOX (Suse) and an own LDAP-Server. The ACLs are ok for ASL and the binduser. We made the following entries in LDAP-Server Setting:
SLOX:
LDAP-Type: OpenLDAP
IP Address: 192.168.0.202
TCP port: 389
Bind DN: uid=cyrus,dc=bitbone,dc=de
Base DN: dc=bitbone,dc=de
Password: ********
And with our own ldap-Server:
LDAP-Type: OpenLDAP
IP Address: 192.168.0.22
TCP port: 389
Bind DN: cn=admin,dc=bitbone
Base DN: dc=bitbone
Password: ********
In ASL-Logfile i found this, for both tests:
Feb 12 17:08:27 (none) aua[6673]: LDAP method failed U: testuser
Feb 12 17:08:27 (none) aua[6673]: U:testuser F:http R[:D]ENY
I `ve solved my problems. There seems to be a Problem with "$" in passwords. We have a dollar in our Ldap-Admin-Password . It is not correctly transmitted, it was the hex-code (%24 - seen in tcpdump). The other Problem was, that in SLOX is the uid unequal to cn e.g. uid=sebbo and cn=Sebastian Scheuring
It would be better to select the searchpattern between uid and cn!.