dovecot-2.1: lib-auth: Added AUTH_REQUEST_FLAG_SUPPORT_FINAL_RES...

dovecot at dovecot.org dovecot at dovecot.org
Thu Nov 24 00:53:50 EET 2011


details:   http://hg.dovecot.org/dovecot-2.1/rev/a19fb078a259
changeset: 13766:a19fb078a259
user:      Timo Sirainen <tss at iki.fi>
date:      Thu Nov 24 00:51:41 2011 +0200
description:
lib-auth: Added AUTH_REQUEST_FLAG_SUPPORT_FINAL_RESP flag.

diffstat:

 src/lib-auth/auth-client-request.c |  2 ++
 src/lib-auth/auth-client.h         |  4 +++-
 2 files changed, 5 insertions(+), 1 deletions(-)

diffs (26 lines):

diff -r f2608c3a64ee -r a19fb078a259 src/lib-auth/auth-client-request.c
--- a/src/lib-auth/auth-client-request.c	Thu Nov 24 00:51:27 2011 +0200
+++ b/src/lib-auth/auth-client-request.c	Thu Nov 24 00:51:41 2011 +0200
@@ -34,6 +34,8 @@
 	str_append(str, "\tservice=");
 	str_tabescape_write(str, info->service);
 
+	if ((info->flags & AUTH_REQUEST_FLAG_SUPPORT_FINAL_RESP) != 0)
+		str_append(str, "\tfinal-resp-ok");
 	if ((info->flags & AUTH_REQUEST_FLAG_SECURED) != 0)
 		str_append(str, "\tsecured");
 	if ((info->flags & AUTH_REQUEST_FLAG_NO_PENALTY) != 0)
diff -r f2608c3a64ee -r a19fb078a259 src/lib-auth/auth-client.h
--- a/src/lib-auth/auth-client.h	Thu Nov 24 00:51:27 2011 +0200
+++ b/src/lib-auth/auth-client.h	Thu Nov 24 00:51:41 2011 +0200
@@ -11,7 +11,9 @@
 	AUTH_REQUEST_FLAG_SECURED		= 0x01,
 	AUTH_REQUEST_FLAG_VALID_CLIENT_CERT	= 0x02,
 	/* Skip penalty checks for this request */
-	AUTH_REQUEST_FLAG_NO_PENALTY		= 0x04
+	AUTH_REQUEST_FLAG_NO_PENALTY		= 0x04,
+	/* Support final SASL response */
+	AUTH_REQUEST_FLAG_SUPPORT_FINAL_RESP	= 0x08
 };
 
 enum auth_request_status {


More information about the dovecot-cvs mailing list