OpenLDAP shell backend

Bug #558243 reported by hatukanezumi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GNU Mailman
New
Undecided
Unassigned

Bug Description

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').

Revision history for this message
hatukanezumi (hatukanezumi-users-sf) wrote :

The file shellbackend.tar.gz was added: ver.0.01

Revision history for this message
hatukanezumi (hatukanezumi-users-sf) wrote :

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).

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.