Ulrich Windl wrote:
I have a question:
Is it always OK to use LDIF "replace", even if the attribute doesn't
exist yet? If so, is it also OK to use "replace" with out specifying an
attribute value instead of using "delete"?
I actually managed to do the first one, and the operation is logged
"replace" not as "add" in accesslog. I wrote a program that
accesslog to create an "undo-LDIF" to undo recent changes on demand. Now
with that "replace" having succeeded, the undo operation created for it
would be the second case ("replace" with no new value).
Read RFC4511 section 4.6.
General questions about how LDAP works don't belong here. Use the
ldap(a)umich.edu mailing list.
-- Howard Chu
CTO, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/