default domain reverts to hostname?

Andreas Winkelmann ml at awinkelmann.de
Tue Oct 3 04:38:15 EDT 2006


Am Tuesday 03 October 2006 02:09 schrieb Jo Rhett:

> It may appear that the answer is
> 	servername: name I want to use for local realm
>
> Any reason I shouldn't do it this way?  Any better way?

The value of servername is presented after Connecting to your server. If you 
move the Configuration to another Server, the real Servername and the 
presented can differ. If you can live with that, this is the easiest way.

You didn't tell us what you mean with Database. If you mean sasldb, there are 
some ways to change the Realm in it. Dump it, change it and reload it.

> > Okay, I know this was hashed out a while ago so I'm sure there's a good
> > answer for it, but I can't seem to find this in the archives.
> >
> > With virtdomains: yes, if you specify defaultdomain: mydomain.com, then
> > what happens is that authentication against the database always sets the
> > realm to $hostname.
> >
> > This isn't a good behavior.  What if the hostname changes?  What if the
> > tools used to edit the database don't know (or need to) the current
> > system hostname?
> >
> > Isn't there a way so that 'jrhett' or 'jrhett@${defaultdomain}'
> > authenticate with sasl with a realm set to the default domain?

-- 
	Andreas


More information about the Info-cyrus mailing list