summaryrefslogtreecommitdiff
path: root/source4/lib
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-09-24 16:11:13 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-09-24 16:11:13 +0200
commitb9890af54691aea05b01346f6e474be1fcd5338c (patch)
tree6ddf32540220bda45c055748b98e503a55053dca /source4/lib
parente3ef8803ee46710d080095e4a76e25d3280d6d8b (diff)
parent83b0c5d43f568222d97f9b8de985f1e39a375fb9 (diff)
downloadsamba-b9890af54691aea05b01346f6e474be1fcd5338c.tar.gz
samba-b9890af54691aea05b01346f6e474be1fcd5338c.tar.bz2
samba-b9890af54691aea05b01346f6e474be1fcd5338c.zip
Merge branch 'master' of ssh://git.samba.org/data/git/samba into crypto
Diffstat (limited to 'source4/lib')
-rwxr-xr-xsource4/lib/ldb/tests/python/ldap.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/source4/lib/ldb/tests/python/ldap.py b/source4/lib/ldb/tests/python/ldap.py
index bc6f80e856..6c910b63f1 100755
--- a/source4/lib/ldb/tests/python/ldap.py
+++ b/source4/lib/ldb/tests/python/ldap.py
@@ -781,7 +781,10 @@ member: cn=ldaptestuser4,cn=ldaptestcontainer,""" + self.base_dn + """
self.assertTrue("objectGuid" not in res[0])
self.assertTrue("whenCreated" in res[0])
self.assertTrue("nTSecurityDescriptor" in res[0])
- self.assertEquals(res[0]["member"][0].upper(), ("CN=ldaptestuser2,CN=Users," + self.base_dn).upper())
+ memberUP = []
+ for m in res[0]["member"]:
+ memberUP.append(m.upper())
+ self.assertTrue(("CN=ldaptestuser2,CN=Users," + self.base_dn).upper() in memberUP)
ldb.modify_ldif("""
dn: cn=ldaptestgroup2,cn=users,""" + self.base_dn + """