NAME
saslcheckpass - Check a plaintext password
SYNOPSIS
##iinncclluuddee <
iinntt ssaassllcchheecckkppaassss((ssaassllccoonnnntt **conn,, ccoonnsstt cchhaarr **user,, uunnssiiggnneedd userlen,, ccoonnsstt cchhaarr **pass,, uunnssiiggnneedd passlen));;> DESCRIPTION
ssaassllcchheecckkppaassss(()) will check a plaintext password. This is needed for protocols that had a login method before SASL (for example the LOGIN command in IMAP). The password is checked with the pwcheckmethod See saslcallbacks(3) for information on how this parameter is set. RREETTUURRNN VVAALLUUEEsaslcheckpass returns an integer which corresponds to one of the fol-
lowing codes. SASLOK indicates that the authentication is complete. All other return codes indicate errors and should either be handled or the authentication session should be quit. See saslerrors(3) for meanings of return codes. CCOONNFFOORRMMIINNGG TTOO RFC 2222SEE ALSO
sasl(3), saslerrors(3), saslcallbacks(3), saslsetpass(3) SASL man pages SASL saslcheckpass(10 July 2001)