[Web-cyradm] No more connection after changing admin password

Mikko Toivola mikko.cwa at pikkasenkuti.com
Thu Oct 26 14:32:12 CEST 2006


Hello yourself, big G.

I'm not completely sure, but I don't think the web-interface  
authenticates the admin user via PAM. Only email services (cyrus,  
postfix if configured so) authenticate through PAM.

Check file lib/crypto.php

there's function named "check", put this line to be the first line in  
that function:

return true;

That way it let's you in no matter the username. Now you can change  
the  password. Remember to comment it out after testing. I used it to  
debug some encryption problems I had in the beginning. I'd guess you  
have some mismatch in the encryption too. I use $CRYPT="crypt" in my  
setup, because I thought PAM would require it to be used, don't know  
if I'm right about that one.

  Mikko


On 26.10.2006, at 15:00, Rachid BOUKHARI wrote:

> Hello Gurus,
>
> I could no more connect to my web-cyradm server after changing  
> 'admin' password from the GUI.
>
> I've tried to make  changes directly from mysql console, no result,  
> it seems to be a PAM problem, isn't it ?
>
> Any advice please
>
> Regards,
>
> Rachid,
> _______________________________________________
> This mailing list is hosted and supported
> by bit-heads GmbH | http://www.bit-heads.ch
>
> _______________________________________________
> Web-cyradm mailing list
> Web-cyradm at web-cyradm.org
> http://www.web-cyradm.org/mailman/listinfo/web-cyradm



More information about the Web-cyradm mailing list