[KLUG Members] LDAP & PHP

Adam Williams members@kalamazoolinux.org
04 Aug 2003 16:32:48 -0400


> I'm building an intranet site for one of my clients in PHP/Apache/Mysql.
> I want users to have to logon so I know who they are. They already have an
> LDAP directory used for lan auth. I'm able to connect to the dir and get
> info, however, I can't seem to figure out how to setup authentication.
> Does anybody have pointers on how to do this. I want my users to use the
> same username and password they use to logon to their PC.

Do you want to write the authentication yourself in PHP or use htaccess
files?  Both are "supported" against a Dit.  If you want the latter look
to see if your web server has mod_auth_ldap (or something similair)
installed.