Re: Ploblem with creating user withount domain part (cyrus-sasl2-2.1.19)

2004-11-15 Thread Sergey
On Saturday 13 November 2004 16:10, Sascha Wuestemann wrote:

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

By no means. It need for global cyrus administrator only. And it can't 
have mail box. :-)

-- 
Regards,
Sergey
---
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


Re: Ploblem with creating user withount domain part (cyrus-sasl2-2.1.19)

2004-11-13 Thread Torsten E.
Hi Sergey,

Sergey schrieb am Samstag, 13. November 2004 09:51:

> 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

Have had the prob in the past.
But using:
cyradm --auth login --user cyrus localhost
works fine here.

Have to set a password for cyrus?
(passwd cyrus)

At least on SuSE system those steps doing a good job ... :)

[ ... ]

Have a nice day
Torsten

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


Re: Ploblem with creating user withount domain part (cyrus-sasl2-2.1.19)

2004-11-13 Thread Sascha Wuestemann
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


Ploblem with creating user withount domain part (cyrus-sasl2-2.1.19)

2004-11-13 Thread Sergey
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 )

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.

-- 
Regards,
Sergey
---
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