From: Kurt Zeilenga Date: Fri, 13 Oct 2000 05:28:23 +0000 (+0000) Subject: Return authMethodNotSupported not authUnknown for unknown X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~1757 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=2b2ee1ccbdc38924d1386bfd31fd354107610e3f;p=openldap Return authMethodNotSupported not authUnknown for unknown bind authentication method --- diff --git a/servers/slapd/bind.c b/servers/slapd/bind.c index 4fd61bc8f9..b22de77f7c 100644 --- a/servers/slapd/bind.c +++ b/servers/slapd/bind.c @@ -319,7 +319,7 @@ do_bind( #endif } else { - rc = LDAP_AUTH_UNKNOWN; + rc = LDAP_AUTH_METHOD_NOT_SUPPORTED; text = "unknown authentication method"; send_ldap_result( conn, op, rc,