cyradm allowing non admin to log in, but not cyrus

Andreas Winkelmann ml at awinkelmann.de
Fri Apr 30 02:37:35 EDT 2004


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

-- 
	Andreas

---
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