diff options
author | Andrew Bartlett <abartlet@samba.org> | 2012-04-19 13:57:29 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2012-04-19 14:19:09 +1000 |
commit | 6b2753d71ea9e9a64fa749cfeeaef4f451c6cae4 (patch) | |
tree | 35132f92822fe15401ebdd0f5c186698549bacd6 /source4/scripting/python/samba/upgrade.py | |
parent | a2b7a9e2a23e395a06700dd0968f4916bde56cdf (diff) | |
download | samba-6b2753d71ea9e9a64fa749cfeeaef4f451c6cae4.tar.gz samba-6b2753d71ea9e9a64fa749cfeeaef4f451c6cae4.tar.xz samba-6b2753d71ea9e9a64fa749cfeeaef4f451c6cae4.zip |
s4-samba-tool: Fix samba-tool fsmo seize
This is currently untested, and a restructure broke it.
Andrew Bartlett
Diffstat (limited to 'source4/scripting/python/samba/upgrade.py')
-rw-r--r-- | source4/scripting/python/samba/upgrade.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/scripting/python/samba/upgrade.py b/source4/scripting/python/samba/upgrade.py index 62cba23af7..8b8d05d42e 100644 --- a/source4/scripting/python/samba/upgrade.py +++ b/source4/scripting/python/samba/upgrade.py @@ -65,7 +65,7 @@ def import_sam_policy(samdb, policy, logger): 'minPwdAge') max_pw_age_unix = policy['maximum password age'] - if max_pw_age_unix == -1 || max_pw_age_unix == 0: + if max_pw_age_unix == -1 or max_pw_age_unix == 0: max_pw_age_nt = -0x8000000000000000 else: max_pw_age_nt = int(-max_pw_age_unix * (1e7 * 60 * 60 * 24)) |