[Date Prev][Date Next]
Re: back_meta: adding attribute to search result
Aidas Kasparas wrote:
Not out of the box, and this is by design: back-ldap/back-meta are
designed to provide simple naming context virtualization by default,
while the rewrite/remap capability gives further mucking capabilities
but on DNs only. You need to write an overlay that mucks with
searchEntry intermediate results; I'm not sure you can easily get that
info - that is, who returned the entry, unless the entry's content can
Is it possible to add an attribute to the result of search
operation, which would depend on server from which entry was received?
If possible, how?
Suppose I have configuration like this:
suffixmassage "ou=org,dc=mail" "O=org"
suffixmassage "ou=com,dc=mail" "O=com"
I would like to achieve that every entry provided by example.org
server have extra attribute "mailhost: smtp.example.org" and every
entry provided by example.com have extra attribute "mailhost:
mail.example.com". Adding such attributes to primary ldap servers is
not an option.
SysNet - via Dossi,8 27100 Pavia Tel: +390382573859 Fax: +390382476497