#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2004
    Posts
    4
    Rep Power
    0

    Newbiehelp Apache + Active Directory + PHP


    I am creating a site and want to use Active Directory users as the login to the site. How do you use PHP to talk with Active Directory to do this login? I have read things about LDAP. Do you have to have that? If so, how do you get that to work? I have to realize that with PHP on Linux. Are there any changes needed on the server (win2k Server) to connect to LDAP.
    I have read some tutorials but they didn't help me.

    The other thing is, that i can't connect to the LDAP with some other tools like LDAP Explorer or with Visual Basic Scripts
  2. #2
  3. No Profile Picture
    Ultra Geek!
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2004
    Posts
    294
    Rep Power
    11
    Here is a good tutorial.

    http://www.developer.com/lang/php/article.php/3100951

    this site even gives you a few scripts to help you test your ldap support
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2004
    Posts
    4
    Rep Power
    0
    thanks but i need a way to get the password and use it with a form
  6. #4
  7. Psycho Canadian
    Devshed Demi-God (4500 - 4999 posts)

    Join Date
    Jan 2001
    Location
    Canada
    Posts
    4,846
    Rep Power
    635
  8. #5
  9. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2004
    Posts
    4
    Rep Power
    0
    thanx

IMN logo majestic logo threadwatch logo seochat tools logo