cyradm allowing non admin to log in, but not cyrus

Jonathan Villa jvilla at isdesigndev.com
Fri Apr 30 03:01:29 EDT 2004


Well, I think I found the issue...

my hostname is favre.iscdev.com

when I first created user jvilla I created him to the full domain
favre.iscdev.com... so when I did cyradmin .... localhost, he was the
only user which was a part of favre.... i.e localhost I then removed
jvilla from favre.iscdev.com and he was unable to log in...

I added cyrus at favre.iscdev.com to sasldb2 and he can now log in and I've
created an IMAP dir...

thanks for the reply.

On Fri, 2004-04-30 at 01:37, Andreas Winkelmann wrote:
> Am Freitag, 30. April 2004 08:06 schrieb Jonathan Villa:
> 
> > In imapd.conf I have
> >
> > admins: cyrus joe
> >
> > I try
> >
> > [jdv at favre jdv]$ cyradm -user cyrus -auth login localhost
> > IMAP Password:
> > Login failed: user not found at
> > /usr/local/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi/Cyrus/IMAP/Adm
> >in.pm line 117 cyradm: cannot authenticate to server with login as cyrus
> > [jdv at favre jdv]$
> >
> > then
> >
> > [root at favre jdv]# /usr/local/sbin/sasldblistusers2
> >
> > and I get my users listed, one of which is jvilla at mydomain...
> 
> Please show the entries for cyrus and jvilla.
> 
> > so, just for fun I tried
> >
> > [root at favre root]# cyradm -user jvilla -auth login localhost
> > IMAP Password:
> > favre>
> >
> >
> > but I don't have any privileges other than help, info, lq, server...
> >
> > this sort of blows my perception of the admins directive in imapd.conf.
> >
> > I also had cyrus in sasldb2 as well as user joe...
> >
> > I then created a new user called jonathan to /etc/sasldb2 but am unable
> > to use cyradm with this new user, jonathan.  why jvilla... that account
> > name only exists in /etc/sasldb2
> 
> Show the sasl-part of your imapd.conf:
> 
> # grep sasl /etc/imapd.conf

---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html




More information about the Info-cyrus mailing list