[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: uniqueness on multiple attributes



On 1/21/19 11:43 AM, A. Schulze wrote:

Michael Ströder:

Logical it's something like
    unique_uri (ldap:///dc=basedn?mail?sub?) OR (ldap:///dc=basedn?mail?sub?)

The OR is not possible.

What else does the following statement on "unique_uri" mean?
> [..snipped..]

Example:

If you have two unique_uri statements

unique_uri ldap:///dc=basedn?a?sub?
unique_uri ldap:///dc=basedn?b?sub?

this will result in a uniqueness checking filter like this:

  (|(a=val1)(b=val2))

Note that val1 and val2 are different values!

What you'd like is a nested filter like for checking val1 in two different attributes like this:

  (|(|(a=val1)(b=val1))(c=val2))

To best of my knowledge this is not possible.

Ciao, Michael.

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature