[Mailman-Users] Problems with Mailman LDAPMemberships Adapter
Lennart Barfod
barfod at message-mobile.de
Wed Jun 5 17:29:58 CEST 2013
Hi Mark,
I'm using the LDAPMembership.py Version 0.63.
Yes I restartet mailman some times after adding the extend.py.
Ok, so I should reinstall mailman and Python-ldap? Or where seems to be the problem?
Am 05.06.2013 um 17:21 schrieb Mark Sapiro <mark at msapiro.net>:
> 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