mirror of
https://github.com/roundcube/roundcubemail.git
synced 2026-03-19 06:26:49 +01:00
* krb_authentication: remove default principal krb_authentication_context must be set to the right value to make GSSAPI work, we should not have any default for it outside config files, it could confuse users. We already handle empty/bad context in rcube_imap_generic.php, Net_Sieve, Net_SMTP. * krb_authentication: config.php.dist fix GSSAPI is better for searching, since GSS API is not used widely. host.fqdn@REALM.NAME is actually never used without service-prefix, on the other side it may be valid to use 'computername$' or 'username' with Samba/Active Directory, the common name for all these - 'principal'. * krb_authentication: raise error on empty context
21 lines
789 B
Plaintext
21 lines
789 B
Plaintext
<?php
|
|
|
|
// Kerberos/GSSAPI Authentication Plugin options
|
|
// ---------------------------------------------
|
|
|
|
// Default mail host to log-in using user/password from HTTP Authentication.
|
|
// This is useful if the users are free to choose arbitrary mail hosts (or
|
|
// from a list), but have one host they usually want to log into.
|
|
// Unlike $config['default_host'] this must be a string!
|
|
$config['krb_authentication_host'] = '';
|
|
|
|
// GSSAPI security context.
|
|
// Single value or an array with per-protocol values. Example:
|
|
//
|
|
// $config['krb_authentication_context'] = array(
|
|
// 'imap' => 'imap/host.fqdn@REALM.NAME',
|
|
// 'smtp' => 'smtp/host.fqdn@REALM.NAME',
|
|
// 'sieve' => 'sieve/host.fqdn@REALM.NAME',
|
|
// );
|
|
$config['krb_authentication_context'] = 'principal@REALM.NAME';
|