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

noreply at lsc-project.org noreply at lsc-project.org
Wed Feb 2 16:00:58 CET 2011

Issue #300 has been updated by Clément Oudot.

Category set to Self Service Password
Status changed from New to Assigned
Assigned to set to Clément Oudot
Target version set to self-service-password-0.5


your LDAP filter does not seem correct. Try:

$ldap_filter = "(&(objectCategory=user)(sAMAccountName={login}))";

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/20110202/555073b3/attachment.htm>

More information about the ltb-dev mailing list