On Wed, 19 Jan 2011 09:28:45 -0500
Simo Sorce <sso...@redhat.com> wrote:

> On Wed, 19 Jan 2011 12:52:54 +0530
> Aravind GV <aravind...@gmail.com> wrote:
> 
> > Hi All
> > 
> > Please help me in adding a synchronization agreement. I followed (
> > http://freeipa.org/docs/2.0.0/Installation_Deployment_Guide/en-US/html/)
> > but the example given in  4.4. Creating Synchronization Agreements
> > is not correct. There is no more option add in ipa-replica-manage
> > command. After googling they suggested me to use connect instead of
> > add. This command worked but it stopped directory server and thorws
> > following errors. Jakub Hrozek suggested me to get logs
> > from /var/log/ipareplica-install.log. But this file is not at all
> > created only ipaclient-install.log ipaserver-install.log  are the
> > two files in that there is no reference to ipa-replica-mange
> > command.
> > 
> > I have installed ipa v2 from http://jdennis.fedorapeople.org repo.
> > 
> > [root@dirsrv ~]# ipa-replica-manage connect --winsync --binddn
> > CN=agv,OU=Users,DC=bgkerb,DC=test02,DC=com --bindpw asd312ASD
> > --cacert /root/bgkerb.cer 10.0.65.28 -v --passsync asd312ASD
> > INFO:root:args=/sbin/service dirsrv stop
> > INFO:root:stdout=Shutting down dirsrv:
> >     AGV-COM...[  OK  ]
> >     PKI-IPA...[  OK  ]
> > 
> > INFO:root:stderr=
> > unexpected error: DsInstance instance has no attribute
> > 'subject_base'
> 
> 
> I have opened ticket 807[1] to track this.
> Would you be available to test a patch ?
> 
> Simo.
> 
> [1] https://fedorahosted.org/freeipa/ticket/807
> 

Can you test this patch and see if it solves your issue completely ?

You should be able to manually fix it without having to redo the whole
install by simplky editing the dsinstance.py file and adding the line
you see in the patch.

Simo.

-- 
Simo Sorce * Red Hat, Inc * New York
>From a6128d4f7fc21d284ce2d8e154e4f8cdc7d9964d Mon Sep 17 00:00:00 2001
From: Simo Sorce <sso...@redhat.com>
Date: Wed, 19 Jan 2011 09:53:59 -0500
Subject: [PATCH] Initialize subject_base by default.

Avoids ipa-replica-manage to throw up errors.

Fixes: https://fedorahosted.org/freeipa/ticket/807
---
 ipaserver/install/dsinstance.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/ipaserver/install/dsinstance.py b/ipaserver/install/dsinstance.py
index 859d5c8ff737dad3ba96b162e90c7d1bae4e0d11..4fd7a00279c73c5b41e2d7ad5999c1af91eefbf8 100644
--- a/ipaserver/install/dsinstance.py
+++ b/ipaserver/install/dsinstance.py
@@ -180,6 +180,7 @@ class DsInstance(service.Service):
         self.dercert = None
         self.idstart = None
         self.idmax = None
+        self.subject_base = None
         if realm_name:
             self.suffix = util.realm_to_suffix(self.realm_name)
             self.__setup_sub_dict()
-- 
1.7.3.4

_______________________________________________
Freeipa-users mailing list
Freeipa-users@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-users

Reply via email to