[Freeipa-devel] [PATCH] 1032 allow multiple --server in client install, don't always set _srv_

Rob Crittenden rcritten at redhat.com
Tue Jul 3 22:12:08 UTC 2012


If you pass in --server and --fixed-primary then don't add _srv_ to 
ipa_server in sssd.conf.

This necessitates the desire to be able to provide multiple servers  so 
make --server accept multiple values. This represents the bulk of the 
code changes. In every case we only use the additional values in sssd.conf.

I also made some minor tweaks to discovery. There were cases where DNS 
discovery wasn't successful but we set dnsok anyway which could cause 
some cascading issues.

There are a ton of possible corner cases with this so please, be brutal.

I tested the following against a DNS server that had SRV records and 
against one that did not.

- ipa-client-install
- ipa-client-install --server=ipa.example.com --domain=example.com
- ipa-client-install --server=ipa.example.com --server=ipa1.example.com 
--domain-example.com
- ipa-client-install -server=ipa.example.com --server=ipa1.example.com 
--domain-example.com --fixed-primary
- ipa-client-install -server=ipa.example.com --server=ipa1.example.com 
--domain-example.com --fixed-primary --no-sssd
- ipa-client-install -server=ipa.example.com --server=ipa1.example.com 
--domain-example.com --no-sssd

rob
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-rcrit-1032-client.patch
Type: text/x-diff
Size: 16668 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20120703/7e4396f7/attachment.bin>


More information about the Freeipa-devel mailing list