s3:rpcclient: close the connection if setting up the netlogon secure channel fails
authorStefan Metzmacher <metze@samba.org>
Fri, 29 Nov 2013 07:45:38 +0000 (08:45 +0100)
committerStefan Metzmacher <metze@samba.org>
Mon, 23 Dec 2013 08:18:15 +0000 (09:18 +0100)
commit2fae806550f3355298541a344b217bf810bf92e4
treeb0becfc6d45f5f2a34212ed2a47bd024e098828f
parent0e46205ff83d137ca486868e4376b258b6dfa1a2
s3:rpcclient: close the connection if setting up the netlogon secure channel fails

This is based on a patch from  Garming Sam <garming@catalyst.net.nz>.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source3/rpcclient/rpcclient.c