[Date Prev][Date Next]
Re: attribute writing: can an overlay do this?
Stefano Zanmarchi wrote:
I hope someone can give me a hand on this issue.
I'd like my ldap server to automaitcally set the value of an attribute,
based on the value of another.
In the simplest version I'd like it to copy the value of an attribute into
another attribute, whenever the first one gets modified.
my example entry would be:
now with ldapmodify I change *ONLY* 1st_attrib to
24_07_2009 and I'd like the result to be:
with both attributes changed.
Even better would be if the second attribute could be written to a value
based on the firs one (e.g. automatically adding 7 days to the date).
If your question is: can an overlay do this? the answer is: yes
If your question is: does an existing overlay (among those distributed
by OpenLDAP) do this? the answer is no (AFAIK).