Anton Yuzhaninov wrote:
03.07.2012 22:06, Quanah Gibson-Mount пишет:
According to slapo-unique(5) it is possible to specify several URLs in one domain (in single unique_uri dircetive).
I have in my slapd.conf settings like:
unique_uri ldap:///ou=lists,dc=example.ru,ou=mail,o=foo?cn?sub?(objectClass=nisMailA lias) ldap:///ou=aliases,dc=example.ru,ou=mail,o=foo?cn?sub?(objectClass=nisMai lAlias)
You should make those separate unique_uri lines, as per the man page.
Separate unique_uri lines will create separate unique domains, but I need unique cn across 2 different URLs.
I'm not sure what you mean with "domain". Why not use
ldap:///dc=example.ru,ou=mail,o=foo?cn?sub?(objectClass=nisMailAlias)
Unfortunately there's ITS#6825 (dup ITS#6917) which makes using filters in unique_uri impossible.
Ciao, Michael.