X-Git-Url: http://git.hcoop.net/hcoop/debian/courier-authlib.git/blobdiff_plain/01037b081eab5fb3f208489dc3e052ec3a2c8ba1..4c84ffe42fc2303e8675ff7fffd063e5fe687828:/auth_passwd.html diff --git a/auth_passwd.html b/auth_passwd.html index a274936..8dfa35e 100644 --- a/auth_passwd.html +++ b/auth_passwd.html @@ -6,7 +6,7 @@ information. -->

Name

auth_passwd — Change account's password

Synopsis


#include <courierauth.h>
-

int rc=auth_passwd(const char *service,
 const char *username,
 const char *oldpassword,
 const char *newpassword);
 

DESCRIPTION

+

int rc=auth_passwd(const char *service,
 const char *username,
 const char *oldpassword,
 const char *newpassword);
 

DESCRIPTION

If username's password is oldpassword, it is replaced with newpassword. @@ -14,10 +14,10 @@ If username's password is password is changed; like “imap” or “pop3”. Some Courier authentication library's back-end module can use different passwords for different services. -service is ignored if this is not the case.

RETURNS

+service is ignored if this is not the case.

RETURNS

auth_passwd returns 0 if the password was succesfully changed. -A non-0 error code indicates a failure..

SEE ALSO

+A non-0 error code indicates a failure..

SEE ALSO

authlib(3), auth_generic(3),