]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
ITS#4893 disable descriptor passing for now
authorHoward Chu <hyc@openldap.org>
Wed, 4 Apr 2007 23:56:13 +0000 (23:56 +0000)
committerHoward Chu <hyc@openldap.org>
Wed, 4 Apr 2007 23:56:13 +0000 (23:56 +0000)
libraries/libldap/os-local.c

index 559a6f54758b85c6805240ccdc939625dd98ca92..247ea8006a546c403fa8f6af8af9e1c5b87c4caa 100644 (file)
@@ -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;