search for: auth_result

Displaying 7 results from an estimated 7 matches for "auth_result".

2003 Aug 09
0
Timing attacks and owl-always-auth
...28 diff -u -p -r1.28 auth-passwd.c --- auth-passwd.c 2003/07/22 13:35:22 1.28 +++ auth-passwd.c 2003/08/09 04:45:13 @@ -43,9 +43,17 @@ RCSID("$OpenBSD: auth-passwd.c,v 1.28 20 #include "servconf.h" #include "auth.h" - extern ServerOptions options; +int auth_ok; +int +auth_result(int result) +{ + if (result == 0) + auth_ok = 0; + return auth_ok; +} + /* * Tries to authenticate the user using password. Returns true if * authentication succeeds. @@ -54,42 +62,52 @@ int auth_password(Authctxt *authctxt, const char *password) { struct passwd * pw = authctxt->pw; +...
2004 Jan 01
1
[PATCH] Add winbind-backed NTLMSSP support to Cyrus-SASL
...f(ntlm_response_t); +static int ntlm_new_client_helper(struct ntlm_context *conn_context, + sasl_client_params_t *params, + sasl_interact_t **prompt_need, + sasl_out_params_t *oparams) +{ + struct ntlm_context *context = + (struct ntlm_context *)conn_context; + + int auth_result = SASL_OK; + int domain_result = SASL_OK; - if (!lm_resp || !nt_resp) { - SETERROR(utils, "need NTLM responses"); - return SASL_FAIL; - } + int pass_result = SASL_OK; + int result; - *outlen = sizeof(ntlm_response_t) + 2*NTLM_RESP_LENGTH + - 2*xstrlen(domain) + 2*xstrlen(use...
2004 Aug 06
4
No Duplicate Users - Patch
...+ if (!strcmp(client->username, username)) { + avl_tree_unlock(source->client_tree); + return 1; + } + } + client_node = avl_get_next(client_node); + } + + avl_tree_unlock(source->client_tree); + return 0; + +} + auth_result auth_check_client(source_t *source, client_t *client) { auth_t *authenticator = source->authenticator; @@ -71,7 +95,7 @@ password = tmp+1; result = authenticator->authenticate( - authenticator, username, password); + authenticator, so...
2010 Mar 05
2
Bug in driver-mysql.c + fix
...that dovecot look for either ''password_query'' as above, or ''password_check''. password_check would NOT return a password, but would be given %o and determine itself if the password is correct. It would return the other values (user, userdb_home, ...) and auth_result that would encode success/retry/fail (0, 1, 2 - or maybe more structured [**]) and auth_reason some human readable reason. The ''nologin'' value encodes some of this. The motivation for this is that my stored procedure will record the number of successive login failures an...
2017 Aug 24
3
dmarc report faild ?
...<policy_evaluated> <disposition>none</disposition> <dkim>pass</dkim> <spf>fail</spf> </policy_evaluated> </row> <identifiers> <header_from>caloro.ch</header_from> </identifiers> <auth_results> <spf> <domain>dovecot.org</domain> <result>unknown</result> </spf> <dkim> <domain>caloro.ch</domain> <result>pass</result> </dkim> </auth_results> </record> </feedbac...
2005 Dec 21
15
Samba 3.0.21 Available for Download
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 =============================================================== Done with Fish. -- John Laroche (Adaptation) =============================================================== Release Announcements ===================== This is the latest stable release of Samba. This is the version
2005 Dec 21
15
Samba 3.0.21 Available for Download
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 =============================================================== Done with Fish. -- John Laroche (Adaptation) =============================================================== Release Announcements ===================== This is the latest stable release of Samba. This is the version