r12903: Factor out a new routine libnet_RpcConnectDCInfo, to both connect to
authorAndrew Bartlett <abartlet@samba.org>
Fri, 13 Jan 2006 12:52:56 +0000 (12:52 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:51:00 +0000 (13:51 -0500)
commitb15582ed816f3d477f978976f43b82cfa90bf6dc
tree01a6d0f6eaa039fe1262945c7dc2320f942e379a
parent867ae22a9bf4cfe829e405fcbbb9de994505fc30
r12903: Factor out a new routine libnet_RpcConnectDCInfo, to both connect to
the remote sever, and to query it for domain information.

Provide and use this information in the SamSync/Vampire callbacks, to allow a
parallel connection to LDAP, if we are talking to AD.  This allows us
to get at some important attributes not exposed in the old protocol.

With this, we are able to do a all-GUI vampire of a AD domain from
SWAT, including getting all the SIDs, servicePrincipalNames and the
like correct.

Andrew Bartlett
(This used to be commit 918358cee0b4a1b2c9bc9e68d9d53428a634281e)
source4/libnet/libnet_join.c
source4/libnet/libnet_join.h
source4/libnet/libnet_rpc.c
source4/libnet/libnet_rpc.h
source4/libnet/libnet_samdump.c
source4/libnet/libnet_samdump_keytab.c
source4/libnet/libnet_samsync_ldb.c
source4/libnet/libnet_vampire.c
source4/libnet/libnet_vampire.h