[Freeipa-devel] [PATCH 76] Use DN objects instead of strings

Martin Kosek mkosek at redhat.com
Mon Aug 13 11:50:46 UTC 2012


On 08/10/2012 11:45 PM, Rob Crittenden wrote:
> Robert Crittenden wrote:
>> This looks good, I just want to amend the commit with the tickets that this
>> addresses before pushing.
>>
>> It seems that this covers 1670-1674. Is 1392 included as well?
>>
>> rob
>>
>> ----- Original Message -----
>> From: "John Dennis" <jdennis at redhat.com>
>> To: "freeipa-devel" <freeipa-devel at redhat.com>
>> Sent: Friday, August 10, 2012 1:11:23 PM
>> Subject: [Freeipa-devel] [PATCH 76] Use DN objects instead of strings
>>
>> Due to the size and disruptive nature of this patch it was reviewed and
>> tested outside the normal patch review process, see the thread "DN patch
>> and documentation" as well as other threads on this list. This patch is
>> the cumulative result of that review process.
>>
>> John
>>
> 
> Posting this since I haven't pushed the patch yet. I found this installing with
> --selfsign:
> 
> diff --git a/ipaserver/install/certs.py b/ipaserver/install/certs.py
> index 1bbee35..eebaa48 100644
> --- a/ipaserver/install/certs.py
> +++ b/ipaserver/install/certs.py
> @@ -1048,7 +1048,7 @@ class CertDB(object):
>          # Prepare a simple cert request
>          req_dict = dict(PASSWORD=self.gen_password(),
>                          SUBJBASE=self.subject_base,
> -                        CERTNAME=DN('CN', nickname))
> +                        CERTNAME=DN(('CN', nickname)))
>          req_template = ipautil.SHARE_DIR + reqcfg + ".template"
>          conf = ipautil.template_file(req_template, req_dict)
>          fd = open(reqcfg, "w+")
> 


Good job John, I think we are very close to push. I am attaching 2 patch to fix
the last major issues I found. One for "ipa-replica-manage list" which crashed
when winsync agreements were on and also few blocking issues in migration
plugin. Both patches are tested and issues resolved.

winsync replica agreements setup will need one more patch. But this issue is
not originated in DN - I will send a separate patch based on top of your work.

Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-DN-usage-in-ipa-replica-manage-list.patch
Type: text/x-patch
Size: 1007 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20120813/58d0184e/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Fix-DN-usage-in-migration-plugin.patch
Type: text/x-patch
Size: 3992 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20120813/58d0184e/attachment-0001.bin>


More information about the Freeipa-devel mailing list