[Mailman-Users] Problems with Mailman LDAPMemberships Adapter

Mark Sapiro mark at msapiro.net
Wed Jun 5 17:21:33 CEST 2013


On 06/05/2013 03:04 AM, Lennart Barfod wrote:
> 
> So know I want to use the LDAP Extension (https://bugs.launchpad.net/mailman/+bug/558106) to build my mailingliste in LDAP.
> After some problems with Python-ldap now i configured a mailinglist "test" and created a extend.py file in the Listfolder, like this:
> 
[...]
> 
> The important line is this: admin(24882): AttributeError: LDAPMemberships instance has no attribute '_LDAPMemberships__ldap_get_regularmembers'
> 
> But I don't know what it means … it seems that another Funktion doesn't work correctly?!
> Any ideas?


It means something is broken in the installation. The actual error makes
no sense. It shows that what is being executed is "return
self.__ldap_get_regularmembers() + self.__ldap_get_digestmembers()", but
then it is trying to get self._LDAPMemberships__ldap_get_regularmembers
instead of self.__ldap_get_regularmembers().

Did you restart Mailman after installing LDAPMemberships.py and the
extend.py file? This actually shouldn't be the problem because the error
occurs in the admin CGI, but I suppose it could help.

Exactly which LDAPMemberships.py version do you have?

-- 
Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan


More information about the Mailman-Users mailing list