Author Topic: Cyrus + SASL (saslpasswd2) + Password Plugin  (Read 7684 times)

Offline insaini

  • Newbie
  • *
  • Posts: 1
Cyrus + SASL (saslpasswd2) + Password Plugin
« on: September 08, 2009, 01:15:37 PM »
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