Hi,
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?
An example:
Suppose I have configuration like this:
database meta
suffix "dc=mail"
uri "ldap://example.org/dc=org"
suffixmassage "ou=org,dc=mail" "O=org"
uri "ldap://example.com/dc=com"
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.