- global $PHP_SELF, $session_expired_post,
- $session_expired_location;
+ global $PHP_SELF, $session_expired_post,
+ $session_expired_location, $squirrelmail_language;
sqsession_register($session_expired_post,'session_expired_post');
}
if (!sqsession_is_registered('session_expired_location')) {
sqsession_register($session_expired_post,'session_expired_post');
}
if (!sqsession_is_registered('session_expired_location')) {
*/
function digest_md5_response ($username,$password,$challenge,$service,$host) {
$result=digest_md5_parse_challenge($challenge);
*/
function digest_md5_response ($username,$password,$challenge,$service,$host) {
$result=digest_md5_parse_challenge($challenge);
// verify server supports qop=auth
// $qop = explode(",",$result['qop']);
//if (!in_array("auth",$qop)) {
// verify server supports qop=auth
// $qop = explode(",",$result['qop']);
//if (!in_array("auth",$qop)) {
/* This can be auth (authentication only), auth-int (integrity protection), or
auth-conf (confidentiality protection). Right now only auth is supported.
/* This can be auth (authentication only), auth-int (integrity protection), or
auth-conf (confidentiality protection). Right now only auth is supported.
$reply .= ',qop=' . $qop_value;
$reply = base64_encode($reply);
return $reply . "\r\n";
$reply .= ',qop=' . $qop_value;
$reply = base64_encode($reply);
return $reply . "\r\n";
// We're in a "simple" value - explode to next comma
$val=explode(',',$challenge,2);
if (isset($val[1])) {
// We're in a "simple" value - explode to next comma
$val=explode(',',$challenge,2);
if (isset($val[1])) {
* Fillin user and password based on SMTP auth settings.
*
* @param string $user Reference to SMTP username
* @param string $pass Reference to SMTP password (unencrypted)
*/
function get_smtp_user(&$user, &$pass) {
* Fillin user and password based on SMTP auth settings.
*
* @param string $user Reference to SMTP username
* @param string $pass Reference to SMTP password (unencrypted)
*/
function get_smtp_user(&$user, &$pass) {
$smtp_sitewide_user, $smtp_sitewide_pass;
if ($smtp_auth_mech == 'none') {
$smtp_sitewide_user, $smtp_sitewide_pass;
if ($smtp_auth_mech == 'none') {