diff options
author | Matthieu Patou <mat@matws.net> | 2010-08-10 17:39:29 +0400 |
---|---|---|
committer | Matthieu Patou <mat@matws.net> | 2010-08-19 15:59:04 +0400 |
commit | 503824b75723f62bbe7ee578d0ed6ad4a1203665 (patch) | |
tree | e78e2dcc079a8e6f87da2b05fb1f365eed3cda33 /source4/scripting/python | |
parent | f6ac919a91663a97fbc27fb8430c73e13bf03a55 (diff) | |
download | samba-503824b75723f62bbe7ee578d0ed6ad4a1203665.tar.gz samba-503824b75723f62bbe7ee578d0ed6ad4a1203665.tar.bz2 samba-503824b75723f62bbe7ee578d0ed6ad4a1203665.zip |
s4 upgradeprovision: fix a typo and pass correct parameter to increment_calculated_keyversion
Diffstat (limited to 'source4/scripting/python')
-rwxr-xr-x | source4/scripting/python/samba/upgradehelpers.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/scripting/python/samba/upgradehelpers.py b/source4/scripting/python/samba/upgradehelpers.py index 58106e0a70..2bc1795fbc 100755 --- a/source4/scripting/python/samba/upgradehelpers.py +++ b/source4/scripting/python/samba/upgradehelpers.py @@ -737,12 +737,12 @@ def increment_calculated_keyversion_number(samdb, rootdn, hashDns): else: for e in entry: if hashDns.has_key(str(e.dn).lower()): - done = done + 1 val = e.get("msDs-KeyVersionNumber") if not val: continue version = int(str(hashDns[str(e.dn).lower()])) if int(str(val)) < version: + done = done + 1 samdb.set_attribute_replmetadata_version(str(e.dn), "unicodePwd", version) |