From 438971e214e6f55f19148ed2afc03ec1c7066f65 Mon Sep 17 00:00:00 2001 From: Matthias Dieter Wallnöfer Date: Tue, 25 Oct 2011 20:10:30 +0200 Subject: LDB/s4 - do not use the "(dn=...)" syntax on filters anymore Make it AD-compatible using "(distinguishedName=...)". Reviewed-by: Andrew Bartlett Signed-off-by: Andrew Bartlett --- source4/scripting/devel/addlotscontacts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/scripting/devel/addlotscontacts') 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) -- cgit