]> git.sur5r.net Git - openldap/commitdiff
Unbind should not return a result
authorKurt Zeilenga <kurt@openldap.org>
Thu, 30 Nov 2000 20:27:27 +0000 (20:27 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Thu, 30 Nov 2000 20:27:27 +0000 (20:27 +0000)
servers/slapd/back-shell/unbind.c

index 8cbd1116b988d21785f45ee85efda9435aa92aca..9621de1ab36380c9167c26eebb3a31a7ad0fd9d7 100644 (file)
@@ -26,15 +26,11 @@ shell_back_unbind(
        FILE                    *rfp, *wfp;
 
        if ( si->si_unbind == NULL ) {
-               send_ldap_result( conn, op, LDAP_UNWILLING_TO_PERFORM, NULL,
-                   "unbind not implemented", NULL, NULL );
                return 0;
        }
 
        if ( (op->o_private = (void *) forkandexec( si->si_unbind, &rfp, &wfp ))
            == (void *) -1 ) {
-               send_ldap_result( conn, op, LDAP_OPERATIONS_ERROR, NULL,
-                   "could not fork/exec", NULL, NULL );
                return 0;
        }