[Web-cyradm] squirrelmail change password plugin
Christian Niles
christian at unit12.net
Sun Apr 18 21:02:30 CEST 2004
I'm not sure if you already figured this out, but the
change_mysql_password plugin is what I got working. You'll need to
update it with proper SQL settings that match the webcyradm database.
best,
christian.
On Apr 16, 2004, at 9:11 AM, apellido wrote:
> Hello does anyone sucessfully install squirrelmail plugin
> (chg_sasl_passwd). i got this error when trying to compile
> chgsaslpasswd.c .
> Here's the error:
>
> chgsaslpasswd.c:4: syntax error before `UID'
> chgsaslpasswd.c: In function `main':
> chgsaslpasswd.c:11: `UID' undeclared (first use in this function)
> chgsaslpasswd.c:11: (Each undeclared identifier is reported only once
> chgsaslpasswd.c:11: for each function it appears in.)
> chgsaslpasswd.c:12: `CMD' undeclared (first use in this function)
>
>
> here's the code:
>
> #include <stdio.h>
> #include <unistd.h>
>
> define UID 12346
> define CMD "/usr/local/sbin/saslpasswd2"
>
> main(int argc, char *argv[])
> {
> int rc,cc;
>
> cc = setuid(UID);
> rc = execvp(CMD, argv);
> if ((rc != 0) || (cc != 0))
> {
> fprintf(stderr,"__ %s: failed %d
> %d\n",argv[0],rc,cc);
> exit(1);
> }
> }
>
>
> i just uncomment the
>
> define UID 12346
> define CMD "/usr/local/sbin/saslpasswd2"
>
>
>
> thanks ...
> _______________________________________________
> 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