Skip to content
Snippets Groups Projects
Commit 92e24534 authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

A NULL (empty) SASL mechanism should not result in a protocol error.

parent 95092681
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment