[Fedora-directory-users] how to search using attributes of the parent nodes

Sergey Ivanov seriv at omniti.com
Mon Jul 16 21:06:59 UTC 2007


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.
-- 
	Sergey Ivanov.




More information about the Fedora-directory-users mailing list