summaryrefslogtreecommitdiff
path: root/source4/scripting/devel/addlotscontacts
diff options
context:
space:
mode:
Diffstat (limited to 'source4/scripting/devel/addlotscontacts')
-rw-r--r--source4/scripting/devel/addlotscontacts2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/scripting/devel/addlotscontacts b/source4/scripting/devel/addlotscontacts
index cc073a3500..edf54b0bad 100644
--- a/source4/scripting/devel/addlotscontacts
+++ b/source4/scripting/devel/addlotscontacts
@@ -63,7 +63,7 @@ if __name__ == '__main__':
paths, smbconf, lp)
contactdn = "OU=Contacts,%s" % str(names.domaindn)
- res = ldbs.sam.search(expression="(dn=%s)" % contactdn,
+ res = ldbs.sam.search(expression="(distinguishedName=%s)" % contactdn,
base=str(names.domaindn),
scope=SCOPE_BASE)