RE: [PEAR] RE : [PEAR] Authenticating against Multiple Servers
| From: | Feroze Md. Arif | Date: | Mon, 01 Dec 2003 14:11:29 +0000 |
| Subject: | RE: [PEAR] RE : [PEAR] Authenticating against Multiple Servers | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-9238@lists.php.net to get a copy of this message | ||
Hello,
Thank you all for your emails.
I think writing the LDAP container using DB_LDAP would be a good option. I
will try it once I am finished with my current project. Due to a lack of
time, I will proceed with my earlier script, I only hope that the script
will not break in the production environment. I am particularly worried
about the return of control from the LoginFunction back to the Foreach loop.
Anyway I hope that it works out. :)
Thanks again.
Best Regards
Feroze
===========================
Jar Jar Binks will be Jedi!
-----Original Message-----
From: LIMBOURG Arnaud [mailto:arnaud.limbourg.prestataire@cegetel.fr]
Sent: Monday, December 01, 2003 6:07 PM
To: 'Lukas Smith'; 'Markus Wolff'; 'Feroze Md. Arif';
pear-general@lists.php.net
Subject: [PEAR] RE : [PEAR] Authenticating against Multiple Servers
I'm answering this one only now because my mail server delivered some of the
mails with a long delay and i got the original mail after those ones.
Anyway, i think writing the ldap container with DB_LDAP should be pretty
straightforward.
I used db_ldap for a script and it is makes easy easy to query ldap. I found
the most difficult to know what to query.
If you feel like it have a look at db_ldap and give it a shot.
Arnaud.
> > 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.