Hallvard B Furuseth wrote:
Howard Chu writes:
The Modify operation has already completed though, there's nothing to
"return" an error message to by then.
I see.
We do as much pre-checking as possible to validate the syntax of changes
before committing them. But here you've got an input with perfectly valid
syntax. The only way to know that it's bad is to commit the change.
We already undo bad changes when we can detect them...
That's good, but that also means that a success response doesn't
indicate that the change was made to cn=config.
No, the changes that we can detect are done before the response is sent. As
such, the failure is sent back to the client (as it should be).
So let me step back a bit: I'd like slapd to send the ModifyResponse
_after_ the change has taken effect (or failed to take effect).