X-Git-Url: https://git.hcoop.net/hcoop/debian/courier-authlib.git/blobdiff_plain/ac40fd9eb9d1980c90dc009d526a23ead1ec0f76..8d138742ae268344f406cb75d79aa6bf853f9d87:/auth_passwd.html diff --git a/auth_passwd.html b/auth_passwd.html index 62d53ee..317137c 100644 --- a/auth_passwd.html +++ b/auth_passwd.html @@ -1,12 +1,12 @@ -auth_passwd

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,16 +14,16 @@ 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

-authlib(3), +A non-0 error code indicates a failure..

SEE ALSO

+authlib(3), -auth_generic(3), +auth_generic(3), -auth_login(3), +auth_login(3), -auth_getuserinfo(3), +auth_getuserinfo(3), -auth_enumerate(3).

+auth_enumerate(3).