From acb451a0316af76deb7bc4ead97b4100387520ce Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Sun, 25 Jun 2000 20:39:34 +0000 Subject: [PATCH] Return unwillingToPerform for step 2 kerberos bind. --- servers/slapd/back-ldbm/bind.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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 -- 2.39.5