Re: Authenticating against Multiple Servers

From: Date: Sun, 30 Nov 2003 15:38:32 +0000
Subject: Re: Authenticating against Multiple Servers
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-9222@lists.php.net to get a copy of this message
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. CU Markus

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