Move sasldb2 between two servers
Martin Schweizer
schweizer.martin at gmail.com
Tue Jun 12 04:24:36 EDT 2007
Hello Patrick
2007/6/12, Patrick Ben Koetter <p at state-of-mind.de>:
> > I ask this question a long time ago but had no time until now. Here is
> > a snip of the conversation:
>
> Fine.
> Is there any question associated with your post or is it just for the books?
[snip]
An entry in sasldb contains 3 or maybe 4 parts. Username, Realm, Password (and
Type: the "userPassword"). If your users uses only a Username, without
@domain-Part, the Hostname of the Server is used for this key. This is
servername in imapd.conf for Cyrus-Imapd.
Either create entries with:
# saslpasswd -cu domain.tld username
And tell your users to use "user at domain.tld" as Username. This should work on
both servers, then.
Or if you (have already) create(d) entries with:
# saslpasswd -c username
The Hostname of the Server is used and either your Users use
"username at host.domain.tld" as username or you have to change something
between the Source and Destination (Backup) Server.
[snip]
I have two cyrus mail server with exact the same setup which runs in a
master/slave syncroniation. It works perfect. The problem is I need to
update both sasldb2 files if I get a new user. As you can read above
there are some solutions. In my environment the
The problem ist the above procedure do not works in my environment. I
can not authenticate if I use username at domain.tld. What do I wrong?
Kind regards,
--
Martin Schweizer
schweizer.martin at gmail.com
Tel.: +41 32 512 48 54 (VoIP)
Fax: +1 619 3300587
More information about the Cyrus-sasl
mailing list