haraka-plugin-ldap-authz
v1.0.0
Published
This haraka plugin implements authorization (authz) against LDAP servers, i.e. if the given user is allowed to use the given FROM address. It utilizes the haraka-plugin-ldap-pool.
Downloads
2
Maintainers
Readme
haraka-plugin-ldap-authz
This haraka plugin implements authorization (authz) against LDAP servers, i.e. if the given user is allowed to use the given "FROM" address. It utilizes the haraka-plugin-ldap-pool.
Configuration
All configuration is done in config/ldap-authz.ini
.
The following options are configurable:
basedn
: optional, default: as used by haraka-plugin-ldap-pool
It's possible to override haraka-plugin-ldap-pool's default basedn for this plugin.scope
: optional, default: as used by haraka-plugin-ldap-pool
It's possible to override haraka-plugin-ldap-pool's default scope for this plugin.searchfilter
: optional, default: (&(objectclass=*)(uid=%u)(mail=%a))
Search filter to verify authorization. If the search result yields at least one object, authorization is given. The param%u
denotes the uid/username as given during login. The param%a
denotes the email address as given in "FROM".