Last change
on this file since 2843 was
2841,
checked in by andersk, 7 years ago
|
Read a per-user mailbox_command from LDAP
scriptsMailboxCommand is currently generated as an operational
attribute using the following CoS template in LDAP:
dn: cn=scriptsMailboxCommandTemplate,ou=People,dc=scripts,dc=mit,dc=edu
cn: scriptsMailboxCommandTemplate
objectClass: top
objectClass: cosTemplate
objectClass: extensibleObject
scriptsmailboxcommand: /usr/bin/procmail -t -p -a "${EXTENSION}" ~/mail_scripts/procmailrc
dn: cn=scriptsMailboxCommandCoS,ou=People,dc=scripts,dc=mit,dc=edu
cn: scriptsMailboxCommandCoS
objectClass: top
objectClass: ldapSubEntry
objectClass: cosSuperDefinition
objectClass: cosPointerDefinition
costemplatedn: cn=scriptsMailboxCommandTemplate,ou=People,dc=scripts,dc=mit,dc=edu
cosAttribute: scriptsMailboxCommand operational-default
|
File size:
224 bytes
|
Rev | Line | |
---|
[2841] | 1 | server_host = ldapi://%2fvar%2frun%2fslapd-scripts.socket/ |
---|
| 2 | search_base = ou=People,dc=scripts,dc=mit,dc=edu |
---|
| 3 | query_filter = (&(objectClass=posixAccount)(uid=%s)) |
---|
| 4 | result_attribute = scriptsMailboxCommand |
---|
| 5 | bind = no |
---|
| 6 | version = 3 |
---|
Note: See
TracBrowser
for help on using the repository browser.