Re: saslpasswd and virtual domains

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, May 11, 2006 at 03:44:31PM +0200, Rudy Gevaert wrote:
> Hello,
> 
> I have some problems with setting up a domain wide cyrus administrator.
> 
> If I create a cyrus@xxxxxxxxxxxxx user with saslpasswd2 and login as 
> that user with cyradm I can administrate the mail.ugent.be mailboxes.
> 
> In my imapd.conf I have:
> ...
> admins: cyrus@xxxxxxxxxxxxx cyrus
> defaultdomain: ugent.be
> virtdomains: userid
> ...
> 
> So I would suspect that the user cyrus@xxxxxxxx would be able to add 
> mailboxes in my domains, and in my ugent.be domain.
> 
> jura:/mail/mail1# sasldblistusers2
> cyrus@xxxxxxxx: userPassword
> cyrus@xxxxxxxxxxxxx: userPassword
> 
> 
> jura:/mail/mail1# cyradm --user cyrus mail1.ugent.be
> Password:
> cyradm: cannot authenticate to server with  as cyrus
> Segmentation fault
> jura:/mail/mail1# cyradm --user cyrus@xxxxxxxx mail1.ugent.be
> Password:
> cyradm: cannot authenticate to server with  as cyrus@xxxxxxxx
> Segmentation fault
> 
> The cyrus@xxxxxxxxxxxxx user works as admin.
> 
> jura:/mail/mail1# cyradm --user cyrus@xxxxxxxxxxxxx  mail1.ugent.be
> Password:
> mail1.ugent.be>
> 
> I have found some posts about the same problem in google groups but not 
>  with an answers.
> 

defaultdomain always is removed from username. imho, sasl routines
use hostname as realm for this case.

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

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux