[PHPLIB] making an auth that uses LDAP From: Sam C. Nicholson !! (scion <email protected>)
Date: 10/28/99

Greetings,

I am trying to remove the parts of auth that make reference to
SQL databases as a first step in in making an LDAP-enabled auth.
That is, I'm attempting to hard-wire "kris" and "test" into
constant assignments in the auth.inc. Once that works, I plan
on making calls to ldap.

First off, I'd like to know if anyone else has done this. I
have found the ldap container, as well as the shm (which is
*great* for sessions, IMO). But as I read the code, the
Auth class still depends upon an SQL accessed store for the
auth details. Is that correct?

If that is correct, would someone please comment on the dependencies
in the class. I have run into some (pretty serious looking) un-
initialized variable issues. The end result is that they send
the PHP interpreter off into a compute loop. I'm sure that I
have taken something out that needed to be in for a reason that
was not obvious to me, but will cause me to slap my head when it
is pointed out to me.

Specifically, at what point does the Auth::auth[] array need to
have extant (but not necessarily non-null) "perm", "uid", "username"
elements?

Kind regards,
-sam
-
PHP3 Base Library Mailing List. Send messages to <phplib <email protected>>.
To unsubscribe, send "unsubscribe" to <phplib-request <email protected>> in
the body, not the subject, of your message.