[ltb-dev] [LDAP Tool Box - Bug #300] Warning Ldap_get_dn

noreply at lsc-project.org noreply at lsc-project.org
Thu Feb 3 09:58:15 CET 2011

Issue #300 has been updated by Jonathan MEKLAT.

When I use ldaps://server I have this error message :

Warning: ldap_bind() [function.ldap-bind]: Unable to bind to server: Can't contact LDAP server in /var/www/password/pages/change.php on line 68

Do I have to add a certificate on the server? Have you a procedure?

Bug #300: Warning Ldap_get_dn

Author: Jonathan MEKLAT
Status: Assigned
Priority: Normal
Assigned to: Clément Oudot
Category: Self Service Password
Target version: self-service-password-0.5

I am new on the forum and I try to put on the application.
Here is the error message which I obtain when I try to change the password of a user.
The information that I put into the file "config.inc.php" is this the ones
Ldap_url = " ldap: //server:389 ";
Ldap_binddn = " cn=Manager, ou=utilisateurs, dc=domain, dc=com ";
Ldap_bindpw = " password ";
Ldap_base = " ou=utilisateurs, dc=domain, dc=com ";
Ldap_filter = " (and (objectCategory=user) (sAMAccountName=BTYNDALL)) ";
Ad_mode = true;
When I bring in this information on another application to have the authentification Ldap, everything works correctly.
Here is the error message which I obtain with the debug:
Warning: ldap_get_dn (): supplied argument is not has valid ldap result entry resource in / the Var / www / password / pages / change.php we line 91
Can you help me please ?

You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://tools.lsc-project.org/my/account
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ltb-project.org/pipermail/ltb-dev/attachments/20110203/6d783b59/attachment.htm>

More information about the ltb-dev mailing list