Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#69 ldap_search for user dn

Minor
closed
MRBS (194)
5
2012-07-20
2003-01-24
Bernd Oeggl
No

I wrote a few lines in auth_ldap.inc to find the dn for
a user. At the moment this is hard coded:
$dn = "cn=" . $user . "," . $ldap_base_dn[$i];

I use uid=... for user accounts at my site. The patch
included does an anonymous bind first, tries to find
the dn for the user and the binds to it with $pass.

Everything else works like a charm. I can use a remote
ldap server and mysql database server.

Discussion

  • Bernd Oeggl
    Bernd Oeggl
    2003-01-27

    Logged In: YES
    user_id=696187

    forgot to attach the patch...

     


Anonymous


Cancel   Add attachments