s.j.dc_join(object) : class documentation

Part of samba.join View In Hierarchy

perform a DC join
Method __init__ Undocumented
Method del_noerror Undocumented
Method cleanup_old_join remove any DNs from a previous join
Method find_dc find a writeable DC for the given domain
Method get_behavior_version Undocumented
Method get_dnsHostName Undocumented
Method get_domain_name get netbios name of the domain from the partitions record
Method get_forest_domain_name get netbios name of the domain from the partitions record
Method get_parent_partition_dn get the parent domain partition DN from parent DNS name
Method get_naming_master get the parent domain partition DN from parent DNS name
Method get_mysid get the SID of the connected user. Only works with w2k8 and later, so only used for RODC join
Method dn_exists check if a DN exists
Method add_krbtgt_account RODCs need a special krbtgt account
Method drsuapi_connect make a DRSUAPI connection to the naming master
Method create_tmp_samdb create a temporary samdb object for schema queries
Method build_DsReplicaAttribute build a DsReplicaAttributeCtr object
Method DsAddEntry add a record via the DRSUAPI DsAddEntry call
Method join_add_ntdsdsa add the ntdsdsa object
Method join_add_objects add the various objects needed for the join
Method join_add_objects2 add the various objects needed for the join, for subdomains post replication
Method join_provision provision the local SAM
Method join_provision_own_domain provision the local SAM
Method join_replicate replicate the SAM
Method send_DsReplicaUpdateRefs Undocumented
Method join_finalise finalise the join, mark us synchronised and setup secrets db
Method join_setup_trusts provision the local SAM
Method do_join Undocumented
def __init__(ctx, server=None, creds=None, lp=None, site=None, netbios_name=None, targetdir=None, domain=None, machinepass=None):
Undocumented
def del_noerror(ctx, dn, recursive=False):
Undocumented
def cleanup_old_join(ctx):
remove any DNs from a previous join
def find_dc(ctx, domain):
find a writeable DC for the given domain
def get_behavior_version(ctx):
Undocumented
def get_dnsHostName(ctx):
Undocumented
def get_domain_name(ctx):
get netbios name of the domain from the partitions record
def get_forest_domain_name(ctx):
get netbios name of the domain from the partitions record
def get_parent_partition_dn(ctx):
get the parent domain partition DN from parent DNS name
def get_naming_master(ctx):
get the parent domain partition DN from parent DNS name
def get_mysid(ctx):
get the SID of the connected user. Only works with w2k8 and later, so only used for RODC join
def dn_exists(ctx, dn):
check if a DN exists
def add_krbtgt_account(ctx):
RODCs need a special krbtgt account
def drsuapi_connect(ctx):
make a DRSUAPI connection to the naming master
def create_tmp_samdb(ctx):
create a temporary samdb object for schema queries
def build_DsReplicaAttribute(ctx, attrname, attrvalue):
build a DsReplicaAttributeCtr object
def DsAddEntry(ctx, recs):
add a record via the DRSUAPI DsAddEntry call
def join_add_ntdsdsa(ctx):
add the ntdsdsa object
def join_add_objects(ctx):
add the various objects needed for the join
def join_add_objects2(ctx):
add the various objects needed for the join, for subdomains post replication
def join_provision(ctx):
provision the local SAM
def join_provision_own_domain(ctx):
provision the local SAM
def join_replicate(ctx):
replicate the SAM
def send_DsReplicaUpdateRefs(ctx, dn):
Undocumented
def join_finalise(ctx):
finalise the join, mark us synchronised and setup secrets db
def join_setup_trusts(ctx):
provision the local SAM
def do_join(ctx):
Undocumented
API Documentation for Samba, generated by pydoctor at 2011-12-08 20:23:28.