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

Re: Ensure uniqueness over multiple attributes?



Karsten Heymann wrote:
>     IMHO this does not work without adding all possible values to at least
>     one of the attributes *or* SUP-ing all attribute values from a common
>     attribute type.
> 
> How would attribute inheritance tie into this? I'm relatively free in
> modifying our ldap schema so making mailAlias SUP mail would be possible. 

slapo-unique simply searches for an attribute type and value (should be
eq-indexed). A SUP-ed attribute type also matches a search for all
sub-types.

E.g. try searching with parent attribute 'name'.

Note: Depending on your clients and attributes used this might *not* be
what you want.

In my LDAP directories for e-mail the value in 'mail' is always also
present in e.g. 'mailLocalAddress' for which I have a unique constraint.

Ciao, Michael.

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