s3: Add cli_connect_nb
authorVolker Lendecke <vl@samba.org>
Thu, 26 May 2011 20:00:07 +0000 (22:00 +0200)
committerVolker Lendecke <vl@samba.org>
Sat, 28 May 2011 08:29:53 +0000 (10:29 +0200)
commitdefcd409a38e0c9c624424a47becb45cb792ce76
tree94832174e255eb46ba93e9a36bf09a289e707bbf
parent51b43a4c3e87031c8be8405ac6e5182db21320ba
s3: Add cli_connect_nb

This builds up a cli_state until after the netbios session setup. It makes use
of smbsock_connect, so it connects to 139 and 445 simultaneously. This improves
the connection to Windows 2008 which does not listen on *SMBSERVER anymore.
source3/libsmb/cliconnect.c
source3/libsmb/proto.h