ms-active-directory · PyPI
pypi.org › project › ms-active-directoryDec 09, 2021 · from ms_active_directory import ADDomain domain = ADDomain('example.com') # returns a python datetime object in utc time curr_time = domain.find_current_time() # allowed drift defaults to 5 minutes which is the kerberos standard, # but we can use a shorter window to detect drift before it causes an # outage. this returns a boolean synced ...