[ mailman-Patches-1471258 ] OpenLDAP shell backend

SourceForge.net noreply at sourceforge.net
Sun Apr 16 13:10:23 CEST 2006

Patches item #1471258, was opened at 2006-04-16 20:10
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 

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: None
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.


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


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

    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

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


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


You can respond by visiting: 

More information about the Mailman-coders mailing list