I'm having problems working out how to convert Whimsy to use LDAP
ou=project instead of ou=pmc.

Some changes are obvious and have been made, but there are some areas
where it is not obvious what to do without causing breakages.

This is because the ASF::Committee class serves two purposes:
- access to the 'ou=pmc,ou=committees' LDAP group
- container for an ASF committee (PMC or non-PMC)

I had hoped that it might be possible to just update the @base from

  @base = 'ou=pmc,ou=committees,ou=groups,dc=apache,dc=org'
to
  @base = 'ou=project,ou=groups,dc=apache,dc=org'

However AFAICT most of the LDAP code in the class assumes that the
@base is ou=pmc.

A minor issue is that changing the @base would prevent any access to
the ou=pmc LDAP group.
That is not important because it is due for deletion.

Maybe the Committee class would be better off being defined separately
from LDAP, as it is rather different from all the other LDAP classes
such as Project, AuthGroup etc.

S.

Reply via email to