[horde] Re: problem enumerating the users
Craig White
craigwhite at azapple.com
Wed Feb 16 13:04:52 PST 2005
On Wed, 2005-02-16 at 12:51 -0700, Craig White wrote:
> On Wed, 2005-02-16 at 10:48 +0100, Jan Schneider wrote:
> > 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?
> ----
> OK - got it - the difference is that the above configuration
> notwithstanding, the 'admin' login is sending encrypted whereas the
> users imap logins are not encrypted.
>
> I would have thought that imap/notls would be correct as it is working
> for the users imap login in the same server section.
----
hazards of cvs I guess - turned out that 'cvs update -Pd' one more time
solved it. sheesh - thanks Jan
I'm grateful for the debugging experience, it helps to learn this stuff
- sort of becoming responsible for fixing my problems ;-)
Craig
More information about the horde
mailing list