Am 27.01.2011 16:38, schrieb moenoel@informatik.uni-bremen.de:
- it should simply be comparing the AttributeDescription pointers
- since the "memberof" attribute is actually configurable in the memberof
overlay, there's no guarantee that this is the correct attribute to be looking for. It should also be configurable in your patch.
You're using strcasecmp, but your inputs are already normalized values. You should just use ber_bvcmp.
Since I am also interested in this, I took some time to make a new patch. I took Norberts original patch, applied it to a current checkout from HEAD and tried to fix the issues mentioned by Howard. My initial tests are looking good.
My C skills are rather mediocre, though, so I hope I didn't slaughter the thing :-)
http://www.informatik.uni-bremen.de/~moenoel/ldap/christian-manal-autogroup-...
Regards, Christian Manal
I just noticed that I messed up the copyright notice. I fixed that and replaced the archive, so the link is still valid.