[imp] cached session credential reload
Eric Rostetter
eric.rostetter at physics.utexas.edu
Sat Feb 8 16:06:58 PST 2003
Quoting Hammad <hammad at brisksolutions.com>:
> Yes, I know there is a password module for that but last time I checked
Which was when?
> we
> suppose to install popasswd or some other things for it to work.
It supports multiple methods, with poppassd only being one of them.
> You have to
> open some ports too in firewall if I understood correctly.
Depends on your setup and the driver.
> That was the
> security issue for me.
Well, there is a vpopmail driver in it, but I can't say if it would work
for you or not.
> The way I did is just add few lines of code for password_change under
> 'special'
> group, link my password_change in Options and call already programmed script
> which comes with vpopmail to change the password in database. The whole
> things
> is about less then 20 lines of code and works great. Just had problem with
> the
> cached password thing.
If you want to submit your code for consideration to be included in either
Horde or Passwd, feel free to do so.
And as a note, you can setup the passwd module to work from a link in the
preferences, but it isn't documented as to how you would do that. Of
course it will still be more than 20 lines of code ;)
> I'll download that module you mentioned and look at
> the
> code.
Okay.
> Someone mentioned in IMP list that the following line will take care of the
> cached password but its not working for me.
>
> Auth::setAuth($email, array('password' => $newpasswd));
You need to check for IMP authentication as well as horde authentication.
The above only changes the Horde auth, not the IMP auth.
Plus there are some more details, which rarely matter but could matter
in some rare cases, you should consider (transparent auth, etc).
This really should be on the horde (or sork) list as it really isn't
an IMP question. Please send any future postings to one of those lists.
--
Eric Rostetter
The Department of Physics
The University of Texas at Austin
Why get even? Get odd!
More information about the imp
mailing list