diff options
author | Andrew Tridgell <tridge@samba.org> | 2005-11-14 03:48:55 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:46:17 -0500 |
commit | 6f49a2404cde1e3e8a20e7ce270e28191ab9037e (patch) | |
tree | c4119c03e0f7c89176050f558e4e47ac8f08fc07 /source4/libcli | |
parent | 614950aed35353854019db5cccec5b3154643ca3 (diff) | |
download | samba-6f49a2404cde1e3e8a20e7ce270e28191ab9037e.tar.gz samba-6f49a2404cde1e3e8a20e7ce270e28191ab9037e.tar.bz2 samba-6f49a2404cde1e3e8a20e7ce270e28191ab9037e.zip |
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)
Diffstat (limited to 'source4/libcli')
-rw-r--r-- | source4/libcli/raw/clitransport.c | 5 |
1 files changed, 4 insertions, 1 deletions
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; |