mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-30 13:30:57 +08:00
Unbind should not return a result
This commit is contained in:
parent
fafbe5878b
commit
fc630ea1f8
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user