RE: [PEAR] Authenticating against Multiple Servers

From: Date: Sun, 30 Nov 2003 15:34:44 +0000
Subject: RE: [PEAR] Authenticating against Multiple Servers
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-9223@lists.php.net to get a copy of this message
> From: Markus Wolff [mailto:wolff@21st.de] > Sent: Sunday, November 30, 2003 4:39 PM > Feroze Md. Arif wrote: > > Hi, > > > > I am building an application that needs to be authenticated against > Multiple > > servers (two MySQL databases & two LDAP Servers). I have written a > script > > that uses the PEAR AUTH package. I am not very satisfied with the code > > though it works. I am pasting the code below for your comments. I > would > > appreciate it if anyone could suggest a more elegant approach. > > Well, I don't know of a more elegant approach using PEAR::Auth, but I > have good news and bad news for you anyway... > > Good: > What you want to do is a built-in feature of the LiveUser package. > All you need to do is put all three servers in the configuration > file and you're good to go. > > Bad: > Unfortunately, there is no LDAP container available for LiveUser at > the moment, as none of the LiveUser developers has experience with > that. You might be able to use the PEAR::Auth wrapper that Bjoern > has contributed to use Auth's LDAP container ... but there are no > guarantees that this will work. Just as an FYI I probably broke the PEAR::Auth container in LiveUser CVS. Regards, Lukas

« previous php.pear.general (#9223) next »