SASLAUTHD(8) System Manager's Manual
saslauthd - sasl authentication server
saslauthd -a authmech [-Tvd] [-O option] [-m mux_path] [-n
saslauthd is a daemon process that handles plaintext authen-
quests on behalf of the SASL library.
The server fulfills two roles: it isolates all code requir-
privileges into a single process, and it can be used to pro-
vide proxy au-
thentication services to clients that do not understand SASL
saslauthd should be started from the system boot scripts
when going to
multi-user mode. When running against a protected authenti-
(e.g. the shadow mechanism), it must be run as the superus-
Options named by lower-case letters configure the server it-
per-case options control the behavior of specific authenti-
nisms; their applicability to a particular authentication
described in the AUTHENTICATION MECHANISMS section.
Use authmech as the authentication mechanism. (See
AUTHENTICATION MECHANISMS section below.) This pa-
A mechanism specific option (e.g. rimap hostname or
The remote host to be contacted by the rimap authen-
anism. (Depricated, use -O instead)
Use path as the pathname to the named socket to lis-
ten on for
connection requests. This must be an absolute path-
name, and MUST
NOT include the trailing "/mux". Note that the de-
fault for this
value is "/var/state/saslauthd" (or what was speci-
fied at compile
time) and that this directory must exist for saslau-
thd to func-
Use threads processes for responding to authentica-
(default: 5) A value of zero will indicate that
fork an individual process for each connection.
This can solve
leaks that occur in some deployments.
-T Honour time-of-day login restrictions.
-v Print the version number and available authentica-
on standard error, then exit.
-d Debugging mode.
saslauthd logs it's activities via syslogd using the
saslauthd supports one or more "authentication mechanisms",
on the facilities provided by the underlying operating sys-
tem. The mech-
anism is selected by the -aho flag from the following list
Authenticate using the DCE authentication envi-
getpwent (All platforms)
Authenticate using the getpwent() library func-
this authenticates against the local password
file. See your
systems getpwent(3) man page for details.
kerberos4 (All platforms)
Authenticate against the local Kerberos 4 realm.
NOTES section for caveats about this driver.)
kerberos5 (All platforms)
Authenticate against the local Kerberos 5 realm.
pam (Linux, Solaris)
Authenticate using Pluggable Authentication Mod-
rimap (All platforms)
Forward authentication requests to a remote IMAP
driver connects to a remote IMAP server, speci-
fied using the
-O flag, and attempts to login (via an IMAP `LO-
using the credentials supplied to the local serv-
er. If the re-
mote authentication succeeds the local connection
is also con-
sidered to be authenticated. The remote connec-
tion is closed
as soon as the tagged response from the `LOGIN'
command is re-
ceived from the remote server.
The option parameter to the -O flag describes the
er to forward authentication requests to.
hostname can be a
hostname (imap.example.com) or a dotted-quad IP
(192.168.0.1). The latter is useful if the remote
multi-homed and has network interfaces that are
from the local IMAP server. The remote host is
the `imap' service port. A non-default port can
by appending a slash and the port name or number
The -O flag and argument are mandatory when using
shadow (AIX, Irix, Linux, Solaris)
Authenticate against the local "shadow password
file". The ex-
act mechanism is system dependent. saslauthd
stands the getspnam() and getuserpw() library
systems honour the -T flag.
sasldb (All platforms)
Authenticate against the SASL authentication
that this is probabally not what you want to be
using, and is
even disabled at compile-time by default. If you
want to use
sasldb with the SASL library, you probably want
to use the
pwcheck_method of "auxprop" along with the sasldb
ldap (All platforms that support OpenLDAP 2.0 or
Authenticate against an ldap server. The ldap
parameters are read from /usr/local/etc/saslau-
location of this file can be changed with the -O
See the LDAP_SASLAUTHD file included with the
the list of available parameters.
sia (Digital UNIX)
Authenticate using the Digital UNIX Security In-
chitecture (a.k.a. "enhanced security").
The kerberos4 authentication driver consumes considerable
perform an authentication it must obtain a ticket granting
the TGT server on every authentication request. The Kerberos
tines that obtain the TGT also create a local ticket file,
on the reason-
able assumption that you will want to save the TGT for use
by other Ker-
beros applications. These ticket files are unusable by
there is no way not to create them. The overhead of creating
these ticket files can cause serious performance degradation
servers. (Kerberos was never intended to be used in this
/var/run/saslauthd/mux The default communications socket.
The default configuration file for
passwd(1), getpwent(3), getspnam(3), getuserpw(3),