[EMAIL PROTECTED] wrote:
Update of /repo/OpenLDAP/pkg/ldap/servers/slapd/overlaysModified Files: constraint.c 1.14 -> 1.15 Log Message: Add attribute size and count constraints to slapo-constaint Approved by Ando Usage example: overlay constraint constraint_attribute jpegPhoto size 131072 constraint_attribute userPassword count 3
Just as an aside, I'll note that back-ndb already requires maximum sizes to be configured for all attribute types. Currently it uses the {size} defined in the schema, and it also allows an explicit attrlen to be configured for specific attributes. It might be useful to write the size constraints configured here into the schema structure as well.
-- -- Howard Chu CTO, Symas Corp. http://www.symas.com Director, Highland Sun http://highlandsun.com/hyc/ Chief Architect, OpenLDAP http://www.openldap.org/project/
