Hello,
I am trying to configure the ldap api which is based for version 7.x on drupal 7.x
This is the module which I have tried installing. When I click on TLS connection, it gives me the following error
Warning: ldap_start_tls() [function.ldap-start-tls]: Unable to start TLS: Server is unavailable in LdapServer->connect() (line 179 of /Applications/MAMP/htdocs/drupal/modules/ldap/ldap_servers/LdapServer.class.php).
Connection Info
Binding with DN for non-anonymous search (dn=staff,dn=smu,dn=edu,dn=sg). Using password stored in configuration
Binding with null DN for anonymous search.
Failed to connect to LDAP server. See watchdog error logs for details.
Failed to find test user amolchawathe by searching on cn = amolchawathe.
Binding with DN (). Using supplied password
Failed to bind to server. ldap error #91
---------------
The issue is prominent , since I have the ldap module connected properly using the wordpress AD integration.
Comments
Comment #1
amolschawathe commentedThe following behavior was observed while using it without Start TLS
Binding with DN for non-anonymous search (dn=staff,dn=smu,dn=edu,dn=sg). Using password stored in configuration
Binding with null DN for anonymous search.
Successfully bound to server
Failed to find test user amolchawathe by searching on cn = amolchawathe.Success
Binding with DN (). Using supplied password
Failed to bind to server. ldap error #49 Invalid credentials
-------------------------
Comment #2
amolschawathe commentedComment #3
johnbarclay commentedThis module is obsolete and never finished. You want to use the ldap project, not ldap_api, for drupal 7.
Comment #4
amolschawathe commentedHello,
I have changed it to the Drupal LDAP project page. Is there a way to fix it. I see the project LDAP has got merged.
Comment #5
johnbarclay commentedComment #6
Homotechsual commentedYour issue, I suspect, is that you are connecting / attempting to connect with a non-existent or invalid user account.
The other possibility is covered here: #1404368: LDAP Help: Example features interfere with configuration of actual ldaps.