[geeklog-devtalk] Re: ldap solution
Tony Bibbs
tony at tonybibbs.com
Fri Apr 2 14:15:37 EST 2004
If I do this I would simply implement a factory pattern and then you
could, in theory, add any auth method you want (e.g. /etc/passwd, ldap,
imap, etc). All configurable from teh config.php. Only thing that makes
that a lot of work is handling account creation.
--Tony
On Fri, 2 Apr 2004, steVe wrote:
> so spake geeklog-devel-request at lists.geeklog.net [2004.04.02 @ 12:03]:
> > Tony,
> >
> > >Our auth system works the same way that Passport, Project Liberty, etc
> > >does and the only way I could get this to work was to remove all the
> > >functions in public_html/users.php (except for the profile function) and
> > >put them in lib-acccount.php. In this manner I now have access to teh
> > >fucntions I need access to without compromising the way users.php
> > >expects to work.
> >
> > Any chance this could be turned into a generalized solution to allow all
> > sorts of "external" authentication schemes?
> >
> > For example, here's someone looking for an LDAP solution:
> > <http://www.geeklog.net/forum/viewtopic.php?forum=8&showtopic=32761>
> >
> > bye, Dirk
>
> although completely possible to make an auth-ldap.class.php interface
> for ldapped networks, it would seem more useful for said networks to
> simply use apache's mod_ldap or similar. in other words, .htaccess
> rather than db lookups and php interpreted code. especially since most
> ldapped networks are rather large, it seems overkill to write php code
> to do what apache et al can do already.
>
> just a thought.
> --
> *------------------------*
> // ste\/e || 0x44288D05 //
> *------------------------*
>
--
Tony Bibbs "I guess you have to remember that those who don't
tony at tonybibbs.com hunt or fish often see those of us who do as
harmlessly strange and sort of amusing. When you
think about it, that might be a fair assessment."
--Unknown
More information about the geeklog-devtalk
mailing list