-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Aaron Bennett wrote:
> Hello,
>
> I'm not the world greatest php developer, but I do
know one end of a
> "<?" from the other. That being given,
I'm in the process of trying to
> extend auth.php to add a custom authentication method.
What I need is:
>
> 1. Try to auth via ldap.
> 2. If it fails, try to auth via imap. If that works,
set the ldap
> password to be the same as the one that worked against
imap, then
> continue with the login.
I'm in the process of overhauling the authentication system
right now, currently
in the stats branch, and I need to extract it to its own
branch to get ready to
merge. See my post about a week ago.
It will allow you do fallback authenticators, and you could
easily copy the ldap
module to your own and make a small modification to update
the password.
As for your debugging techniques, we use smarty templates,
so you can't just
output html directly (unless you just kill the program right
there and then).
You have to assign it to a smarty variable and then
reference that from within
the appropriate template.
- --
David Morton
Maia Mailguard - http://www.maiamailguard
.com
Morton Software Design and Consulting - http://www.dgrmm.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFEoCtHUy30ODPkzl0RAk6zAKDXyxK9cVxIGMNmSzwEWf7ztfVOJwCe
McMb
ZZVU9WU9hzK0J3Ir9ks8JhI=
=a0xt
-----END PGP SIGNATURE-----
_______________________________________________
Maia-users mailing list
Maia-users renaissoft.com
http://www.renaissoft.com/mailman/listinfo/maia-users
|