| Request | LDAP User Folder -- bug report -- by Helge Tesdal |
| Posted on | Mar 28, 2007 8:37 am |
| Subscribe |
| Resolve by Jens Vagelpohl on Mar 29, 2007 3:33 am | |
|
Thanks, that was a good spot. It's now in SVN: http://svn.dataflake.org/?view=rev&revision=1409 By the way, I did take out your conversion to a set and back to a list - the "set" type is new in Python 2.4 but the LDAPUserFolder is still retaining Python 2.3-compatibility for Zope 2.8. |
|
|
|
| Initial Request by Helge Tesdal on Mar 28, 2007 8:37 am | |
|
--- LDAPUserFolder.py.orig 2007-03-28 15:34:24.000000000 +0200 +++ LDAPUserFolder.py 2007-03-28 15:35:29.000000000 +0200 @@ -821,7 +821,7 @@ res = self._delegate.search( base=self.groups_base , scope=self.groups_scope , filter=filter_format('(cn=%s)', (cn,)) - , attrs=['uniqueMember', 'member'] + , attrs=list(set(GROUP_MEMBER_MAP.values())) ) if res['exception']: |