Fix ORDERING in some attributetypes and remove other unnecessary elements.

Looking at the schema in 60basev2.ldif there were many attributes that did
not have an ORDERING matching rule specified correctly. There were also a
number of attributeTypes that should have been just SUP
distinguishedName that had a combination of SUP, SYNTAX, ORDERING, etc.

This requires 389-ds-base-1.2.8.0-1+

ticket 1153
This commit is contained in:
Rob Crittenden
2011-04-05 16:28:59 -04:00
parent 86995509a1
commit b9a2c11d6f
6 changed files with 60 additions and 28 deletions

View File

@@ -414,7 +414,7 @@ class LDAPUpdate:
The return type is ipaldap.Entry
"""
searchfilter="objectclass=*"
sattrs = ["*"]
sattrs = ["*", "aci", "attributeTypes", "objectClasses"]
scope = ldap.SCOPE_BASE
return self.conn.getList(dn, scope, searchfilter, sattrs)