[ mailman-Patches-1471258 ] OpenLDAP shell backend

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: 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: 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. 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'). ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=300103&aid=1471258&group_id=103
participants (1)
-
SourceForge.net