]> git.sur5r.net Git - openldap/commitdiff
Return unwillingToPerform for step 2 kerberos bind.
authorKurt Zeilenga <kurt@openldap.org>
Sun, 25 Jun 2000 20:39:34 +0000 (20:39 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Sun, 25 Jun 2000 20:39:34 +0000 (20:39 +0000)
servers/slapd/back-ldbm/bind.c

index 1c72e0eda18c8208ff062db0e796d2ecc3ab3af5..e31a267f6972d0ef0492deb5737444883ea45dc6 100644 (file)
@@ -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