Newbie Q's: Authentication problems

Jon Drukman jsd at cluttered.com
Thu Sep 26 20:10:28 EDT 2002


I'm trying to set up a system where there are no normal user accounts, but 
people can get mail.  I'm using sasl-2.1.7 and cyrus-imapd-2.1.9 on FreeBSD4.

I set up some accounts using saslpasswd2.  I can see them with sasldblistusers2

# sasldblistusers2
liquid at rs2.gamespot.com: userPassword
cyrus at rs2.gamespot.com: userPassword
root at rs2.gamespot.com: userPassword

However, I can't connect with cyradm to create accounts.  I'm sure I have 
set up sasl improperly, but I don't know how to fix it.

Here's my /etc/imapd.conf:

# cat /etc/imapd.conf
configdirectory: /var/imap
defaultpartition: default
partition-default: /var/spool/imap
allowplaintext: no
sasl_pwcheck_method: saslauthd
admins: cyrus
sasl_mech_list: PLAIN

I copied /etc/cyrus.conf from master/conf/small.conf

Here's what it looks like when I try to connect:

# cyradm --user cyrus localhost
IMAP Password:
               Login only available under a layer at 
/usr/local/lib/perl5/site_perl/5.005/i386-freebsd/Cyrus/IMAP/Admin.pm line 114
cyradm: cannot authenticate to server with  as cyrus

The only logfile lines are:

Sep 26 17:06:03 rs2 master[73544]: about to exec /usr/cyrus/bin/imapd
Sep 26 17:06:03 rs2 imap[73544]: executed
Sep 26 17:06:03 rs2 imapd[73544]: accepted connection


Eventually I don't want any plaintext authentication happening.  I'm used 
to setting up UW-imap, which lets you define secrets in a cram-md5 file, 
and then it uses them for authentication.  However in that situation you 
need user accounts on the system.  My ultimate goal is: no user accounts 
and no plaintext passwords.

Please help.

-jsd-






More information about the Info-cyrus mailing list