delete using saslpasswd2 and sql?
M.Kondrin
mkondrin at hppi.troitsk.ru
Wed Nov 23 17:34:01 EST 2005
Bill Kearney wrote:
>Hello,
>
>Is there a way to have saslpasswd2 delete a user from a sql database?
>
>In looking at the plugins/sql.c code there doesn't appear to be a way to set
>a sql_delete: statement in /usr/lib/sasl2/saslpasswd.conf. Is this correct?
>
>If so, then how would saslpasswd2 -d function? Right now it appears to be
>calling for an sql UPDATE instead of a DELETE.
>
>Thanks,
>-Bill Kearney
>
>
Hello!
saslpasswd2 is used only to set passwords in sasldb database. Strictly
speaking this is not a SQL database (even not a relational one) but flat
BerkleyDB. To manipulate passwords stored in MySQL you can use any mysql
client.
M.Kondrin
More information about the Cyrus-sasl
mailing list