Problem with starting Cyradm

Mitrana Cristian cmitrana at xnet.ro
Mon Jan 6 11:12:35 EST 2003


* Dennis Pedersen <dp at jrdata.dk> [06-01-03 08:27]:
 
> Hi,
> I have been trying to get Cyrus (cyrus-imapd-2.0.17 ) to work on my
> FreeBSD box (4.7-RELEASE FreeBSD 4.7-RELEASE #0: Wed Oct  9 15:08:34 GMT
> 2002     root at builder.freebsdmall.com:/usr/obj/usr/src/sys/GENERIC
> i386). Cyrus has been installed through ports and I just did a cvsup
> before installing to make sure (I installed it on a simmular box for
> some time ago, pretty much the same fault so I'm missing something.)
>  
> %whoami
> cyrus
> %imtest -m login -p imap localhost
> C: C01 CAPABILITY
> S: * OK samba.jr-data.dk Cyrus IMAP4 v2.0.17 server ready
> S: * CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ NAMESPACE UIDPLUS ID
> NO_ATOMIC_RENAME UNSELECT MULTIAPPEND SORT THREAD=ORDEREDSUBJECT
> THREAD=REFERENCES IDLE AUTH=DIGEST-MD5 AUTH=CRAM-MD5
> S: C01 OK Completed
> Password:
> C: L01 LOGIN cyrus {6}
> + go ahead
> C: <omitted>
> L01 OK User logged in
> Authenticated.
> Security strength factor: 0
>  
> Okai the login part works fine.
> Then I want to start up the cyradm :
>  
> %cyradm localhost
> Please enter your password:
> cyradm: cannot authenticate to server with  as cyrus
>  
> /var/log/messages writes the following:
> Jan  6 11:25:20 samba imapd[48715]: badlogin: localhost[::1] DIGEST-MD5
> authentication failure [unable to get user's secret]
>  
> Groups.google.com did'nt show much about what could be the possible
> solution to this - anyone?
>  
>  
>  
> Imap.conf:
> sasl_pwcheck_method: pwcheck
> admins: cyrus
>  
> rc.conf:
> sasl_pwcheck_enable="YES"
> sasl_pwcheck_program="/usr/local/sbin/pwcheck"

Use:
cyradm --auth LOGIN localhost
and should work. man cyradm for more details.

hth,
mitu




More information about the Info-cyrus mailing list