[Zope] problem with LDAPUserFolder 1.5b1
Dieter Maurer
dieter@handshake.de
Mon, 24 Jun 2002 22:18:40 +0200
Jerome Alet writes:
> On Mon, Jun 24, 2002 at 11:38:35AM -0400, Jens Vagelpohl wrote:
> > do the groups you think you should see have any member records in them?
>
> yes, I've got some groups which have a user list explicitly set :
>
> --- CUT ---
> port50-2:~$ ldapsearch -x -b "dc=my,dc=domain,dc=org" cn=groupe1 |less
> version: 2
>
> #
> # filter: cn=groupe1
> # requesting: ALL
> #
>
> # groupe1, Group, my, domain, org
> dn: cn=groupe1,ou=Group,dc=my,dc=domain,dc=org
> objectClass: posixGroup
> objectClass: top
> cn: groupe1
> gidNumber: 666
> memberUid: jerome
> memberUid: elvis
> --- CUT ---
LDAPUserFolder looks for a different attribute:
"uniqueMember" for "objectClass: groupOfUniqueNames"
and "member" for "objectClass: groupOfNames" and "objectClass: group".
Either, you define them or you need to extend "GROUP_MEMBER_MAP"
in "LDAPUserFolder".
Dieter