[Freeipa-users] Freeipa-users Digest, Vol 30, Issue 8

Simo Sorce ssorce at redhat.com
Wed Jan 19 20:04:22 UTC 2011


On Wed, 19 Jan 2011 22:22:45 +0530
Aravind GV <aravind.gv at gmail.com> wrote:

> Hi Simo,
> 
> Thanks for responding to my email. I
> updated /usr/lib/python2.7/site-packages/ipaserver/install/dsinstance.py
> with the patch ie added extra line self.subject_base = None
> 
> Now i am getting different error
> 
> [root at dirsrv ~]# ipa-replica-manage connect  --winsync --binddn
> CN=agv,OU=Users,DC=bgkerb,DC=test02,DC=com  --cacert /root/bgkerb.cer
> bgkerb.test02.com --passsync asd312ASD --bindpw asd312ASD -v
> Directory Manager password:
> INFO:root:args=/sbin/service dirsrv stop
> INFO:root:stdout=Shutting down dirsrv:
>     AGV-COM...[  OK  ]
>     PKI-IPA...[  OK  ]
> 
> *INFO:root:stderr=*
> *unexpected error: 'Env' object has no attribute 'ra_plugin'*
> 
> 
> 
> Regards,
> AGV
> 
> On Wed, Jan 19, 2011 at 8:29 PM, Simo Sorce <ssorce at redhat.com> wrote:
> 
> > On Wed, 19 Jan 2011 09:28:45 -0500
> > Simo Sorce <ssorce at redhat.com> wrote:
> >
> > > On Wed, 19 Jan 2011 12:52:54 +0530
> > > Aravind GV <aravind.gv at 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 at 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
> >

Attached a corrected patch that should fix this second problem too.

Simo.

-- 
Simo Sorce * Red Hat, Inc * New York
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-simo-0062-Fix-ipa-replica-manage-regressions-with-winsync.patch
Type: text/x-patch
Size: 1939 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-users/attachments/20110119/2a215e2e/attachment.bin>


More information about the Freeipa-users mailing list