Howard Chu hyc@symas.com wrote:
I think it would be fine there for now. The 2.4 Attribute structure already maintains a counter for the number of values present. For an Add operation it's a no-brainer to enforce this constraint. For a Modify operation you will have to keep track of Add/Delete subops, but that's not too difficult.
I assume you mean Add/Replace subops? In order to handle the Add subopt for Modify, I need the number of a given attribute for the object beeing changed. Do I have to perform an internal LDAP search operation to do it, or is there a simplier way?