[Mailman-Users] Problems with Mailman LDAPMemberships Adapter

Lennart Barfod barfod at message-mobile.de
Thu Jun 6 11:33:57 CEST 2013


Hi Mark,

thank you very much for your help! Now it works!
And thanks  for fixing it at launchpad.

King regards,
Lenni


Am 06.06.2013 um 02:47 schrieb Mark Sapiro <mark at msapiro.net>:

> On 06/05/2013 08:29 AM, Lennart Barfod wrote:
>> 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? 
> 
> 
> There seems to be a serious coding error in LDAPMemberships.py, version
> 0.63. Namely, at line 274-275, the code
> 
>    def __ldap_get_members(self):
>        return self.__ldap_get_regularmembers() +
> self.__ldap_get_digestmembers()
> 
> (watch out for wrapped line)
> 
> should be
> 
>    def __ldap_get_members(self):
>        return self.__ldap_get_regular_members() +
> self.__ldap_get_digest_members()
> 
> 
> I wonder how many people are actually using this?
> 
> If you fix that and restart Mailman, I think you'll be OK.
> 
> -- 
> 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