logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

auth_passwd - Change account's password

Description

       If username's password is oldpassword, it is replaced with newpassword.  service identifies which
       so-called "service"'s 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.

Name

       auth_passwd - Change account's password

Notes

Returns

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

See Also

authlib(3)[1], auth_generic_meta(3)[2], auth_login_meta(3)[3], auth_getuserinfo_meta(3)[4],
       auth_enumerate(3)[5].

Synopsis

       #include <courierauth.h>

       intrc=auth_passwd(constchar*service,constchar*username,constchar*oldpassword,constchar*newpassword);

See Also