[horde] PHP Notice: Undefined index: driver in.../horde-2.2.4/lib/Auth.php

Daniel Eckl daniel.eckl at gmx.de
Wed Dec 10 08:02:15 PST 2003


Look at this paragraph:

// What backend should we use for authenticating users to Horde? Valid
// options are currently 'imap', 'ldap', 'mcal', 'sql', 'ftp', 'smb',
// 'krb5' and 'radius'.
//$conf['auth']['driver'] = '';

Well, '' is not part of the list 'imap', 'ldap', 'mcal', 'sql', 'ftp', 'smb',
'krb5' and 'radius'.

This is logical. If horde asks you "Who should I ask wheather a supplied
username or password is correct or not?" then you cannot answer "nobody". Well,
you can say this, but with lack of any sense.

So uncomment this variable and choose your method of authentication to your
willing and according to your system design.

Greets,
Daniel

Zitat von Luis Daniel Alvarez <daniel at enet.cu>:

> Hi Eric
> Following indications
>
> ===============================================
> /**
>  ** Horde Authentication
>  **/
>
> // If you want to use IMP with Horde and don't want to let the users
> // login twice (once for Horde and once for IMP) you can setup Horde
> // to let IMP do the authentication stuff. Just uncomment the
> // auth/login/logout lines in registry.php instead of configuring the
> // following settings. (THIS IS MY CASE)
>
> // What backend should we use for authenticating users to Horde? Valid
> // options are currently 'imap', 'ldap', 'mcal', 'sql', 'ftp', 'smb',
> // 'krb5' and 'radius'.
> //$conf['auth']['driver'] = '';
> ...............
> ===================================================
>
> On my registry.php
> =====================================================
> /* auth: Handler for user authentication.
>  *   Uncomment the auth/login/logout lines if you want to let
>  *   IMP handle the authentication for Horde. This avoids the
>  *   "double login" while accessing IMP.
>  */
> $this->registry['auth']['login'] = 'imp';
> $this->registry['auth']['logout'] = 'imp';
>
> /* mail: Handler for sending mail. */
> $this->registry['mail']['compose'] = 'imp';
> $this->registry['mail']['composePopup'] = 'imp';
> ..........
> =========================================================
>
> Is anything wrong?
>
> Daniel Alvarez
> ISP-InfoCom
>
> ----- Original Message -----
> From: "Eric Rostetter" <eric.rostetter at physics.utexas.edu>
> To: <horde at lists.horde.org>
> Sent: Wednesday, December 10, 2003 8:54 AM
> Subject: Re: [horde] PHP Notice: Undefined index: driver
> in.../horde-2.2.4/lib/Auth.php
>
>
> > Quoting Luis Daniel Alvarez <daniel at enet.cu>:
> >
> > > [Tue Dec  9 14:04:14 2003] [error] PHP Notice:  Undefined index:  driver
> in
> > > .../horde-2.2.4/lib/Auth.php on line 229
> > > [Tue Dec  9 14:04:14 2003] [error] PHP Notice:  Undefined index:  driver
> in
> > > .../horde-2.2.4/lib/Auth.php on line 229
> >
> > I would guess you haven't set your authentication driver in
> > horde/config/horde.php
> >
> > You need to find and configure it in horde.php.  It should look like:
> >
> > // What backend should we use for authenticating users to Horde? Valid
> > // options are currently 'imap', 'ldap', 'mcal', 'sql', 'ftp' and 'krb5'.
> > $conf['auth']['driver'] = '';
> >
> > If you did set it, then perhaps you have an error in your horde.php file
> > elsewhere that is stopping it from executing.
> >
> > --
> > Eric Rostetter
> > The Department of Physics
> > The University of Texas at Austin
> >
> > Why get even? Get odd!
> >
> > --
> > Horde mailing list
> > Frequently Asked Questions: http://horde.org/faq/
> > To unsubscribe, mail: horde-unsubscribe at lists.horde.org
>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.548 / Virus Database: 341 - Release Date: 05/12/2003
>
>
> --
> Horde mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
>
>
>




More information about the horde mailing list