Really can't figure this out
Craig White
craigwhite at azapple.com
Wed Feb 16 13:24:38 EST 2005
No - not an option...
# saslauthd -v
saslauthd 2.1.15
authentication mechanisms: getpwent kerberos5 pam rimap shadow
Simon's rpm - curiously enough, I used Simon's rpm on this system and
the rebuild from Fedora 3 source rpm's on my home system and that one
doesn't exhibit this problem but it would be too simplistic to blame
Simon's rpm on this problem. The biggest problem is that I don't know
enough to enable 'debug' level of logging on cyrus-imapd or cyrus-sasl
to see where the problem is.
Craig
On Wed, 2005-02-16 at 12:00 -0600, Jason Huddleston wrote:ote:
> Have you tried a mech of LOGIN???
>
> -----Original Message-----
> From: Craig White [mailto:craigwhite at azapple.com]
> Sent: Wednesday, February 16, 2005 8:57 AM
> To: huddlesj at otc.edu
> Cc: info-cyrus at lists.andrew.cmu.edu
> Subject: RE: Really can't figure this out
>
> No - that seems to be from horde 2 / imp 3
>
> How can I log cyrus imap in debug mode? I seem in man imapd that there
> is a '-D' option but usage is entirely unclear.
>
> How about cyrus-sasl since it appears to be the one logging the failed
> login?
>
> Craig
>
> On Wed, 2005-02-16 at 00:58 -0600, Jason Huddleston wrote:
> > This is what I have in mine.
> >
> > $servers['emh1'] = array(
> > 'name' => 'OTC E-mail',
> > 'server' => 'emh1.otc.edu',
> > 'protocol' => 'imap/notls',
> > 'port' => 143,
> > 'folders' => '',
> > 'namespace' => '',
> > 'maildomain' => 'emh1.otc.edu',
> > 'smtphost' => 'localhost',
> > 'realm' => 'otc.edu',
> > 'preferred' => ''
> > );
> >
> >
> > Maybe this will help you get started.
> >
> > Jay
> >
> >
> > -----Original Message-----
> > From: owner-info-cyrus at lists.andrew.cmu.edu
> > [mailto:owner-info-cyrus at lists.andrew.cmu.edu] On Behalf Of Craig White
> > Sent: Wednesday, February 16, 2005 12:03 AM
> > To: info-cyrus at lists.andrew.cmu.edu
> > Subject: Really can't figure this out
> >
> > Trying to set up 'horde' and I can't get it to enumerate the users in
> > cyrus.
> >
> > The setup seems simple enough and all users can authenticate to imap
> > server without an issue. The issue is the administrative user.
> >
> > I can login to imap as cyrus...
> >
> > # su - cyrus -c 'telnet localhost 143'
> > Trying 127.0.0.1...
> > Connected to localhost.localdomain (127.0.0.1).
> > Escape character is '^]'.
> > * OK srv1.tobyhouse.com Cyrus IMAP4 v2.2.10-Invoca-RPM-2.2.10-11 server
> > ready
> > . login cyrus x3y2z1
> > . OK User logged in
> > . list
> > . BAD Missing required argument to List
> > . logout
> > * BYE LOGOUT received
> >
> > but setup in horde/imp/servers.php has this portion for the 'admin user'
> >
> > $servers['cyrus'] = array(
> > snip...
> > 'admin' => array(
> > 'params' => array(
> > 'login' => 'cyrus',
> > 'password' => 'MY_PASS',
> > 'userhierarchy' => 'user.',
> > 'protocol' => 'imap/notls',
> > 'hostspec' => 'localhost',
> > 'port' => 143
> >
> > and as you can see by the logs, my telnet login goes through but my
> > 'admin' connection via horde/imp is rejected (same
> > localhost/username/password/protocol)
> >
> > Feb 15 22:49:34 srv1 imap[23331]: badlogin: localhost.localdomain
> > [127.0.0.1] plaintext cyrus SASL(-13): authentication failure: checkpass
> > failed
> >
> > less than 1 minute apart
> >
> > Feb 15 22:50:42 srv1 imap[23329]: login: localhost.localdomain
> > [127.0.0.1] cyrus plaintext User logged in
> >
> > I have tried MECH="pam" and MECH="shadow" and it seems to make little
> > difference.
> >
> > Why does this happen? How can I get more info on what is going on?
>
>
>
>
>
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
More information about the Info-cyrus
mailing list