Forum Moderators: coopster

Message Too Old, No Replies

PHP and Active Directory

         

asantos

1:01 am on Oct 5, 2006 (gmt 0)

10+ Year Member



Hi,
i already have a CMS that has its own user table in MySQL.

A customer wants me to use their own Active Directory user list in order to login to the php system. So, now i have to connect the app to the Active Directory.

1) What are the neccesary steps?
2) How can i connect from php to active directory in order to check user/password consistency?

supermanjnk

11:46 am on Oct 5, 2006 (gmt 0)

10+ Year Member



You need to make sure that you have LDAP installed on the server, then you can use the PHP LDAP functions to query active directory.

asantos

4:40 pm on Oct 6, 2006 (gmt 0)

10+ Year Member



Does it work well with WINDOWS Active Directory?

coopster

7:47 pm on Oct 9, 2006 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Yes, just be sure to note the Windows-specific notes on installation/setup for the PHP LDAP Functions [php.net].

asantos

11:57 pm on Oct 11, 2006 (gmt 0)

10+ Year Member



Does it also work with Windows normal users?