Author: tridge
Date: 2005-11-14 03:48:55 +0000 (Mon, 14 Nov 2005)
New Revision: 11714

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=11714

Log:

put in a workaround for a winbind problem volker asked me about. The
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.

Modified:
   branches/SAMBA_4_0/source/libcli/raw/clitransport.c


Changeset:
Modified: branches/SAMBA_4_0/source/libcli/raw/clitransport.c
===================================================================
--- branches/SAMBA_4_0/source/libcli/raw/clitransport.c 2005-11-14 03:45:57 UTC 
(rev 11713)
+++ branches/SAMBA_4_0/source/libcli/raw/clitransport.c 2005-11-14 03:48:55 UTC 
(rev 11714)
@@ -122,8 +122,11 @@
                                                    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;

Reply via email to