Re: [phplib] LDAP auth, MySQL session? From: mArk.cOLListER (mark <email protected>)
Date: 09/24/00

I have setup authentication and permissions from a ldap server. Just
extend the auth class to do a non-anonymous bind against ldap with a
username and password. I kept all the session information in a postgtres
database, i think the persistant connection to the database would speed
this side of things up, and keep your ldap schema clean as.

        -mark

On 22 Sep 2000, Roy Hoover wrote:

> I have several sites running with authentication and session management running from a MySQL database. This is woorking great. My next project however, involves user accounts already stored in an LDAP directory. One of the design goals is to have only one user database so importing them into MySQL isn't possible. Also, the user list in the LDAP server gets updated every few days.
>
> I would like to be able to use the userid, password, and privileges that are stored in the LDAP directory but still use MySQL for the session management. Has anyone done anything like this?
>
> Is this feasible or would it be better to just put the session management in the LDAP database too? I would like to keep the LDAP structure as clean as possible.
>
> Any input is appreciated.
>
> Roy Hoover
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: phplib-unsubscribe <email protected>
> For additional commands, e-mail: phplib-help <email protected>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>