<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<META content="MSHTML 6.00.2800.1479" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>I have LDAP database installed on Debian and 2 
Zope-platforms:</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; Zope 2.7.6, Plone 2.0.5 
GRUF&lt;3</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; Zope 2.8.4, Plone 2.1 GRUF 
3.4</FONT></DIV>
<DIV><FONT face=Arial size=2>GRUF stands for GroupUserFolder</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I have installed LDAPUserFolder on both 
Zope-platforms.</FONT></DIV>
<DIV><FONT face=Arial size=2>I store user in LDAP insted of UserFolder 
everything works fine beside that I can't list members by mean of functions 
which come from portal_membership object.</FONT></DIV>
<DIV><FONT face=Arial size=2>for instance the codes below won't 
work.</FONT></DIV>
<DIV><FONT face=Arial size=2><EM>users = 
context.portal_membership.searchForMembers()<BR>return 
users</EM><BR>or</FONT></DIV>
<DIV><FONT face=Arial size=2><EM>users = 
context.portal_membership.listMembers()<BR>return users</EM><BR></DIV></FONT>
<DIV><FONT face=Arial size=2>I have user in LDAP named 'krzysztof' the code 
below works</FONT></DIV>
<DIV><FONT face=Arial size=2><EM>user = 
context.portal_membership.getMemberByID('krzysztof')<BR>return 
user</EM></FONT></DIV>
<DIV><FONT face=Arial size=2><EM></EM></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I'm a bit dogged becouse I don't want to recode my 
exists scripts and use other functions(for instance from LDAPUserFolder) to list 
my members.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Has somebody the same situation or know what is the 
reason of that?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Regards </FONT></DIV>
<DIV><FONT face=Arial size=2>Krzysztof</DIV>
<DIV><BR></DIV></FONT>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><BR>Pozdrawiam<BR>Krzysztof Kubacki<BR>(56) 
658-95-44<BR>BusinessMedia Professional Group<BR></FONT></DIV></BODY></HTML>