|
|
@ -8,7 +8,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
/* INSTALLING:
|
|
|
|
/* INSTALLING:
|
|
|
|
gcc -o chgsaslpasswd chgsaslpasswd.c
|
|
|
|
gcc -o chgsaslpasswd chgsaslpasswd.c
|
|
|
|
chown root.apache chgsaslpasswd
|
|
|
|
chown cyrus.apache chgsaslpasswd
|
|
|
|
strip chgsaslpasswd
|
|
|
|
strip chgsaslpasswd
|
|
|
|
chmod 4550 chgsaslpasswd
|
|
|
|
chmod 4550 chgsaslpasswd
|
|
|
|
*/
|
|
|
|
*/
|
|
|
@ -22,6 +22,8 @@ main(int argc, char *argv[])
|
|
|
|
if ((rc != 0) || (cc != 0))
|
|
|
|
if ((rc != 0) || (cc != 0))
|
|
|
|
{
|
|
|
|
{
|
|
|
|
fprintf(stderr, "__ %s: failed %d %d\n", argv[0], rc, cc);
|
|
|
|
fprintf(stderr, "__ %s: failed %d %d\n", argv[0], rc, cc);
|
|
|
|
exit(1);
|
|
|
|
return 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|