From: Kurt Zeilenga Date: Sun, 25 Jun 2000 20:39:34 +0000 (+0000) Subject: Return unwillingToPerform for step 2 kerberos bind. X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~2532 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=acb451a0316af76deb7bc4ead97b4100387520ce;p=openldap Return unwillingToPerform for step 2 kerberos bind. --- diff --git a/servers/slapd/back-ldbm/bind.c b/servers/slapd/back-ldbm/bind.c index 1c72e0eda1..e31a267f69 100644 --- a/servers/slapd/back-ldbm/bind.c +++ b/servers/slapd/back-ldbm/bind.c @@ -237,10 +237,11 @@ ldbm_back_bind( break; case LDAP_AUTH_KRBV42: - send_ldap_result( conn, op, LDAP_SUCCESS, - NULL, NULL, NULL, NULL ); + send_ldap_result( conn, op, LDAP_UNWILLING_TO_PERFORM, + NULL, "Kerberos bind step 2 not supported", + NULL, NULL ); /* stop front end from sending result */ - rc = 1; + rc = LDAP_UNWILLING_TO_PERFORM; goto return_results; #endif