[imp] WG: Re: problem with composite auth driver (newbie)

Jan Schneider jan at horde.org
Wed Sep 6 01:11:32 PDT 2006



----- Weitergeleitete Nachricht von claude.pomalo at free.fr -----
      Datum: Wed, 06 Sep 2006 07:18:30 +0200
        Von: Claude Pomalo <claude.pomalo at free.fr>
    Betreff: Re: [imp] problem with composite auth driver (newbie)
         An: Jan Schneider <jan at horde.org>

i am not the admin of the pop serveur and i want that the imp/mimp must
be a gateway to this server.

if i have the imp auth the "user" menu is disabled in admin of horde and
i cannot add a user for kronolith/turba

claude

Le mardi 05 septembre 2006 à 10:58 +0200, Jan Schneider a écrit :
> Zitat von Claude Pomalo <claude.pomalo at free.fr>:
>
> > hello
> >
> > I have setup a wekk ago a horde groupware with imp/mimp app cheking a
> > remote pop3 server.
> >
> > i want that user access the imp/mimp with only one auth login but the
> > access to horde groupware require sql driver.
> >
> > i have set this line in my horde/config/conf.php
> > ---------------------------------------------------------
> > $conf['auth']['params']['drivers']['mysql']['driver'] = 'sql';
> > $conf['auth']['params']['drivers']['mysql']['params'] = array(
> >     'driverconfig' => 'horde',
> >     'encryption' => 'md5-hex',
> >     'show_encryption' => false);
> > $conf['auth']['params']['drivers']['imp']['driver'] = 'application';
> > $conf['auth']['params']['drivers']['imp']['params'] = array(
> >     'app' => 'imp');
> > $conf['auth']['params']['drivers']['mimp']['driver'] = 'application';
> > $conf['auth']['params']['drivers']['mimp']['params'] = array(
> >     'app' => 'mimp');
> >
> > $conf['auth']['params']['loginscreen_switch'] =
> > '_horde_select_loginscreen';
> > if (!function_exists('_horde_select_loginscreen')) {
> >     function _horde_select_loginscreen() {
> > 	$url = $_SERVER['REQUEST_URI'];
> > 	if (strpos($url,'imp')!=false) {
> > 	    require_once('Horde/Browser.php');
> > 	    $browser = new Browser();
> >     	    if ($browser->isMobile()) {
> >         	return 'mimp';
> > 	    }
> > 	    else {
> > 		return 'imp';
> > 	    }
> > 	}
> > 	else {
> > 	    return 'mysql';
> > 	}
> >     }
> > }
> > --------------------------------------------------------
> >
> > if i set only the "mysql" driver, i can log in horde but when i add the
> > imp and mimp drivers, i cannot acces my groupware  and i have always the
> > horde login screen also for imp and mimp
> >
> > what's wrong? please
>
> Nothing, but your setup doesn't make any sense. Why do you want sql
> authentication at all?
>
> Jan.
>
> --
> Do you need professional PHP or Horde consulting?
> http://horde.org/consulting/
>



----- Ende der weitergeleiteten Nachricht -----


Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/
-------------- next part --------------
An embedded message was scrubbed...
From: Claude Pomalo <claude.pomalo at free.fr>
Subject: Re: [imp] problem with composite auth driver (newbie)
Date: Wed, 06 Sep 2006 07:18:30 +0200
Size: 5103
Url: http://lists.horde.org/archives/imp/attachments/20060906/0fe3438b/attachment.mht


More information about the imp mailing list