On Sat, Nov 13, 2004 at 12:51:58PM +0400 or thereabouts, Sergey wrote:
> Hello.
> 
> Can I create sasl user without domain ? I attemt to run 
> cyradm --user cyrus localhost
> but password isn't accepted:
> # cyradm --user cyrus localhost
> Password:
> Segmentation fault
> #
> (another question: Is "Segmentation fault" normal for bad password ? 
> cyrus-imapd-2.2.8 )

Hi Sergey,

no, I am shure, it is not. I have never had segmentation faults.

> 
> I was attempt to create user by 
> 
> saslpasswd2 -c -u "" cyrus
> saslpasswd2 -c -u '' cyrus
> saslpasswd2 -c cyrus
> 
> In all cases sasl create login [EMAIL PROTECTED] I can set [EMAIL PROTECTED]
> as cyrus administrator, but I think what it not good.

As far as I have understand the docs, saslpasswd2 _always_ takes the
domain name of the local machine if you don't set it at the command
line when initialising the password. That is a pitfall, if you change
it after having implememted your mailusers. That is because password 
is correct, but login doesn't match anymore.

Think it over, Sergey, how should sasl destinguish between
[EMAIL PROTECTED] and [EMAIL PROTECTED] if you have user.name,
too? Does it belong to domain.one, domain.two, all or none?

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

Reply via email to