This doesn't work for me on OpenLDAP with a plain group defined as:

<pre>
dn: cn=users,ou=group,dc=example,dc=com
cn: users
objectClass: posixGroup
gidNumber: 100
memberUid: dcleal
</pre>

As the attribute name is 'memberUid', not 'member'.

I can extend this code to handle memberUid and it appears to work, but I'm worried that this is very much hard coded and doesn't seem to obey the server types that we're going to pains to initialise ldap_fluff with.  (i.e. shouldn't this code be in ldap_fluff so it works on all of its backend services?)

How is this going to work with AD, which uses sAMAccountName etc?