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)
commit918358cee0b4a1b2c9bc9e68d9d53428a634281e
tree14d84206b4222d44e34d85897562bc07662ec352
parentc2eca05074ee7af6e3ddffc25dac5a939bdd7e9a
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
source/libnet/libnet_join.c
source/libnet/libnet_join.h
source/libnet/libnet_rpc.c
source/libnet/libnet_rpc.h
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