From 6f49a2404cde1e3e8a20e7ce270e28191ab9037e Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 14 Nov 2005 03:48:55 +0000 Subject: r11714: 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. (This used to be commit c4115293d83a4a6d103e049c5832d4bcdc0a9dbc) --- source4/libcli/raw/clitransport.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'source4') diff --git a/source4/libcli/raw/clitransport.c b/source4/libcli/raw/clitransport.c index b60ea1dc02..83b73f2e30 100644 --- a/source4/libcli/raw/clitransport.c +++ b/source4/libcli/raw/clitransport.c @@ -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; -- cgit