roundcubemail/plugins/krb_authentication/krb_authentication.php
function storage_connect($args)
    {
        if (!empty($_SERVER['REMOTE_USER']) && !empty($_SERVER['KRB5CCNAME'])) {
            // Load plugin's config file
            $this->load_config();

            $rcmail  = rcmail::get_instance();
            $context = $rcmail->config->get('krb_authentication_context');

            $args['gssapi_context'] = $context ?: 'imap/kolab.example.org@EXAMPLE.ORG';
            $args['gssapi_cn']      = $_SERVER['KRB5CCNAME'];
            $args['auth_type']      = 'GSSAPI';
        }

        return $args;
    }
function storage_connect($args)
    {
        if (!empty($_SERVER['REMOTE_USER']) && !empty($_SERVER['KRB5CCNAME'])) {
            // Load plugin's config file
            $this->load_config();

            $rcmail  = rcmail::get_instance();
            $context = $rcmail->config->get('krb_authentication_context');

            $args['gssapi_context'] = $context ?: 'imap/kolab.example.org@EXAMPLE.ORG';
            $args['gssapi_cn']      = $_SERVER['KRB5CCNAME'];
            $args['auth_type']      = 'GSSAPI';
        }

        return $args;
    }
function storage_connect ( $ args ) { if ( ! empty ( $ _SERVER [ 'REMOTE_USER' ] ) && ! empty ( $ _SERVER [ 'KRB5CCNAME' ] ) ) { // Load plugin's config file $ this -> load_config ( ) ; $ rcmail = rcmail :: get_instance ( ) ; $ context = $ rcmail -> config -> get ( 'krb_authentication_context' ) ; $ args [ 'gssapi_context' ] = $ context ? : 'imap/kolab.example.org@EXAMPLE.ORG' ; $ args [ 'gssapi_cn' ] = $ _SERVER [ 'KRB5CCNAME' ] ; $ args [ 'auth_type' ] = 'GSSAPI' ; } return $ args ; }
Storage_connect hook handler
Storage_connect hook handler