Henrique de Moraes Holschuh wrote:
It's a standalone box that doesn't have anyone else to talk to, I really don't think that I need kerberos.

1. Install cyrus21-imapd, cyrus21-admin, sasl2-bin, cyrus21-pop3d,
cyrus21-clients

2. for i in all your users ; do saslpasswd2 -c $i ; done

3. vi /etc/imapd.conf, edit at least the admins line, and make
   sure whatever you have for an admin has been saslpasswd2 -c'ed.
   (default would be user cyrus)

4. cyradm --user admin localhost  (change admin to whatever your admin is)
   cm user.thefirstuser
   cm user.theseconduser
   ...

5. That's it.

I got stuck at #4 (again). I did keep cyrus as one of the admins just for simplicity. Somewhere the authentication isn't getting through. Which is why I thought this was an issue with SASL and not cyrus.


1)

apt-get -t unstable install cyrus21-imapd, cyrus21-admin, sasl2-bin, cyrus21-pop3d, cyrus21-clients

be installed:
cyrus21-common krb5-config libasn1-5-heimdal libcomerr1-kerberos4kth
libcyrus-imap-perl libgssapi1-heimdal libkrb-1-kerberos4kth
libkrb5-17-heimdal libroken9-kerberos4kth libsasl2
The following packages will be REMOVED:
ipopd-ssl
The following NEW packages will be installed:
cyrus21-admin cyrus21-clients cyrus21-common cyrus21-imapd cyrus21-pop3d
krb5-config libasn1-5-heimdal libcomerr1-kerberos4kth libcyrus-imap-perl
libgssapi1-heimdal libkrb-1-kerberos4kth libkrb5-17-heimdal
libroken9-kerberos4kth libsasl2 sasl2-bin
0 packages upgraded, 15 newly installed, 1 to remove and 355 not upgraded.
Need to get 3224kB of archives. After unpacking 8352kB will be used.
Do you want to continue? [Y/n]

Kerberos asked for a region, I put in 'oscillon.com' (default)

-----------
2)

saslpasswd2 -c cyrus
saslpasswd2 -c tallison
saslpasswd2 -c harvey

penguin:/home/tallison# sasldblistusers2
tallison@penguin: userPassword
cyrus@penguin: userPassword
harvey@penguin: userPassword


-------------------

3)

/etc/imapd.conf:
admins: cyrus tallison


-----------------

4)

penguin:/home/tallison# cyradm --user cyrus localhost
IMAP Password:

Login failed: user not found at /usr/lib/perl5/Cyrus/IMAP/Admin.pm line 114
cyradm: cannot authenticate to server with as cyrus


/var/log/syslog:
Dec 18 09:48:36 penguin cyrus/imapd[2944]: badlogin: localhost[127.0.0.1] plaint
ext tallison SASL(-13): user not found: checkpass failed
Dec 18 09:48:39 penguin cyrus/imapd[2944]: telling master 1
Dec 18 09:48:39 penguin cyrus/master[2785]: service imap now has 1 workers



--
"This generation may be the one that will face Armageddon."
-- Ronald Reagan, "People" magazine, December 26, 1985


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to