authmgr

Name

authmgr(4gx) — Demultiplexer for authentication requests

Description

authmgr is a service plugin that, for mail account authentication, dynamically selects the authentication backend per user account. The libgxs_mysql_adaptor.so and/or libgxs_ldap_adaptor.so plugins need to be loaded in advance (this is the case by default).

Configuration file directives

auth_backend_selection
This controls how authmgr will verify passwords supplied with login operations. See the “Authentication modes” section below for details.
Available: deny_all, allow_all, always_mysql, always_ldap, externid
Default: externid

Authentication modes

  • deny_all rejects every attempt at authentication. This is at best useful for testing.

  • allow_all permits every attempt at authentication (provided the user exists). This may be handy when doing the initial mass-import of mailboxes via external IMAP-to-IMAP synchronization utilities such as imapsync without needing to know user passwords.

  • always_mysql will cause authmgr to exclusively attempt password verification with the password field in the MySQL database.

  • always_ldap will cause authmgr to exclusively attempt password verification with LDAP servers.

  • externid will cause authmgr to selectively pick LDAP/MySQL, depending on whether the user was imported from LDAP or not.

See also

gromox(7), ldap_adaptor(4gx), mysql_adaptor(4gx)