Thread:Extension talk:LDAP Authentication/Failed to bind as/reply (7)

Finally I solved my problem. Maybe the solution is interesting for someone else:

the location of ldap.conf has to be in the Path C:\ldap.conf instead of C:\openldap\sysconf/ldap.conf with that version XAMPP-compiled php-version.

While testing purposes i created that file in both locations, but only changed the one in sysconf-folder. That file was never read and pointed to a wrong certificate file. So i modified the right file and SSL-Auth runs.

- - - - - - -

Tipp: If still problems remain maybe this really good tutorial helps: http://greg.cathell.net/php_ldap_ssl.html

Another Tipp: You can test the ssl connection with the following command: openssl s_client -connect myserver.com:636 -showcerts -state -CAfile C:\openldap\sysconf\server_cert.pem (output should be something like this: http://www.openldap.org/pub/ksoper/OpenLDAP_TLS.html#6.1 )