hai!!! I am trying to configure LDAPMemberAdaptor-V3.0 in my Ldap Server. I copied extend.py and LDAPMemberships.py to /usr/lib/mailman/Mailman/. I also copied extend.py to /var/lib/mailman/lists/staff(listname)/. I also added these things in MailList.py
import extend # other useful classes from Mailman.LDAPMemberships import LDAPMemberships so use LDAPMemberships.py for OldStyleMemberships.py . I have following in extend.py from Mailman.LDAPMemberships import LDAPMemberships def extend(list): ldap = LDAPMemberships(list) ldap.ldapsearch = "(uid=recipient)" # your LDAP search here ldap.ldapserver = "127.0.0.1" # your LDAP server ldap.ldapbasedn = "dc=domain dc=com" # your base DN ldap.ldapbinddn = 'cn=Manager,dc=domain,dc=com' # bind DN that can access 'mail' field ldap.ldappasswd = 'xxxx' # bind password for ldapbinddn ldap.LDAP_URL = "ldap://ldap.domain.com:389/" ldap.LDAP_MAIL_ATTRS = ("mail",) ldap.LDAP_LOCALDOMAIN = "domain.com" ldap.LDAP_REALNAME_ATTR = "cn" ldap.LDAP_MAILMEMBER_ATTRS = ("rfc822MailMember",) ldap.LDAP_MEMBER_ATTRS = ("uniqueMember","memberUID") ldap.LDAP_OWNER_ATTR = "owner" ldap.LDAP_LIST_RDN_ATTR = "cn" ldap.LDAP_LIST_CLASSFILTER = "(|(objectclass=groupOfUniqueNames)(objectclass=nisMailAlias)(objectclass=groupOfNames))" ldap.LDAP_BASE = "ou=Group,dc=domain,dc=com" list._memberadaptor = ldap This what a user looks like in my Ldap Server.User belongs to staff group.I have a MailMan Group staff.But when i click on membership Management in web interface i have this bug Bug in Mailman version 2.1.5 We're sorry, we hit a bug! Please inform the webmaster for this site of this problem. Printing of traceback and other system information has been explicitly inhibited, but the webmaster can find this information in the Mailman error logs. dn: uid=test8,ou=People,dc=domain,dc=com uid: test8 cn: testuser8 sn: testuser8 mail: [EMAIL PROTECTED] objectClass: person objectClass: organizationalPerson objectClass: inetOrgPerson objectClass: posixAccount objectClass: top loginShell: /bin/zsh uidNumber: 11008 gidNumber: 9002 homeDirectory: /home/staff/test8 gecos: testuser8 In /var/log/mailman/error AttributeError: LDAPMemberships instance has no attribute 'ldapserver' Can anyone Help me on this. Kabilan.L Department of Electrical Engineering IIT Madras Chennai - 600 036 Tamil Nadu, INDIA "The secret to winning football games is working more as a team, less as individuals. I play not my 11 best, but my best 11." ->Knute Rockne ------------------------------------------------------ Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp