[Freeipa-devel] [PATCH] configured server first

David O'Brien daobrien at redhat.com
Wed Apr 16 03:24:48 UTC 2008


Simo Sorce wrote:
> Use the configured server in ipa.conf first.
> This is a kind of poor man server affinity but helps admins have a
> server of preference they always contact if it is available.
> Normal fallback still works if that server does not work.
>
> Simo.
>
>   
> ------------------------------------------------------------------------
>
> # HG changeset patch
> # User Simo Sorce <ssorce at redhat.com>
> # Date 1207766221 14400
> # Node ID fd06d4b83d08f666c681b3df85698d5350c2972a
> # Parent  0e829d2c4448273e279fd57e93dc0f33a4603d82
> Make sure we use the configured server in ipa.conf first, and
> fallback to the discovered ones only if that's not available
>
>  
>      if not config.default_realm:
>          raise IPAConfigError("IPA realm not found in DNS, in the config file (/etc/ipa/ipa.conf) or on the command line.")
>   
Question about this, or maybe an example would clear it up...
Is fallback going to work also from the cli? e.g. pass the realm on the 
cli and if that's not found look in ipa.conf and if not there use DNS 
and if all that fails spit out the above error?

What's an example of passing the realm on the cli? I thought it was 
optional...

/me the not quite grokking it yet...

-- 

David O'Brien
IPA Content Author
Red Hat Asia Pacific

"We couldn't care less about comfort. We make you feel good."
Federico Minoli CEO Ducati Motor S.p.A.




More information about the Freeipa-devel mailing list