haraka-plugin-ldap-authz

1.0.0 • Public • Published

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".

Package Sidebar

Install

npm i haraka-plugin-ldap-authz

Weekly Downloads

2

Version

1.0.0

License

MIT

Last publish

Collaborators

  • tasansga