s3: Add nb_trans_send/recv
commit063f50a0c06fe268c8ec38d91946fa3128adc665
authorVolker Lendecke <vl@samba.org>
Tue, 4 Jan 2011 17:22:38 +0000 (4 18:22 +0100)
committerVolker Lendecke <vl@samba.org>
Fri, 7 Jan 2011 19:16:03 +0000 (7 20:16 +0100)
tree965fb1c1b1119acec3626fe00b0bada21706abcb
parent9abeeae58a259a7a623176f2af4e44ce5252b2b2
s3: Add nb_trans_send/recv

This does an async port 137 transaction: It connects to /tmp/.nmbd/unexpected,
sends out the query and then waits for a reply on both the socket as well as
data from /tmp/.nmbd/unexpected. Every packet is passed through a validator. If
that returns true, the packet received is finally accepted.
source3/libsmb/namequery.c