]> git.sur5r.net Git - openldap/commitdiff
A NULL (empty) SASL mechanism should not result in a protocol error.
authorKurt Zeilenga <kurt@openldap.org>
Wed, 26 Apr 2000 09:20:25 +0000 (09:20 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Wed, 26 Apr 2000 09:20:25 +0000 (09:20 +0000)
servers/slapd/bind.c

index 715ee676cc3830eed53b38375a44524261576696..711dfb0be5b398952cb39835742b06ee91517c80 100644 (file)
@@ -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;
                }