s4:ldap.py - fix the schema update test on Windows Server
authorMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
Tue, 24 Nov 2009 18:44:18 +0000 (19:44 +0100)
committerMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
Tue, 24 Nov 2009 18:44:18 +0000 (19:44 +0100)
Apparently Windows Server (2003) doesn't like the comma delimiter here. I got
always error 16 ("LDB_NO_SUCH_ATTRIBUTE"). With this change the test works
again.

source4/lib/ldb/tests/python/ldap.py

index 009cd1b5a7d58fc22ca3c0323893739f07bb0c44..9a7976b6944a2156c79a92e5c796fcc3e74705a9 100755 (executable)
@@ -1967,7 +1967,8 @@ objectClassCategory: 1
 subClassOf: organizationalPerson
 systemFlags: 16
 rDNAttID: cn
-systemMustContain: cn, """ + attr_ldap_display_name + """
+systemMustContain: cn
+systemMustContain: """ + attr_ldap_display_name + """
 systemOnly: FALSE
 """
         self.ldb.add_ldif(ldif)