summaryrefslogtreecommitdiff
path: root/source4/libnet/libnet_samsync_ldb.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-10-04 00:43:16 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:39:21 -0500
commita872005c1c725e571e7da263d75e634affd1f87d (patch)
tree67faa6f4cea794ec6bbcdb2d8f6efb44177c242c /source4/libnet/libnet_samsync_ldb.c
parente0040ff537f080a77ceb041915f6d04ac138955c (diff)
downloadsamba-a872005c1c725e571e7da263d75e634affd1f87d.tar.gz
samba-a872005c1c725e571e7da263d75e634affd1f87d.tar.bz2
samba-a872005c1c725e571e7da263d75e634affd1f87d.zip
r10699: fixed the dcerpc code so that you can shutdown the pipe safely from
within a callback on the pipe. This should fix a problem volker encountered with winbind. The fix invoolves making the recv_data handler free the memory for a packet, instead of having the transport layer free it after calling recv_data. When the transport layer freed it, it had no way of knowing if the callback had shutdown the pipe, so it had no way of knowing if it could safely use the pointer. Also changed the pipe shutdown hook for the smb transport to use an async SMB close. This ensures that when you shutdown the pipe, you don't block waiting for the server to ack the close of the pipe fnum. (This used to be commit c87d7f580e39245db181605f50883de07dd9632e)
Diffstat (limited to 'source4/libnet/libnet_samsync_ldb.c')
0 files changed, 0 insertions, 0 deletions