From 92e24534679d3768f6e7cecd1b2ef324b32a1dd7 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Wed, 26 Apr 2000 09:20:25 +0000 Subject: [PATCH] A NULL (empty) SASL mechanism should not result in a protocol error. --- servers/slapd/bind.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servers/slapd/bind.c b/servers/slapd/bind.c index 715ee676cc..711dfb0be5 100644 --- a/servers/slapd/bind.c +++ b/servers/slapd/bind.c @@ -199,7 +199,7 @@ do_bind( Debug( LDAP_DEBUG_ANY, "do_bind: no sasl mechanism provided\n", 0, 0, 0 ); - send_ldap_result( conn, op, rc = LDAP_PROTOCOL_ERROR, + send_ldap_result( conn, op, rc = LDAP_AUTH_METHOD_NOT_SUPPORTED, NULL, "no SASL mechanism provided", NULL, NULL ); goto cleanup; } -- 2.39.5