1 /*************************************************
2 * Exim - an Internet mail transport agent *
3 *************************************************/
5 /* Copyright (c) University of Cambridge 1995 - 2009 */
6 /* See the file NOTICE for conditions of use and distribution. */
8 /* This file provides support for authentication via the Cyrus SASL pwcheck
9 daemon (whence its name) and the newer saslauthd daemon. */
11 /* Error codes used internally within the authentication functions */
13 /* PWCHECK_OK - auth successful
14 PWCHECK_NO - access denied
15 PWCHECK_FAIL - [temporary] failure */
19 #define PWCHECK_FAIL 2
21 /* Cyrus functions for doing the business. */
23 extern int pwcheck_verify_password(const char *, const char *, const char **);
24 extern int saslauthd_verify_password(const uschar *, const uschar *,
25 const uschar *, const uschar *, const uschar **);
27 /* End of pwcheck.h */