[horde] IMAP Authentication issue

Jan Schneider jan at horde.org
Tue Apr 26 10:12:35 UTC 2011


Zitat von Simon Brereton <simon.brereton at dada.net>:

>> From: horde-bounces at lists.horde.org [mailto:horde-
>> bounces at lists.horde.org] On Behalf Of Simon Brereton
>> Sent: Monday, April 25, 2011 5:58 PM
>> To: horde at lists.horde.org
>> Subject: Re: [horde] IMAP Authentication issue
>>
>> > From: horde-bounces at lists.horde.org [mailto:horde-
>> > bounces at lists.horde.org] On Behalf Of Simon Brereton I recently
>> > changed my imap server over to dovecot (worth mentioning, but I
>> don't
>> > think that that's the issue - this may well have been the case
>> before
>> > then).  However, when I try to login to Horde, I get the
>> > following:
>> >
>> > A fatal error has occurred
>> >
>> > dimp does not have an API
>> >
>> > 1. require() /usr/share/horde4/login.php:175 2. Horde_Registry-
>> > >hasPermission() /usr/share/horde4/index.php:68 3.
>> > Horde_Core_Auth_Application->requireAuth()
>> > /usr/share/php/Horde/Registry.php:1409
>> > 4. Horde_Core_Auth_Application->hasCapability()
>> > /usr/share/php/Horde/Core/Auth/Application.php:480
>> > 5. Horde_Registry->getApiInstance()
>> > /usr/share/php/Horde/Core/Auth/Application.php:349
>> > Details
>> >
>> > The full error message is logged in Horde's log file, and is shown
>> > below only to administrators. Non-administrative users will not see
>> > error details.
>> >
>> > Nothing is showing in the horde log.  And the imap log shows no
>> > attempt made to authenticate.  When using a client this user is
>> able
>> > to log in fine.  Other users user are able to log into Horde ok.
>> >
>> > I'm baffled.  The only difference is that this user (my user) is
>> also
>> > listed in:
>> > $conf['auth']['admins']
>>
>> If I remove the username from the $conf['auth']['admins'] all I get
>> instead is:
>>
>> A fatal error has occurred
>>
>> dimp does not have an API
>>
>> Details have been logged for the administrator.
>
> Adding in a different user as the admin user worked fine for that  
> user, by my user was still having problems.  Occasionally, I was  
> able to get to a mail screen by pressing back (and I suspected this  
> was an sessions issue - even though I was seeing the correct inbox).  
>  After logging in (despite not seeing a login attempt in the imap  
> logs) if I clear the URL and just add imp after the host URL, I'm  
> able to access the inbox and thereafter everything functions  
> normally.  This applies whether my user is listed as the admin user  
> or not (although obviously with or without the admin privileges,  
> obviously).  However, tellingly when I do this, I'm taken to the  
> traditional interface...
>
> Previously when I reported this error someone (Michael?) said I  
> shouldn't be getting anything to do with DIMP.  Since there's  
> nothing H3 related on this box, I can only assume it's a  
> user-preference that's set somewhere (indeed, in the current H3 my  
> default display is set to display DIMP after I log in (even if the  
> dropdown box says traditional).  Also tellingly, if I change the  
> interface to mobile -smartphone, I'm able to log in without any  
> issue at all.
>
> So, I've been looking through all the preferences, and although  
> under General I've set it to display Mail and under Mail I've unset  
> and reset the dynamic if the browser supports it option, I continue  
> to be logged into Traditional mode.  Although the imap server is now  
> showing login attempts and I'm able to log in.
>
> Like Andreas (I think), I created the H4 db schema, and then  
> switched to a copy of the H3 db and re-ram the update-schema script.  
>  It would appear that something didn't update though.

Do you have your initial_application pref set to dimp?

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/



More information about the horde mailing list