https://bugs.openldap.org/show_bug.cgi?id=9442

          Issue ID: 9442
           Summary: slapo-constraint negated regex
           Product: OpenLDAP
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: ---
         Component: overlays
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

slapo-constraint doesn't conveniently allow setting a constraint with a negated
regex.

Taking grep as an example (i.e. --invert-match), I propose adding a constraint
type that allows using a regex in a negated way. When a match is found a
constraint error is raised. 

The configuration entry would look like the following:

> constraint_attribute mail negregex ^.*@somedomain\.com$

This feature request was started on the openldap-devel mailing list,
https://lists.openldap.org/hyperkitty/list/[email protected]/thread/MYSENW3CPADHHIVD64QNGFTGFGIGWO7M/

-- 
You are receiving this mail because:
You are on the CC list for the issue.

Reply via email to