----- "Pavel Zuna" <pz...@redhat.com> wrote:

> if api.env.enable_dns:
>       print "DNS is managed by IPA"
> 
> ====
> 
> ipa env | grep "enable_dns: True" > /devnull && echo "DNS is managed
> by IPA"
> 
> ====
> 
> Ticket #600


Nack, sorry the approach is completely wrong.

As discussed on IRC you should search the LDAP server and see if the DNS 
service is enabled for at least one master under 
cn=masters,cn=ipa,cn=etc,$SUFFIX

This new data is only available after my patch 0025 is pushed.

Simo.

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

Reply via email to