|
Qsmtp
0.30dev
|
function definitions for Qsmtpd's AUTH backend API More...
Go to the source code of this file.
Functions | |
| int | auth_backend_setup (int argc, const char **argv) |
| int | auth_backend_execute (const struct string *user, const struct string *pass, const struct string *resp) |
| authenticate a user with the given credentials More... | |
Variables | |
| const char * | tempnoauth |
function definitions for Qsmtpd's AUTH backend API
| int auth_backend_execute | ( | const struct string * | user, |
| const struct string * | pass, | ||
| const struct string * | resp | ||
| ) |
authenticate a user with the given credentials
| user | user id |
| pass | password |
| resp | additional response (e.g. for CRAM authentication) |
| <0 | processing error (negative error code is returned) |
| 0 | user successfully authenticated |
| 1 | authentication error (i.e. invalid user/pass combination) |
resp may be passed as NULL if no additional information has been collected
1.8.10