[Freeipa-devel] Use ldap2 instead of legacy LDAP code from v1 in installer scripts.

Pavel Zůna pzuna at redhat.com
Wed Apr 14 16:58:22 UTC 2010


On 4/14/2010 4:35 PM, Rob Crittenden wrote:
> Pavel Zuna wrote:
>> On 03/30/2010 10:27 PM, Rob Crittenden wrote:
>>> Pavel Zuna wrote:
>>>> On 03/23/2010 09:40 PM, Rob Crittenden wrote:
>>>>> Pavel Zuna wrote:
>>>>>> This is the first in a series of patches, that replace all the legacy
>>>>>> code from v1 related to LDAP. I did some limited testing of the
>>>>>> installer after this patch and nothing seems to break, but I
>>>>>> didn't do
>>>>>> replicas etc...
>>>>>>
>>>>>> Pavel
>>>>>
>>>>> nack. This breaks at least ipa-replica-manage, ipa-replica-prepare,
>>>>> ipa-server-certinstall and ipa-replica-install.
>>>>>
>>>>> rob
>>>> Fixed patch attached.
>>>>
>>>> Pavel
>>>
>>> I'm not sure if you attached the wrong patch or not (it's dated 3/24)
>>> but things are still not working:
>>>
>>> # ipa-replica-install replica-info-tiger.example.com.gpg
>>> Directory Manager (existing master) password:
>>>
>>> creation of replica failed: 'Env' object has no attribute 'basedn'
>>>
>>> Your system may be partly configured.
>>> Run /usr/sbin/ipa-server-install --uninstall to clean up.
>>>
>>> rob
>> Sorry for a late reply. Here's a patch that should finally work. I did
>> a lot more testing and setting up a replica went smoothly every time.
>>
>> Pavel
>
> Lots better. I was able to create and manage replicas but
> ipa-dns-install isn't working:
>
> # ipa-dns-install
>
> The log file for this installation can be found in
> /var/log/ipaserver-install.log
> ==============================================================================
>
> This program will setup DNS for the FreeIPA Server.
>
> This includes:
> * Configure DNS (bind)
>
> To accept the default shown in brackets, press the Enter key.
>
> Existing BIND configuration detected, overwrite? [no]: y
> Do you wish to configure DNS forwarders? [no]:
> No DNS forwarders configured
> Directory Manager password:
>
> Unexpected error - see ipaserver-install.log for details:
> 'API' object has no attribute 'env_host'
Ouch, sorry about that. New patch attached.

Pavel
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-Use-ldap2-instead-of-legacy-LDAP-code-from-v1-in-ins.patch
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20100414/fa8eb948/attachment.ksh>


More information about the Freeipa-devel mailing list