summaryrefslogtreecommitdiff
path: root/source4/scripting/bin/renamedc
diff options
context:
space:
mode:
Diffstat (limited to 'source4/scripting/bin/renamedc')
-rwxr-xr-xsource4/scripting/bin/renamedc4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/scripting/bin/renamedc b/source4/scripting/bin/renamedc
index 0915b15783..9d6f5c4c29 100755
--- a/source4/scripting/bin/renamedc
+++ b/source4/scripting/bin/renamedc
@@ -86,8 +86,8 @@ if __name__ == '__main__':
names = find_provision_key_parameters(ldbs.sam, ldbs.secrets, ldbs.idmap,
paths, smbconf, lp)
-
- #First rename the entry
+
+ # First rename the entry
# provision put the name in upper case so let's do it too !
newdn = str(res[0].dn).replace("CN=%s" % opts.oldname, "CN=%s" % opts.newname.upper())
dnobj = ldb.Dn(ldbs.sam, newdn)