Part of samba.kcc_utils View In Hierarchy
This is a more specific form of NamingContext class (inheriting from that class) and it identifies unique attributes enumerated in the Partitions such as which nTDSDSAs are cross referenced for replicas
Method | __init__ | Instantiate a NamingContext |
Method | load_partition | No summary |
Method | is_enabled | Returns True if partition is enabled |
Method | is_foreign | Returns True if this is not an Active Directory NC in our forest but is instead something else (e.g. a foreign NC) |
Method | should_be_present | Tests whether this partition should have an NC replica on the target dsa. This method returns a tuple of needed=True/False, ro=True/False, partial=True/False |
Method | __str__ | Debug dump string output of class |
Inherited from NamingContext:
Method | load_nc | Undocumented |
Method | is_schema | Return True if NC is schema |
Method | is_domain | Return True if NC is domain |
Method | is_application | Return True if NC is application |
Method | is_config | Return True if NC is config |
Method | identify_by_basedn | Given an NC object, identify what type is is thru the samdb basedn strings and NC sid value |
Method | identify_by_dsa_attr | No summary |
Parameters | nc_dnstr | NC dn string |
Parameters | samdb | sam database to load partition from |
Parameters | target_dsa | should NC be present on target dsa |