[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Is it possible to create something like an alias or mapping



Le 30/09/2015 23:12, Christian Balz a écrit :
Hi Michael,
Thank you for your feedback. This solution works fine for me, however I need to keep the attribute DomainGestor as well.

Any suggestion about this?
...
overlay rwm
map attribute manager domaingestor
...
ldapsearch -x -LLL -h localhost -b cn=users,dc=domain,dc=com,dc=br uid=thiago_neves  domaingestor manager
dn: uid=thiago_neves,cn=t,cn=users,dc=domain,dc=com,dc=br
manager: uid=paula_bronfman,cn=p,cn=users,dc=domain,dc=com,dc=br

If you want to keep both attributes in the entry, I think the best way is to use an external script that will synchronize the values between the two attributes. You can do this on the fly, for example with LSC (http://www.lsc-project.org).


--
Clément OUDOT
Consultant en logiciels libres, Expert infrastructure et sécurité
Savoir-faire Linux