changeset 19702:915be2e91a1f

lib-sasl: Don't require authid for EXTERNAL mechanism, since we're not really authenticating.
author Timo Sirainen <timo.sirainen@dovecot.fi>
date Wed, 03 Feb 2016 12:29:29 +0200
parents 72f2a1b6f6ae
children 508490be0db3
files src/lib-sasl/mech-external.c
diffstat 1 files changed, 0 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/src/lib-sasl/mech-external.c	Wed Feb 03 12:26:10 2016 +0200
+++ b/src/lib-sasl/mech-external.c	Wed Feb 03 12:29:29 2016 +0200
@@ -37,11 +37,6 @@
 		(struct external_dsasl_client *)_client;
 	const char *username;
 
-	if (_client->set.authid == NULL) {
-		*error_r = "authid not set";
-		return -1;
-	}
-
 	if (_client->set.authzid != NULL)
 		username = _client->set.authzid;
 	else if (_client->set.authid != NULL)