summaryrefslogtreecommitdiff
path: root/source4/scripting/bin/mymachinepw
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/mymachinepw
parent824a300d2be8403dc9723a39e4bef88c43e46cc4 (diff)
downloadsamba-845d5add3cda7fc2bc0c9119f33f7340fd70833e.tar.gz
samba-845d5add3cda7fc2bc0c9119f33f7340fd70833e.tar.bz2
samba-845d5add3cda7fc2bc0c9119f33f7340fd70833e.zip
scripting/bin: Some formatting fixes.
Diffstat (limited to 'source4/scripting/bin/mymachinepw')
-rwxr-xr-xsource4/scripting/bin/mymachinepw4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/scripting/bin/mymachinepw b/source4/scripting/bin/mymachinepw
index 3a843b5947..dc85ad1df4 100755
--- a/source4/scripting/bin/mymachinepw
+++ b/source4/scripting/bin/mymachinepw
@@ -42,8 +42,8 @@ netbios=conf.get("netbios name")
secrets = ldb.Ldb(path)
-search = "(&(objectclass=primaryDomain)(samaccountname=" + \
- netbios + "$))"
+search = ("(&(objectclass=primaryDomain)(samaccountname=" +
+ netbios + "$))")
msg = secrets.search(expression=search, attrs=['secret'])