OpenLDAP shell backend
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/
Add database suffix. Insert following lines into
slapd.conf:
database shell
suffix "ou=Lists,o=My Organization,c=AQ"
add /usr/local/
delete /usr/local/
modify /usr/local/
search /usr/local/
Then restart slapd.
3. Run (as Mailman user or superuser):
$ python $prefix/
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/
SLAPD_
SLAPD_
'someStructural
Note:
o SEARCH doesn't process search filter. Either
'(objectClass=*)' or '(objectClass=
recognized.
o User of slapd (typically 'ldap') should be belonged
to Mailman group ('mailman').
The file shellbackend.tar.gz was added: ver.0.01