From: Kurt Zeilenga Date: Wed, 26 Apr 2000 09:20:25 +0000 (+0000) Subject: A NULL (empty) SASL mechanism should not result in a protocol error. X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~3058 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=92e24534679d3768f6e7cecd1b2ef324b32a1dd7;p=openldap A NULL (empty) SASL mechanism should not result in a protocol error. --- 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; }