[horde] Re: problem enumerating the users

Jan Schneider jan at horde.org
Wed Feb 16 01:48:16 PST 2005


Zitat von Craig White <craigwhite at azapple.com>:

> On Tue, 2005-02-15 at 23:33 +0100, Jan Schneider wrote:
>> Zitat von Craig White <craigwhite at azapple.com>:
>>
>> > I get errors when I try to get the list of users in
>> > Administration -> Users
>> >
>> > specific entry in /tmp/horde.log is
>> > Feb 15 12:38:54 HORDE [emergency] [horde] Too many login failures [on
>> > line 236 of "/var/www/html/horde/admin/user.php"]
>>
>> Your 'admin' settings in servers.php are wrong.
> ----
> I believe you, I'm not getting it...
>
> # testsaslauthd -u cyrus -p MY_PASSWD
> 0: OK "Success."
>
> $ /usr/lib/cyrus-imapd/imtest localhost
> S: * OK srv1.tobyhouse.com Cyrus IMAP4 v2.2.10-Invoca-RPM-2.2.10-11
> server ready
> C: C01 CAPABILITY
> S: * CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ MAILBOX-REFERRALS
> NAMESPACE UIDPLUS ID NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND
> BINARY SORT THREAD=ORDEREDSUBJECT THREAD=REFERENCES ANNOTATEMORE IDLE
> STARTTLS LISTEXT LIST-SUBSCRIBED X-NETSCAPE
> S: C01 OK Completed
> Please enter your password:
> C: L01 LOGIN cyrus {6}
> S: + go ahead
> C: <omitted>
> S: L01 OK User logged in
> Authenticated.
> Security strength factor: 0
>
> from servers.php
>
> $servers['cyrus'] = array(
> snip...
>    'admin' => array(
>        'params' => array(
>            'login' => 'cyrus',
>            'password' => 'MY_PASS',
>            'userhierarchy' => 'user.',
>            'protocol' => 'imap/notls',
>            'hostspec' => 'localhost',
>            'port' => 143
>
> this ain't rocket science

No, and everything looks fine. Weird.

> and it shows this error in /var/log/messages
> Feb 15 17:51:39 srv1 imap(pam_unix)[22355]: authentication failure;
> logname= uid=0 euid=0 tty= ruser= rhost=  user=cyrus
> Feb 15 17:51:42 srv1 saslauthd[22355]: do_auth         : auth failure:
> [user=cyrus] [service=imap] [realm=] [mech=pam] [reason=PAM auth error]

Any chance you can trace the conversation between the web server and 
the IMAP server?

Jan.

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


More information about the horde mailing list