r11714: put in a workaround for a winbind problem volker asked me about. The
authorAndrew Tridgell <tridge@samba.org>
Mon, 14 Nov 2005 03:48:55 +0000 (03:48 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:46:17 +0000 (13:46 -0500)
problem is that winbind currently relies on being able to receive on a
smb connection from within the same connections receive routine. This
means it relies on a non-serialised connection, so disable the
serialisation until winbind is fixed.

The correct fix will be to get rid of full_request() in dcerpc.c so
that bind requests can be fully async.
(This used to be commit c4115293d83a4a6d103e049c5832d4bcdc0a9dbc)

source4/libcli/raw/clitransport.c

index b60ea1dc02d2e9946abf0c4bb5bf9bb78d3550fa..83b73f2e302d0bf599bf4017923e15bed753c14a 100644 (file)
@@ -122,8 +122,11 @@ struct smbcli_transport *smbcli_transport_init(struct smbcli_socket *sock,
                                                    transport);
 
        packet_set_fde(transport->packet, transport->socket->event.fde);
+#if 0
+       /* winbind relies on non-serialised connections for dcerpc bind. Once that is
+          fixed we can go back to serialised connections */
        packet_set_serialise(transport->packet);
-
+#endif
        talloc_set_destructor(transport, transport_destructor);
 
        return transport;