On Mon, Jan 8, 2018 at 7:07 PM, Craig Russell <[email protected]> wrote:
> /Users/clr/apache/git/whimsy/lib/whimsy/asf/ldap.rb:260:in `modify': Object
> class violation (LDAP::ResultError)
>
> And error reporting is not great. I guess more checking is needed but Object
> class violation is not very informative.
Oh, and AGREED!
LDAP sucks. You want to add zero members: Object class violation.
You want to add somebody who is already a member: Object class
violation. You want to remove somebody who is not a member: Object
class violation.
That's why the action that caused the error is logged. In this case:
LDAP_MOD_DELETE
{"member"=>[]}>
cn=pmc-chairs,ou=groups,ou=services,dc=apache,dc=org
Here you are deleting nobody. That apparently is not allowed.
- Sam Ruby
- Sam Ruby