summaryrefslogtreecommitdiff
path: root/source4/scripting/bin/renamedc
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2011-07-17 13:28:21 +0200
committerJelmer Vernooij <jelmer@samba.org>2011-07-23 22:08:08 +0200
commit845d5add3cda7fc2bc0c9119f33f7340fd70833e (patch)
tree5ac9a9b865b3707610142ac63c202f6f484478ea /source4/scripting/bin/renamedc
parent824a300d2be8403dc9723a39e4bef88c43e46cc4 (diff)
downloadsamba-845d5add3cda7fc2bc0c9119f33f7340fd70833e.tar.gz
samba-845d5add3cda7fc2bc0c9119f33f7340fd70833e.tar.bz2
samba-845d5add3cda7fc2bc0c9119f33f7340fd70833e.zip
scripting/bin: Some formatting fixes.
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)