[dev] Passwd and hooks...
Michael Rubinsky
mike at theupstairsroom.com
Wed Oct 19 15:08:11 PDT 2005
I have a client installation that uses SQL authentication to login to
Horde. Usernames between Horde and the IMAP server that IMP connects
to are the same, except that the email provider requires the full email
address to login. I set up the _username_hook_tobackend() hook to
append the domainname to the Horde username so they can loginto Horde
as 'user' and then (transparently) authenticate to IMAP as
'user at example.com'. The question I have is this - the utility to
change the user's IMAP password is a web-based form and I'm writing a
passwd driver to change the password using this. What I would like to
do is put together a composite driver that would allow changing both
passwords at once - which I know can be done, but I can't figure out if
there is a way at present to have one passwd backend (SQL) use only the
username while the other backend (my new web-based backend) uses the
non-pruned username. I thought of maybe changing the hook to pass an
instance of the the passwd driver?
Any input would be appreciated...
Thanks,
mike
--
The Horde Project (www.horde.org)
mrubinsk at horde.org
More information about the dev
mailing list