Next: Using libmuauth in Your Programs, Previous: Obtaining Authorization Information, Up: libmuauth
The “not-supported” module. Always returns
ENOSYS.
This module is always registered even if libmuauth is not linked. It performs usual authentication using system user database (/etc/password et al.)
This module is always registered even if libmuauth is not linked. Both its authorization handlers are
mu_auth_nosupport. Its authentication handler computes the MD5 or DES hash over the supplied password with the seed taken frompasswdmember of its key argument. Then it compares the obtained hash with thepasswdmember itself and returns 1 if both strings match.
Implements PAM authentication. Both authorization handlers are
mu_auth_nosupport().
Implements authentication and authorization via MySQL database. The credentials for accessing the database are taken from global variables
sql_host,sql_port,sql_user,sql_passwdandsql_db. The SQL queries for retrieving user information from global variablessql_getpwnam_queryandsql_getpwuid_query. The variablesql_getpass_querykeeps the query used for retrieving user's password. See auth, for information on command line options used to set these variables.