s.k.Site(object) : class documentation

Part of samba.kcc_utils View In Hierarchy

An individual site object discovered thru the configuration naming context. Contains all DSAs that exist within the site
Method __init__ Undocumented
Method load_site Loads the NTDS Site Settions options attribute for the site as well as querying and loading all DSAs that appear within the site.
Method load_all_dsa Discover all nTDSDSA thru the sites entry and instantiate and load the DSAs. Each dsa is inserted into the dsa_table by dn string.
Method get_dsa_by_guidstr Undocumented
Method get_dsa Return a previously loaded DSA object by consulting the sites dsa_table for the provided DSA dn string
Method select_istg No summary
Method is_intrasite_topology_disabled Returns True if intra-site topology is disabled for site
Method is_intersite_topology_disabled Returns True if inter-site topology is disabled for site
Method is_random_bridgehead_disabled Returns True if selection of random bridgehead is disabled
Method is_detect_stale_disabled Returns True if detect stale is disabled for site
Method is_cleanup_ntdsconn_disabled Returns True if NTDS Connection cleanup is disabled for site
Method same_site Return True if dsa is in this site
Method __str__ Debug dump string output of class
def __init__(self, site_dnstr):
Undocumented
def load_site(self, samdb):
Loads the NTDS Site Settions options attribute for the site as well as querying and loading all DSAs that appear within the site.
def load_all_dsa(self, samdb):
Discover all nTDSDSA thru the sites entry and instantiate and load the DSAs. Each dsa is inserted into the dsa_table by dn string.
def get_dsa_by_guidstr(self, guidstr):
Undocumented
def get_dsa(self, dnstr):
Return a previously loaded DSA object by consulting the sites dsa_table for the provided DSA dn string
ReturnsNone if DSA doesn't exist
def select_istg(self, samdb, mydsa, ro):
Determine if my DC should be an intersite topology generator. If my DC is the istg and is both a writeable DC and the database is opened in write mode then we perform an originating update to set the interSiteTopologyGenerator attribute in the NTDS Site Settings object. An RODC always acts as an ISTG for itself.
def is_intrasite_topology_disabled(self):
Returns True if intra-site topology is disabled for site
def is_intersite_topology_disabled(self):
Returns True if inter-site topology is disabled for site
def is_random_bridgehead_disabled(self):
Returns True if selection of random bridgehead is disabled
def is_detect_stale_disabled(self):
Returns True if detect stale is disabled for site
def is_cleanup_ntdsconn_disabled(self):
Returns True if NTDS Connection cleanup is disabled for site
def same_site(self, dsa):
Return True if dsa is in this site
def __str__(self):
Debug dump string output of class
API Documentation for Samba, generated by pydoctor at 2012-03-06 23:17:58.