Re: why does salspasswd2 always append a realm?

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

 



On Wednesday 03 January 2007 22:38, Marten Lehmann wrote:

> I would like to insert an admin-user without a domain/realm into an
> sasldb2. But saslpasswd2 always appends the hostname to the userid I
> provide.
>
> Example:
>
> echo "test" | saslpasswd2 -c admin
> sasldblistusers2
> admin@localhost: userPassword
>
> How can I avoid this? I have "virtdomains: userid" in my
> /etc/imapd.conf, but I need an admin-user without realm so that I manage
> all accounts with it, not just accounts within the same realm.

Use a defaultdomain (man imapd.conf).

imapd.conf:
admins: admin admin@xxxxxxxxxxx ...
defaultdomain: domain.tld

# saslpasswd2 -cu domain.tld admin

And authenticate as "admin".

-- 
	Andreas
----
Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
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