Upgrade the librpc and libnet code.
authorabartlet <abartlet@0c0555d6-39d7-0310-84fc-f1cc0bd64818>
Thu, 12 Jan 2006 09:33:49 +0000 (09:33 +0000)
committerabartlet <abartlet@0c0555d6-39d7-0310-84fc-f1cc0bd64818>
Thu, 12 Jan 2006 09:33:49 +0000 (09:33 +0000)
commit1bee41984b661159f24da50f4e744deaa6acb41f
treec0228f6732cadab7fb1f345dca6b7510e016985b
parent93c1d3e890d41f956cc1da7b4a6ac6eb91ddfe73
Upgrade the librpc and libnet code.

In librpc, always try SMB level authentication, even if trying
schannel, but allow fallback to anonymous.  This should better
function with servers that set restrict anonymous.

There are too many parts of Samba that get, parse and modify the
binding parameters.  Avoid the extra work, and add a binding element
to the struct dcerpc_pipe

The libnet vampire code has been refactored, to reduce extra layers
and to better conform with the standard argument pattern.  Also, take
advantage of the new libnet_Lookup code, so we don't require the silly
'password server' smb.conf parameter.

To better support forcing traffic to be sealed for the vampire
operation, the dcerpc_bind_auth() function now takes an auth level
parameter.

Andrew Bartlett

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@12865 0c0555d6-39d7-0310-84fc-f1cc0bd64818
19 files changed:
source/libnet/libnet_join.c
source/libnet/libnet_rpc.c
source/libnet/libnet_samdump.c
source/libnet/libnet_samdump_keytab.c
source/libnet/libnet_samsync_ldb.c
source/libnet/libnet_vampire.c
source/libnet/libnet_vampire.h
source/librpc/rpc/dcerpc.h
source/librpc/rpc/dcerpc_auth.c
source/librpc/rpc/dcerpc_connect.c
source/librpc/rpc/dcerpc_schannel.c
source/librpc/rpc/dcerpc_util.c
source/torture/rpc/netlogon.c
source/torture/rpc/samlogon.c
source/torture/rpc/schannel.c
source/utils/net/net_vampire.c
source/winbind/wb_connect_lsa.c
source/winbind/wb_connect_sam.c
source/winbind/wb_init_domain.c