[no subject]

2001-10-09 Thread Robert McCallum

Hello, 
Which methods of authentication can be used if I do
not want to actually add user accounts to the server
that cyrus is running on, just mail accounts??
Thanks in advance
Robert

__
Do You Yahoo!?
NEW from Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
http://geocities.yahoo.com/ps/info1



Authentication questions (was RE:)

2001-10-09 Thread Robert McCallum

Yes I read the manual (many times) I am not sure if I
completely understand it.
I have:

configdirectory: /var/imap
partition-default: /usr/imap
defaultpartition: default
admins: cyrus root
sasl_pwcheck_method: sasldb

in /etc/imapd.conf. 

if goober does not exist on the system I get the
following:

imap# saslpasswd goober
Password:
Again (for verification):
imap# imtest -m login -u goober -a goober imap
C: C01 CAPABILITY
S: * OK imap.goob.com Cyrus IMAP4 v2.0.12 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 goober {6}
+ go ahead
C: 
L01 NO Login failed: Userid not found <<---confused!!
Authentication failed. generic failure
Security strength factor: 0

Also If the sasldb and regular unix password are not
the same cyradm crashes.

imap# cyradm -u cyrus imap
Please enter your password:
IMAP Password:
   at
/usr/local/lib/perl5/site_perl/5.005/i386-freebsd/Cyrus/IMAP/Admin.pm
line 78
cyradm: cannot authenticate to server with  as cyrus

If the passwords match I get logged in okay.
However once logged in I cannot create a mail box.

imap# cyradm -u cyrus imap
Please enter your password:
imap.goob.com> cm user.robert
createmailbox: Permission denied

must I be in a certain directory when I
"createmailbox"?? What am I doing wrong?
as you can see I have cyrus as an admin user in
imapd.conf.

FreeBSD 4.3
Cyrus IMAP4 v2.0.12 
Cyrus-sasl 1.5.24

sorry so long winded.
so any hints??
Thanks for the response.
Robert


--- David Fuchs <[EMAIL PROTECTED]> wrote:
> I take it you never read the manual for SASL, which
> is the software 
> Cyrus uses for authentication.  It's default
> authentication method is 
> 'sasldb' - a separate database for storing
> username/password information 
> for mail accounts only.
> 
> -David Fuchs
> 
> Robert McCallum wrote:
> 
> >Hello, 
> >Which methods of authentication can be used if I do
> >not want to actually add user accounts to the
> server
> >that cyrus is running on, just mail accounts??
> >Thanks in advance
> >Robert
> >
> >__
> >Do You Yahoo!?
> >NEW from Yahoo! GeoCities - quick and easy web site
> hosting, just $8.95/month.
> >http://geocities.yahoo.com/ps/info1
> >
> 
> 
> 
> 


__
Do You Yahoo!?
Make a great connection at Yahoo! Personals.
http://personals.yahoo.com



Re: Authentication questions (was RE:)

2001-10-10 Thread Robert McCallum

Thanks Ralph... I had not tried that before, however
this did not seem to work for me:
It seems that the admins section of the imapd.conf is
not working

**telnet session:
telnet imap 143
Trying xxx.xxx.xxx.xxx...
Connected to imap.goob.com.
Escape character is '^]'.
* OK imap.goob.com Cyrus IMAP4 v2.0.12 server ready
. login cyrus cyruspas
. OK User logged in
. create user.test
. NO Permission denied    wrote:
> [EMAIL PROTECTED] schreibt:
> >
> >imap# cyradm -u cyrus imap
> >Please enter your password:
> >IMAP Password:
> >   at
>
>/usr/local/lib/perl5/site_perl/5.005/i386-freebsd/Cyrus/IMAP/Admin.pm
> >line 78
> >cyradm: cannot authenticate to server with  as
> cyrus
> 
> If you try to connect as cyrus you must set a
> password (with saslpasswd) for cyrus.
> >
> >imap# cyradm -u cyrus imap
> >Please enter your password:
> >imap.goob.com> cm user.robert
> >createmailbox: Permission denied
> >
> >must I be in a certain directory when I
> >"createmailbox"?? What am I doing wrong?
> >as you can see I have cyrus as an admin user in
> >imapd.conf.
> >
> No you don't must in a special directory. Are the
> write-permissions in the "partition-default:
> /usr/imap" so that user cyrus can write ? (Importent
> is not the user "cyrus" from the sasldb but
> also the unix-user under that the master-daemon
> run's).
> 
> take a look an my config:
> 
> linux:~ # cat /etc/imapd.conf
> configdirectory: /var/imap
> partition-default: /var/spool/imap
> admins: admin
> defaultacl: anyone lrs
> 
> sasl_pwcheck_method: pam
> 
> quotawarn: 80
> timeout: 30
> plaintextloginpause: 0
> 
> linux:~ # telnet localhost 143
> Trying ::1...
> telnet: connect to address ::1: Connection refused
> Trying 127.0.0.1...
> Connected to localhost.
> Escape character is '^]'.
> * OK linux Cyrus IMAP4 v2.0.16 server ready
> . login admin adminpassword
> . OK User logged in
> . create user.test
> . OK Completed
> . list "user.test" *
> * LIST () "." "user.test"
> . OK Completed (0.000 secs 2 calls)
> . logout
> * BYE LOGOUT received
> . OK Completed
> Connection closed by foreign host.
> linux:~ # 
> 
> 
> bye..ralph
> 


__
Do You Yahoo!?
Make a great connection at Yahoo! Personals.
http://personals.yahoo.com



[no subject]

2001-10-12 Thread Robert McCallum

hello,
It seems I have the reverse problem of Mr. Bartosh
"(excuse my ignorance) auth methods".
Is --with-auth=unix the correct option to configure if
I want to use sasldb
without pam or shadow??
If so is pwcheck required for the use of sasldb?
I cannot authenticate if pwcheck is not running is
this correct?
also see below...
Thanks in advance for any hints.
Robert


FROM PREVIOUS POST:
It seems that the admins section of the imapd.conf is
not working

**telnet session:
telnet imap 143
Trying xxx.xxx.xxx.xxx...
Connected to imap.goob.com.
Escape character is '^]'.
* OK imap.goob.com Cyrus IMAP4 v2.0.12 server ready
. login cyrus cyruspas
. OK User logged in
. create user.test
. NO Permission denied