I'm implementing unit tests for the ghosts users feature to make sure we
catch all the problems for the next upstream release. Attached is a
patch with a couple of unit tests that simulate what the LDAP provider
would do when using the RFC2307 schema.
Suggestions for new tests are welcome. Please note that the mod
operation inside the memberof plugin will be implemented as part of
#1652, so any tests that modify the ghost users attribute (as opposed to
add or delete) won't work at the moment.