[Freeipa-devel] [PATCH] 316 Improve DN usage in ipa-client-install

Martin Kosek mkosek at redhat.com
Thu Sep 27 11:35:41 UTC 2012


A hotfix pushed in a scope of ticket 3088 forced conversion of DN
object (baseDN) in IPA client discovery so that ipa-client-install
does not crash when creating an IPA default.conf. Since this is not
a preferred way to handle DN objects, improve its usage:

- make sure, that baseDN retrieved by client discovery is always
  a DN object
- update ipachangeconf.py code to handle strings better and instead
  of concatenating objects, make sure they are converted to string
  first

As a side-effect of ipachangeconf changes, default.conf config file
generated by ipa-client-install has no longer empty new line at the
end of a file.

https://fedorahosted.org/freeipa/ticket/3088

-- 
Martin Kosek <mkosek at redhat.com>
Senior Software Engineer - Identity Management Team
Red Hat Inc.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-mkosek-316-improve-dn-usage-in-ipa-client-install.patch
Type: text/x-patch
Size: 11147 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20120927/cfbac7a5/attachment.bin>


More information about the Freeipa-devel mailing list