mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-01 12:39:35 -05:00
Unbind should not return a result
This commit is contained in:
parent
fafbe5878b
commit
fc630ea1f8
1 changed files with 0 additions and 4 deletions
|
|
@ -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 a new issue