The permissions on this repository are being updated. This may take a while.
During this time, you or some of the project's contributors may not be able
to push to this repository.
9b959b9Ticket 449 - Allow macro aci keywords to be case-insensitive
Ticket 449 - Allow macro aci keywords to be case-insensitive
This allows the macro aci keywords ($attr and $dn) to be
case-insensitive. We were allowing the keywords to be set
regardless of case, but we were only processing them properly
if they were lowercase. This patch makes the processing
case-insensitive as well.
I also added validation of the attribute name that is appended
to the $attr keyword. We previously performed no validation. The
patch ensures that the attribute name is legal per RFC 4512, but
we don't check if it is defined in the schema. This will allow an
aci to be set prior to adding the attribute to the schema. It
also allows attributes that are used in an extensibleObject entry
to work properly with macro acis.
(cherry picked from commit 95214606df95deb1cf9a30044fe64f780c030b34)