summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2008-07-16 17:06:33 +1000
committerAndrew Bartlett <abartlet@samba.org>2008-07-16 17:06:33 +1000
commit0c4738a4119349abb8c00daf582647904fcf64de (patch)
tree2e966f7f5d28b65d57ab949c0f80f052a429708c /source4
parent0edce42b360483d7f984b63e7e8042d6f3e64a3d (diff)
downloadsamba-0c4738a4119349abb8c00daf582647904fcf64de.tar.gz
samba-0c4738a4119349abb8c00daf582647904fcf64de.tar.bz2
samba-0c4738a4119349abb8c00daf582647904fcf64de.zip
Another kludge to let the OpenLDAP backend catch up.
This will go away when this is handled in an internal transation. Andrew Bartlett (This used to be commit f567e17758cfe937249beafae0a9087b67b27755)
Diffstat (limited to 'source4')
-rwxr-xr-xsource4/lib/ldb/tests/python/ldap.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/lib/ldb/tests/python/ldap.py b/source4/lib/ldb/tests/python/ldap.py
index 945a9f101e..0dc514aeaf 100755
--- a/source4/lib/ldb/tests/python/ldap.py
+++ b/source4/lib/ldb/tests/python/ldap.py
@@ -835,6 +835,8 @@ member: CN=ldaptestutf8user èùéìòà,CN=Users,""" + self.base_dn + """
ldb.delete(("CN=ldaptestuser2,CN=Users," + self.base_dn))
+ time.sleep(2)
+
attrs = ["cn", "name", "objectClass", "objectGUID", "whenCreated", "nTSecurityDescriptor", "member"]
print "Testing ldb.search for (&(cn=ldaptestgroup2)(objectClass=group)) to check linked delete"
res = ldb.search(self.base_dn, expression="(&(cn=ldaptestgroup2)(objectClass=group))", scope=SCOPE_SUBTREE, attrs=attrs)