git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6016195
)
Another kludge to let the OpenLDAP backend catch up.
author
Andrew Bartlett
<abartlet@samba.org>
Wed, 16 Jul 2008 07:06:33 +0000
(17:06 +1000)
committer
Andrew Bartlett
<abartlet@samba.org>
Wed, 16 Jul 2008 07:06:33 +0000
(17:06 +1000)
This will go away when this is handled in an internal transation.
Andrew Bartlett
source/lib/ldb/tests/python/ldap.py
patch
|
blob
|
history
diff --git
a/source/lib/ldb/tests/python/ldap.py
b/source/lib/ldb/tests/python/ldap.py
index 945a9f101e95067e62aa25d25052629328c6b6b6..0dc514aeaf69f71630a702879f4ca6e622c95317 100755
(executable)
--- a/
source/lib/ldb/tests/python/ldap.py
+++ b/
source/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)