Roundcube Community Forum

 

Cyrus + SASL (saslpasswd2) + Password Plugin

Started by insaini, September 08, 2009, 01:15:37 PM

Previous topic - Next topic

insaini

I was searching for a hours regarding how to get the Password plugin working with the sasldb stored users/passwords.  

The plugin requires you to compile a C script which will setuid to the Cyrus user in order perform the password update using the binary saslpasswd2

Well it wasnt working.. and many people were receiving 'general failure' including myself..

I finally figured out that I needed to set the suid bit on the saslpasswd binary as well.. and wow it worked!

so for anyone else having issues with the sasl driver... once youve setup the driver.. issue a

chmod 4750 ( i believe or maybe 4550? ) /usr/bin/saslpasswd2

and booyah.. youre good to go

cheers O0

J