[horde] Horde can not login.

Tony Earnshaw tonni at billy.demon.nl
Tue Jan 14 07:28:43 PST 2003


tir, 2003-01-14 kl. 15:14 skrev Theewara Vorakosit:

> Can I use set horde to authenticate itself using imap driver without imp? I
> does not install imp. I install only horde and chora. I have to authenticate
> user becuase I don't want everybody access to my CVS. Here is my
> configuration of horde:
> 
> $conf['auth']['driver'] = 'imap';
> $conf['auth']['params'] = array();
> $conf['auth']['params']['dsn'] = '{localhost.localdomain:143/imap}INBOX';

I reckon Eric has probably already answered your question. Maybe you
haven't understood what he wrote.

> The log shows that horde sends encrypt to imap. However, I can not disable
> this crypt message. Here is the excerpt of log:
> Tue 2003-01-14 20:47:19: [516:5] Accepting IMAP connection from
> [158.108.32.45]
> Tue 2003-01-14 20:47:19: [516:5] * OK company.mail IMAP4rev1 MDaemon 6.5.1
> ready
> Tue 2003-01-14 20:47:19: [516:5] 00000000 CAPABILITY
> Tue 2003-01-14 20:47:19: [516:5] * CAPABILITY IMAP4rev1 NAMESPACE
> AUTH=CRAM-MD5 IDLE ACL
> Tue 2003-01-14 20:47:19: [516:5] 00000000 OK CAPABILITY completed
> Tue 2003-01-14 20:47:19: [516:5] 00000001 AUTHENTICATE CRAM-MD5

CRAM-MD5 is a particular (SASL) authentication and needs a particular
setup. Have you carried out this setup? Because if not, even if you
carry out the above step, you will still not be able to log in, even
though you do what Eric suggested.

> Tue 2003-01-14 20:47:19: [516:5] +
> PE1EQUVNT04tRjIwMDMwMTE0MjA0Ny5BQTQ3MTkxODdNRDQ3NTZAY29tcGFueS5tYWlsPg==
> Tue 2003-01-14 20:47:19: [516:5]
> dGh2byBkYzY2MzYyMjE3NTBkNDRiZjg4NjY5NDIyMDdhMTAxZA==
> Tue 2003-01-14 20:47:19: [516:5] 00000001 BAD Authentication failed

What Horde and Imp versions? With HEAD you can carry out Imp tests in
advance.

> Would you please tell me how to solve this problem?

You need to find out a lot more about how SSL/TLS and certificates work.
You need to find out a lot more about how the software you've installed
works. You need to find out more about how IMAPv4 works. Until you've
done this, you won't solve your problem.

The best thing you can do, is to compile and install your own IMAPv4 and
Openssl software, learn to understand and configure both of them.

In fact, UW IMAPv4 has good documentation, is easier to understand than
Cyrus or Courier and can be compiled with any options you choose. You
don't have to enable SSL encryption or any other autorization than plain
passwords. At least it's a start.

Best,

Tony

--


> > Quoting Theewara Vorakosit <thvo at ksc.th.com>:
> >
> > >     I can not login horde using imap. Both redhat 7.3 and 8.0. On red
> hat
> > > 7.3 it complains
> > >  Warning: Certificate failure for localhost.localdomain: self signed
> > > certificate:
> > >
> /C=--/ST=SomeState/L=SomeCity/O=SomeOrganization/OU=SomeOrganizationalUnit/C
> > > N=localhost.localdomain/Email=root at localhost.localdomain (errflg=2) in
> > > Unknown on line 0
> >
> > See the comments in horde/imp/config/servers.php (you need to add
> > /novalidatecert or something like that to your protocol string).
> >
> > >    In Red hat 8.0,
> > > Jan 14 11:17:35 samsoft imapd[18444]: imap service init from 127.0.0.1
> > > Jan 14 11:17:35 samsoft imapd[18444]: Command stream end of file, while
> > > reading line user=??? host=UNKNOWN
> > >
> > >     Would you please tell me how to solve this problem?
> >
> > Very likely need to add /notls to the protocol in
> horde/imp/config/servers.php
> > but there is no way to say for sure with the limited info you gave us.
> >
> > > Thanks,
> > > Theewara
> >
> > --
> > Eric Rostetter
> > The Department of Physics
> > The University of Texas at Austin
> >
> > Why get even? Get odd!
> >
-- 

Tony Earnshaw

When all's said and done ...
there's nothing left to say or do.

e-post:		tonni at billy.demon.nl
www:		http://www.billy.demon.nl





More information about the horde mailing list