sasl_log_level: Use the same sasldb on two Cyrus Imapd servers
Andreas Winkelmann
ml at awinkelmann.de
Thu Oct 18 15:50:36 EDT 2007
On Donnerstag, 18. Oktober 2007, Martin Schweizer wrote:
> > > - I checked a lot of documentation but I did not find out how I can
> > > set the log level for sasldb. I know the option is (sasl_)log_level
> > > (tested also only log_level) but with no success (also checked
> > > sasl.h). I get no more sasl debugging information then the standard
> > > ones.
> >
> > Don't expect too much from this log_level Option.
>
> I'm expect some more error messages regarding my problem below, for
> example why my authentication fails.
Hmm, generally log_level does not suppress Error-Messages. Just
Debug-Messages. And in the the case of sasldb there are not much
Debug-Messages available.
> > > - My goal is to use the same sasldb file for the server which works as
> > > master/client replicants. I disscused this issue at end of the last
> > > year with Andreas. Now I did some testing around this but I got no
> > > success (see posting below).
> >
> > Where is your Problem with the Hints below?
> >
> > > What do I wrong? Any hints are welcome.
>
> I tested your hints with the option -u domain.tld but could not
> successfully login to the cyrus imap server. Or should I change
> someting in the imapd,conf when I use the option -u domain.tld?
Like I wrote:
> > > 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.
You have to set the realm, in the case of Cyrus-Imapd it is the
servername:-Option.
--
Andreas
More information about the Cyrus-sasl
mailing list