[horde] Authentication problems (SOLVED)
aferreira at gaiajoy.com
Mon Nov 7 12:19:44 PST 2005
I corrected that, but it didn't work anyway, as my custom auth form and the
horde framework domains were diferent(www.domain.com vs webmail.domain.com).
Newbie lame error I know. :P
I Moved my code to the horde domain and it worked :)
Thxs a lot for your help,
> -----Original Message-----
> From: horde-bounces at lists.horde.org [mailto:horde-bounces at lists.horde.org]
> On Behalf Of Mini Chate
> Sent: 07 November 2005 20:26
> To: horde at lists.horde.org
> Subject: Re: [horde] Authentication problems (possible bug ?)
> I had a similar problem a few days ago. Make sure your cookie path is '/',
> clear your cache and try again.
> aferreira at gaiajoy.com wrote:
> > Hi There!
> > I'm trying to develop code to, among other stuff, authenticate with
> > horde from a external application. As explain in the main docs, the
> > main code goes like this:
> > --------------
> > // Define path to Horde.
> > define('HORDE_BASE', '/var/www/html/horde');
> > // Load the Horde Framework core, and set up inclusion paths.
> > require_once HORDE_BASE . '/lib/core.php';
> > // Create the Registry object.
> > $registry = &Registry::singleton();
> > $auth = &Auth::singleton($conf['auth']['driver']);
> > $authenticated = $auth->authenticate('$imapuser', array('password' =>
> > '$pass'));
> > -----------------------------------
> > However I'm using imp for autentication; Put it this way, i'm
> > autenticating in horde, that autenticates itself in imp(driver
> > application imp) and then imp executes imap authentication (and then in
> > /etc/passwd or ldap). This avoids the double login issue in imp.
> > Sounds like a lot of authentication workflow, but through the framework
> > it really works like a charm. :)
> > Through the API it fails, stating this in the horde logs:
> > Nov 07 17:06:45 HORDE [emergency]  imp does not provide an
> > authenticate() method. [on line 105 of
> > "/var/www/html/horde/lib/Horde/Auth/application.php"]
> > I'm almost sure autenticate() exists both in the horde api and in the
> > one.
> > Either i'm not doing the call to the methods right or this is a
> > bug...or something else...
> > I'm using imp 4.0.4 and Horde 3.0.6
> > Any help would be kindly appreciated.
> > TIA,
> > Alex
> Horde mailing list - Join the hunt: http://horde.org/bounties/#horde
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
More information about the horde