mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-18 18:18:06 -05:00
ITS#4893 disable descriptor passing for now
This commit is contained in:
parent
6bf22de007
commit
cf1173728a
1 changed files with 4 additions and 0 deletions
|
|
@ -191,6 +191,7 @@ ldap_pvt_connect(LDAP *ld, ber_socket_t s, struct sockaddr_un *sa, int async)
|
|||
*/
|
||||
sendcred:
|
||||
{
|
||||
#if 0 /* ITS#4893 disable all of this for now */
|
||||
int fds[2];
|
||||
if (pipe(fds) == 0) {
|
||||
/* Abandon, noop, has no reply */
|
||||
|
|
@ -234,6 +235,9 @@ sendcred:
|
|||
close(fds[0]);
|
||||
close(fds[1]);
|
||||
}
|
||||
# else
|
||||
write( s, abandonPDU, sizeof( abandonPDU ));
|
||||
#endif /* ITS#4893 */
|
||||
}
|
||||
#endif
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue