On 2/13/06, Kabilan L <[EMAIL PROTECTED]> wrote: > 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 = "cn=staff,ou=Group,dc=domain,dc=com" > list._memberadaptor = ldap > >
If all of the above is *exactly* what is in your config file, then this is part of your problem. Specifically, ldapserver, ldapbasedn, ldapbinddn, ldappasswd, LDAP_URP, and LOCALDOMAIN all contain 'generic' example settings which almost certainly are incorrect. -- - Patrick Bogen ------------------------------------------------------ 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