Hi everyone!
I have the following issue: Suppose that I have an ldap directory which can not be modified at all (new fields can not be added in the existing schema) The directory already stores a mail field which contains the user´s mail in the form u...@domain.com For the purpose of delivering the mail in the right mailbox (virtual_mailbox_maps), I would like to split the return query to have only the user value and use it for the mailbox. How could I accomplish that without creating a new field in the directory. I have something like this: server_host = localhost search_base = dc=example,dc=com query_filter = (mail=%s) result_attribute = mail scope = sub cache = yes bind = yes bind_dn = cn=admin,dc=example,dc=com bind_pw = secret version = 3 so I would like to modify the return_attribute to pass postfix only the user part of the mail field. Also, could several queries can be combined to form the desired result? Thanks in advance, vila. VI Conferencia Internacional de Energía Renovable, Ahorro de Energía y Educación Energética 9 - 12 de Junio 2009, Palacio de las Convenciones ...Por una cultura energética sustentable www.ciercuba.com