The branch, v4-0-test has been updated
       via  daddfae9fd8b7375bd4f469808378edc60a55be0 (commit)
      from  9c220c0dce31fbe4b2f6433f40a52162d21c03f7 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v4-0-test


- Log -----------------------------------------------------------------
commit daddfae9fd8b7375bd4f469808378edc60a55be0
Author: Andrew Bartlett <[EMAIL PROTECTED]>
Date:   Mon Jun 30 09:38:52 2008 +1000

    Loosen ldap.py tests on the LDAP backend.
    
    Allow LDAP backend to return parts of the DN in a different case, when
    verifying memberOf.
    
    Andrew Bartlett

-----------------------------------------------------------------------

Summary of changes:
 source/lib/ldb/tests/python/ldap.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/lib/ldb/tests/python/ldap.py 
b/source/lib/ldb/tests/python/ldap.py
index 9d334c5..f1c747a 100755
--- a/source/lib/ldb/tests/python/ldap.py
+++ b/source/lib/ldb/tests/python/ldap.py
@@ -641,7 +641,7 @@ member: cn=ldaptestuser4,cn=ldaptestcontainer,""" + 
self.base_dn + """
         self.assertEquals(res[0]["objectCategory"], 
("CN=Person,CN=Schema,CN=Configuration," + self.base_dn))
         self.assertEquals(int(res[0]["sAMAccountType"][0]), 805306368)
         self.assertEquals(int(res[0]["userAccountControl"][0]), 546)
-        self.assertEquals(res[0]["memberOf"][0], 
("CN=ldaptestgroup2,CN=Users," + self.base_dn))
+        self.assertEquals(res[0]["memberOf"][0].upper(), 
("CN=ldaptestgroup2,CN=Users," + self.base_dn).upper())
         self.assertEquals(len(res[0]["memberOf"]), 1)
      
         print "Testing ldb.search for 
(&(cn=ldaptestuser)(objectCategory=cn=person,cn=schema,cn=configuration," + 
self.base_dn + "))"


-- 
Samba Shared Repository

Reply via email to