Jump to:
| Project: | Lightweight Directory Access Protocol |
| Version: | 7.x-1.x-dev |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (won't fix) |
| Issue tags: | ldap authentication |
Issue Summary
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
#1
The 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
-------------------------
#2
#3
This module is obsolete and never finished. You want to use the ldap project, not ldap_api, for drupal 7.
#4
Hello,
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.
#5
#6
Your 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: Unable to start TLS: Connect error in LdapServer->connect()