Part of samba.kcc_utils View In Hierarchy
Method | __init__ | Undocumented |
Method | __str__ | Debug dump string output of NTDSConnection object |
Method | load_connection | Given a NTDSConnection object with an prior initialization for the object's DN, search for the DN and load attributes from the samdb. |
Method | load_connection_transport | Given a NTDSConnection object which enumerates a transport DN, load the transport information for the connection object |
Method | commit_deleted | Local helper routine for commit_connections() which handles committed connections that are to be deleted from the database database |
Method | commit_added | Local helper routine for commit_connections() which handles committed connections that are to be added to the database |
Method | commit_modified | Local helper routine for commit_connections() which handles committed connections that are to be modified to the database |
Method | set_modified | Undocumented |
Method | set_added | Undocumented |
Method | set_deleted | Undocumented |
Method | is_schedule_minimum_once_per_week | Returns True if our schedule includes at least one replication interval within the week. False otherwise |
Method | is_equivalent_schedule | Returns True if our schedule is equivalent to the input comparison schedule. |
Method | convert_schedule_to_repltimes | Convert NTDS Connection schedule to replTime schedule. |
Method | is_rodc_topology | Returns True if NTDS Connection specifies RODC topology only |
Method | is_generated | Returns True if NTDS Connection was generated by the KCC topology algorithm as opposed to set by the administrator |
Method | is_override_notify_default | Returns True if NTDS Connection should override notify default |
Method | is_use_notify | Returns True if NTDS Connection should use notify |
Method | is_twoway_sync | Returns True if NTDS Connection should use twoway sync |
Method | is_intersite_compression_disabled | Returns True if NTDS Connection intersite compression is disabled |
Method | is_user_owned_schedule | Returns True if NTDS Connection has a user owned schedule |
Method | is_enabled | Returns True if NTDS Connection is enabled |
Method | get_from_dnstr | Return fromServer dn string attribute |
Parameters | tdnstr | transport DN to load |
Parameters | shed | schedule to compare to |
NTDS Connection schedule slots are double the size of the replTime slots but the top portion of the NTDS Connection schedule slot (4 most significant bits in uchar) are unused. The 4 least significant bits have the same (15 minute interval) bit positions as replTimes. We thus pack two elements of the NTDS Connection schedule slots into one element of the replTimes slot If no schedule appears in NTDS Connection then a default of 0x11 is set in each replTimes slot as per behaviour noted in a Windows DC. That default would cause replication within the last 15 minutes of each hour.