Mail::MtPolicyd::Plugin::LdapUserConfig(3pm) | User Contributed Perl Documentation | Mail::MtPolicyd::Plugin::LdapUserConfig(3pm) |
Mail::MtPolicyd::Plugin::LdapUserConfig - mtpolicyd plugin for retrieving per user configuration from LDAP
version 2.05
ldap_host="localhost" ldap_binddn="cn=readonly,dc=domain,dc=com" ldap_password="secret" <Plugin user_config> module="LdapUserConfig" basedn="ou=users,dc=domain,dc=com" filter="(mail=%s)" filter_field="sasl_username" config_fields="mailMessageLimit,mailSendExternal" </Plugin>
This plugin could be used to retrieve session variables/user configuration from a LDAP server.
The LDAP connection must be configured in the global configuration section of mtpolicyd. See mtpolicyd.
The pattern %s will be replaced with the content of filter_field.
Markus Benning <ich@markusbenning.de>
This software is Copyright (c) 2014 by Markus Benning <ich@markusbenning.de>.
This is free software, licensed under:
The GNU General Public License, Version 2, June 1991
2022-10-15 | perl v5.34.0 |