diff options
Diffstat (limited to 'source4/scripting/bin/renamedc')
-rwxr-xr-x | source4/scripting/bin/renamedc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/scripting/bin/renamedc b/source4/scripting/bin/renamedc index 9d6f5c4c29..1fa19b25fb 100755 --- a/source4/scripting/bin/renamedc +++ b/source4/scripting/bin/renamedc @@ -114,7 +114,7 @@ if __name__ == '__main__': ldbs.sam.modify(msg) # Do a self join one more time to resync the secrets file - res = ldbs.sam.search(expression=("dn=%s" % newdn), + res = ldbs.sam.search(expression=("distinguishedName=%s" % newdn), attrs=["msDs-keyVersionNumber", "serverReferenceBL"]) assert(len(res) == 1) kvno = int(str(res[0]["msDs-keyVersionNumber"])) |