Authentication problems

2001-05-22 Thread Andrew Kirilenko

Hello!

I've problems with authentication :(
Can somebody help me with this problem? It's really urgent and important!

Here's log:
cyrus@isserver:/home/iced$ imtest -p imap -m login localhost
C: C01 CAPABILITY
S: * OK isserver Cyrus IMAP4 v1.6.24 server ready
S: * CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ NAMESPACE UIDPLUS
X-NON-HIERARCHICAL-RENAME NO_ATOMIC_RENAME UNSELECT ID
S: C01 OK Completed
Password: Terminated
cyrus@isserver:/home/iced$
cyrus@isserver:/home/iced$ imtest -p imap -m login localhost
C: C01 CAPABILITY
S: * OK isserver Cyrus IMAP4 v1.6.24 server ready
S: * CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ NAMESPACE UIDPLUS
X-NON-HIERARCHICAL-RENAME NO_ATOMIC_RENAME UNSELECT ID
S: C01 OK Completed
Password:
+ go ahead
L01 NO Login failed: generic failure
Authenticated.
Security strength factor: 0
. logout
* BYE LOGOUT received
. OK Completed
Connection closed.
cyrus@isserver:/home/iced$

And here's my imapd.conf
configdirectory: /var/imap
partition-default: /var/spool/imap
admins: cyrus root
srvtab: /var/imap/srvtab
sasl_passwd_check: shadow
allowanonymouslogin: no

Best regards,
Andrew Kirilenko.




Moving users from cyrus-imapd 1.6.19 to 2.0.13

2001-05-22 Thread Dietmar Rahlfs

Hello,

now that I've installed the new cyrus-imapd
version 2.0.13 I'd like to move the users“
messages from the old 1.6.19 to the new
2.0.13 installation.

Though I've already done it, the users are
still working with the old installation,
and I'm not sure if the moving of the messages
has really been correct although the new
installation seems to work faultlessly with the
old messages.

I've done the following:

Copying /var/spool/imap/user,
  /var/imap/deliverdb, .../quota, .../user
  to the new installation.
Converting /var/imap/mailboxes to /var/imap/mailboxes.db:
  ctl_mboxlist -u < mailboxes

(The mailbox ascii type file was part of my 1.6.19
 installation.)

Then I reconstructed the whole thing (necessary,
recommended?).

Is this correct and sufficient?


Dietmar Rahlfs

P.S.: Of course /usr/sieve should be copied too.









Re: Authentication problems

2001-05-22 Thread Patrick Boutilier

Can the cyrus user read the /etc/shadow file?



Andrew Kirilenko wrote:

> Hello!
>
> I've problems with authentication :(
> Can somebody help me with this problem? It's really urgent and important!
>
> Here's log:
> cyrus@isserver:/home/iced$ imtest -p imap -m login localhost
> C: C01 CAPABILITY
> S: * OK isserver Cyrus IMAP4 v1.6.24 server ready
> S: * CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ NAMESPACE UIDPLUS
> X-NON-HIERARCHICAL-RENAME NO_ATOMIC_RENAME UNSELECT ID
> S: C01 OK Completed
> Password: Terminated
> cyrus@isserver:/home/iced$
> cyrus@isserver:/home/iced$ imtest -p imap -m login localhost
> C: C01 CAPABILITY
> S: * OK isserver Cyrus IMAP4 v1.6.24 server ready
> S: * CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ NAMESPACE UIDPLUS
> X-NON-HIERARCHICAL-RENAME NO_ATOMIC_RENAME UNSELECT ID
> S: C01 OK Completed
> Password:
> + go ahead
> L01 NO Login failed: generic failure
> Authenticated.
> Security strength factor: 0
> . logout
> * BYE LOGOUT received
> . OK Completed
> Connection closed.
> cyrus@isserver:/home/iced$
>
> And here's my imapd.conf
> configdirectory: /var/imap
> partition-default: /var/spool/imap
> admins: cyrus root
> srvtab: /var/imap/srvtab
> sasl_passwd_check: shadow
> allowanonymouslogin: no
>
> Best regards,
> Andrew Kirilenko.




RE: Authentication problems

2001-05-22 Thread Noll Janos

Hy!

 Are you sure the SASL libs are in place? I think they're placed in
/usr/local/lib, but that might not be in /etc/ld.so.conf (in Linux systems). If
this is done, then you need to run ldconfig.

 If that doesn't help maybe you could try strace-ing the imapd process.

 And a maybe faster test (well, this is an alternative):

 $ telnet 127.0.0.1 143
 * OK isserver Cyrus IMAP4 v1.6.24 server ready
 . LOGIN usernamehere passwordhere  <-- write this line, starting with the .
 . OK User logged in
 . LOGOUT <-- and this


On 23-May-2001 Andrew Kirilenko wrote:
> Hello!
> 
> I've problems with authentication :(
> Can somebody help me with this problem? It's really urgent and important!
> 
> Here's log:
> cyrus@isserver:/home/iced$ imtest -p imap -m login localhost
> C: C01 CAPABILITY
> S: * OK isserver Cyrus IMAP4 v1.6.24 server ready
> S: * CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ NAMESPACE UIDPLUS
> X-NON-HIERARCHICAL-RENAME NO_ATOMIC_RENAME UNSELECT ID
> S: C01 OK Completed
> Password: Terminated
> cyrus@isserver:/home/iced$
> cyrus@isserver:/home/iced$ imtest -p imap -m login localhost
> C: C01 CAPABILITY
> S: * OK isserver Cyrus IMAP4 v1.6.24 server ready
> S: * CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ NAMESPACE UIDPLUS
> X-NON-HIERARCHICAL-RENAME NO_ATOMIC_RENAME UNSELECT ID
> S: C01 OK Completed
> Password:
> + go ahead
> L01 NO Login failed: generic failure
> Authenticated.
> Security strength factor: 0
> . logout
> * BYE LOGOUT received
> . OK Completed
> Connection closed.
> cyrus@isserver:/home/iced$

| Noll Janos <[EMAIL PROTECTED]> | http://www.johnzero.hu |
| "Expect the unexpected!"| ICQ# 4547866 |  Linux rulez! |



No Subject

2001-05-22 Thread Gary Wallis

-hi folks,
-am a newbie at this, please be gentle.
-successfully installed cyrus-sasl-1.5.24 going step by step thru
-the cyrus IMAP HOWTO.
-However when i came to the install of cyrus-imapd-1.6.24 on to RH 7.0,
-i only got up to the stage of 6.5, building the files.
-when i tried to make depend, i got the error msg:
-make:***No rule to make target 'depend'. Stop.
-does any body have an idea what has gone wrong?
-and is there a fix to the above problem?
-TIA
-Gary Wallis

_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.