Sergey Ivanov wrote:
Hi,
I'm looking for a way to create a search filter, which can filter by
specifying attributes not only at the destination object, but also it's
parent's in directory tree.
Namely, I have mail aliases for virtual domains stored in ldap tree.
I have ou=mailAliases, and under it ou=<first.domain>,
ou=<second.domain> and so on.
Each of domains have entries cn=<aliasName> of class mailGroup, with
attributes of mgrpRFC822MailMember having expansion for these aliases.
The things became complicating because each of domain has different
representations. I can store them in ou attributes of domain's entry.
Can I search with filter requesting entry with cn=<local part of e-mail>
which belong to parent, having ou=<domain part of email> in it's
attributes?
Till now I understand that I can't and the only way to do it is to
create a copies of these subtrees with DNs for each representation of
domain name.
May be, aliasObject, or reference can help avoiding duplication of
subtrees? If so, how to use them with Fedora DS?
--
Sergey Ivanov