Changeset 4124 in subversion
- Timestamp:
- Oct 22, 2010 3:25:00 PM (3 years ago)
- Location:
- trunk/roundcubemail
- Files:
-
- 4 edited
-
CHANGELOG (modified) (1 diff)
-
config/main.inc.php.dist (modified) (2 diffs)
-
program/include/rcmail.php (modified) (1 diff)
-
program/include/rcube_imap_generic.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/roundcubemail/CHANGELOG
r4123 r4124 45 45 - Add LOGINDISABLED support (RFC 2595) 46 46 - Add support for AUTH=PLAIN in IMAP authentication 47 - Re-implemented SMTP proxy authorization support 47 - Re-implemented SMTP proxy authentication support 48 - Add support for IMAP proxy authentication (#1486690) 48 49 49 50 RELEASE 0.4.2 -
trunk/roundcubemail/config/main.inc.php.dist
r4123 r4124 87 87 // IMAP connection timeout, in seconds. Default: 0 (no limit) 88 88 $rcmail_config['imap_timeout'] = 0; 89 90 // Optional IMAP authentication identifier to be used as authorization proxy 91 $rcmail_config['imap_auth_cid'] = null; 92 93 // Optional IMAP authentication password to be used for imap_auth_cid 94 $rcmail_config['imap_auth_pw'] = null; 89 95 90 96 // ---------------------------------- … … 121 127 $rcmail_config['smtp_auth_cid'] = null; 122 128 123 // Optional SMTP auth orization password to be used for smtp_auth_cid129 // Optional SMTP authentication password to be used for smtp_auth_cid 124 130 $rcmail_config['smtp_auth_pw'] = null; 125 131 -
trunk/roundcubemail/program/include/rcmail.php
r4089 r4124 502 502 $options = array( 503 503 'auth_method' => $this->config->get('imap_auth_type', 'check'), 504 'auth_cid' => $this->config->get('imap_auth_cid'), 505 'auth_pw' => $this->config->get('imap_auth_pw'), 504 506 'delimiter' => isset($_SESSION['imap_delimiter']) ? $_SESSION['imap_delimiter'] : $this->config->get('imap_delimiter'), 505 507 'rootdir' => isset($_SESSION['imap_root']) ? $_SESSION['imap_root'] : $this->config->get('imap_root'), -
trunk/roundcubemail/program/include/rcube_imap_generic.php
r4122 r4124 421 421 } 422 422 else { // PLAIN 423 $reply = base64_encode($user . chr(0) . $user . chr(0) . $pass); 423 // proxy authentication 424 if (!empty($this->prefs['auth_cid'])) { 425 $authc = $this->prefs['auth_cid']; 426 $pass = $this->prefs['auth_pw']; 427 } 428 else { 429 $authc = $user; 430 } 431 432 $reply = base64_encode($user . chr(0) . $authc . chr(0) . $pass); 424 433 425 434 // RFC 4959 (SASL-IR): save one round trip
Note: See TracChangeset
for help on using the changeset viewer.
