--On Tuesday, February 6, 2024 12:29 PM +0000 Norman Gray <g...@nxg.name> wrote:



Greetings.

How should I use the 'unique' overlay to enforce uniqueness of an
attribute across two trees?

I'd have thought that the following would work, to enforce uniqueness
across ou=dept1 and ou=dept2, but it doesn't seem to.

Questions about slapo-unique aside, this is a horrific way to organize your data tree. I'd strongly advise creating a tree for people, like:

cn=people,dc=example,dc=com

uid=x,cn=people,dc=example,dc=com
uid=y,cn=people,dc=example,dc=com

Store what department(s) they belong to as attribute in their user entry.

--Quanah


Reply via email to