#69 ldap_search for user dn

Minor
closed
MRBS (195)
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

    patch to use ldap_search to find dn

     
  • Bernd Oeggl

    Bernd Oeggl - 2003-01-27

    Logged In: YES
    user_id=696187

    forgot to attach the patch...

     
  • Thierry Bothorel

    Logged In: YES
    user_id=674184

    Thanks,

    this is in CVS

    TB

     


Anonymous

Cancel  Add attachments





Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks