SASLAUTHD(8) NNNNAAAAMMMMEEEE
ssssaaaassssllllaaaauuuutttthhhhdddd - sasl authentication server
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSSssssaaaassssllllaaaauuuutttthhhhdddd --aaaa authmech [--TTTTvvvvddddcccchhhhllllrrrr] [--OOOO option] [--mmmm muxpath]
[--nnnn threads]
[--ssss size] [--tttt timeout]
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNNssssaaaassssllllaaaauuuutttthhhhdddd is a daemon process that handles plaintext authen-
tication re-
quests on behalf of the SASL library.The server fulfills two roles: it isolates all code requir-
ing superuserprivileges into a single process, and it can be used to pro-
vide proxy au-
thentication services to clients that do not understand SASLbased au-
thentication. ssssaaaassssllllaaaauuuutttthhhhdddd should be started from the system boot scripts when going tomulti-user mode. When running against a protected authenti-
cation database(e.g. the shadow mechanism), it must be run as the superus-
er. OOOOppppttttiiiioooonnnnssssOptions named by lower-case letters configure the server it-
self.Upper-case options control the behavior of specific authen-
ticationmechanisms; their applicability to a particular authentica-
tion mechanism is described in the AUTHENTICATION MECHANISMS section.--aaaa authmech
Use authmech as the authentication mechanism. (See theAUTHENTICATION MECHANISMS section below.) This pa-
rameter is man-
datory.--OOOO option
A mechanism specific option (e.g. rimap hostname or config file path)--HHHH hostname
The remote host to be contacted by the rimap authen-
ticationmechanism. (Depricated, use -O instead)
--mmmm path
Use path as the pathname to the named socket to lis-
ten on forconnection requests. This must be an absolute path-
name, and MUSTNOT include the trailing "/mux". Note that the de-
fault for thisvalue is "/var/state/saslauthd" (or what was speci-
fied at compiletime) and that this directory must exist for saslau-
thd to func-
tion.--nnnn threads
Use threads processes for responding to authentica-
tion queries. (default: 5) A value of zero will indicate thatsaslauthd should
fork an individual process for each connection. This can solve leaks that occur in some deployments..--ssss size
Use size as the table size of the hash table (in kilobytes)--tttt timeout
Use timeout as the expiration time of the authenti-
cation cache (in seconds)--TTTT Honour time-of-day login restrictions.
--hhhh Show usage information
--cccc Enable cacheing of authentication credentials
--llll Disable the use of a lock file for controlling ac-
cess to ac-
cept().--rrrr Combine the realm with the login (with an '@' sign
in between). e.g. login: "foo" realm: "bar" will get passed as login: "foo@bar". Note that the realm will still be passed, which may lead to unexpected behavior.--vvvv Print the version number and available authentica-
tion mechanisms on standard error, then exit.--dddd Debugging mode.
LLLLooooggggggggiiiinnnngggg ssssaaaassssllllaaaauuuutttthhhhdddd logs it's activities via ssssyyyyssssllllooooggggdddd using the LOGAUTH facility. AAAAUUUUTTTTHHHHEEEENNNNTTTTIIIICCCCAAAATTTTIIIIOOOONNNN MMMMEEEECCCCHHHHAAAANNNNIIIISSSSMMMMSSSS ssssaaaassssllllaaaauuuutttthhhhdddd supports one or more "authentication mechanisms", dependent upon the facilities provided by the underlying operating system. Themechanism is selected by the --aaaahhhhoooo flag from the following
list of choices: dce (AIX)Authenticate using the DCE authentication envi-
ronment. getpwent (All platforms)Authenticate using the ggggeeeettttppppwwwweeeennnntttt() library func-
tion. Typically 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. (See theNOTES section for caveats about this driver.)
kerberos5 (All platforms) Authenticate against the local Kerberos 5 realm. pam (Linux, Solaris)Authenticate using Pluggable Authentication Mod-
ules (PAM). rimap (All platforms) Forward authentication requests to a remote IMAP server. Thisdriver connects to a remote IMAP server, speci-
fied using the-O flag, and attempts to login (via an IMAP `LO-
GIN' command)using the credentials supplied to the local serv-
er. If the re-
mote authentication succeeds the local connectionis 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 --OOOO flag describes the
remote server to forward authentication requests to. hostname can bea hostname (imap.example.com) or a dotted-quad IP
address (192.168.0.1). The latter is useful if the remote server ismulti-homed and has network interfaces that are
unreachable from the local IMAP server. The remote host is contacted onthe `imap' service port. A non-default port can
be specified by appending a slash and the port name or number to the hostname argument.The --OOOO flag and argument are mandatory when using
the rimap mechanism. shadow (AIX, Irix, Linux, Solaris) Authenticate against the local "shadow passwordfile". The ex-
act mechanism is system dependent. ssssaaaassssllllaaaauuuutttthhhhddddcurrently under-
stands the ggggeeeettttssssppppnnnnaaaammmm() and ggggeeeettttuuuusssseeeerrrrppppwwww() library routines. Somesystems honour the --TTTT flag.
sasldb (All platforms) Authenticate against the SASL authentication database. Note that this is probabally not what you want to be using, and iseven disabled at compile-time by default. If you
want to use sasldb with the SASL library, you probably want to use the pwcheckmethod of "auxprop" along with the sasldbauxprop plu-
gin instead. ldap (All platforms that support OpenLDAP 2.0 or higher) Authenticate against an ldap server. The ldap configurationparameters are read from /usr/local/etc/saslau-
thd.conf. Thelocation of this file can be changed with the -O
parameter. See the LDAPSASLAUTHD file included with the distribution for the list of available parameters. sia (Digital UNIX)Authenticate using the Digital UNIX Security In-
tegration Ar-
chitecture (a.k.a. "enhanced security"). NNNNOOOOTTTTEEEESSSS The kerberos4 authentication driver consumes considerable resources. To perform an authentication it must obtain a ticket granting ticket from the TGT server oooonnnn eeeevvvveeeerrrryyyy aaaauuuutttthhhheeeennnnttttiiiiccccaaaattttiiiioooonnnn rrrreeeeqqqquuuueeeesssstttt.... The Kerberoslibrary rou-
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 useby other Ker-
beros applications. These ticket files are unusable by ssssaaaassssllllaaaauuuutttthhhhdddd, however there is no way not to create them. The overhead of creating and removing these ticket files can cause serious performance degradation on busy servers. (Kerberos was never intended to be used in this manner, anyway.) FFFFIIIILLLLEEEESSSS/var/run/saslauthd/mux The default communications socket.
/usr/local/etc/saslauthd.conf
The default configuration file for ldap support. SSSSEEEEEEEE AAAALLLLSSSSOOOO passwd(1), getpwent(3), getspnam(3), getuserpw(3), saslcheckpass(3) siaauthenticateuser(3),CMU-SASL 10 24 2002
3