[ mailman-Patches-1471258 ] OpenLDAP shell backend

SourceForge.net noreply at sourceforge.net
Sun Apr 16 13:27:11 CEST 2006


Patches item #1471258, was opened at 2006-04-16 20:10
Message generated for change (Comment added) made by hatukanezumi
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=300103&aid=1471258&group_id=103

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
>Group: Mailman 2.1
Status: Open
Resolution: None
Priority: 5
Submitted By: Hatuka*nezumi (hatukanezumi)
Assigned to: Nobody/Anonymous (nobody)
Summary: OpenLDAP shell backend

Initial Comment:
This is a wrapper of Mailman for slapd-shell(5)
OpenLDAP shell backend interface.


Requirement:

o OpenLDAP 2.x
o python-ldap
o Mailman 2.x, of course:).


Installation:

1. Extract tarball.  Place shellbe.py and dumpschema.py
into $prefix/bin, and mailman-list.schema appropriate
location.  Give shellbe.py exec permission.

2. Add schema.  Insert following line into slapd.conf:

    include /the/location/of/mailman-list.schema

  Add database suffix.  Insert following lines into
slapd.conf:

    database shell
    suffix   "ou=Lists,o=My Organization,c=AQ"
    add      /usr/local/mailman/bin/shellbe.py
    delete   /usr/local/mailman/bin/shellbe.py
    modify   /usr/local/mailman/bin/shellbe.py
    search   /usr/local/mailman/bin/shellbe.py

  Then restart slapd.

3. Run (as Mailman user or superuser):

    $ python $prefix/bin/dumpschema.py
ldap://ldap.host/ bind-DN bind-password

  After that, you shall find schemacache.pck in
$varprefix/data directory.

4. Setup mailman.  Insert following lines in
$prefix/Mailman/mm_cfg.py:

    SLAPD_SHELL_SUFFIX = 'ou=Lists,o=My Organization,c=AQ'
    SLAPD_SHELL_OBJECTCLASSES = ['top',
'someStructuralObjectClass', ]


Note:

o SEARCH doesn't process search filter.  Either
'(objectClass=*)' or '(objectClass=gnummList)' will be
recognized.
o User of slapd (typically 'ldap') should be belonged
to Mailman group ('mailman').


----------------------------------------------------------------------

>Comment By: Hatuka*nezumi (hatukanezumi)
Date: 2006-04-16 20:27

Message:
Logged In: YES 
user_id=529503

Additional Note:

o List member informations (memberships, real names,
delivery statuses etc.) aren't supported by this wrapper. 
Such data will be handled by LDAP membership adapotor (see
patch #871062).



----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=300103&aid=1471258&group_id=103


More information about the Mailman-coders mailing list