summaryrefslogtreecommitdiffstats
path: root/install
diff options
context:
space:
mode:
authorMartin Kosek <mkosek@redhat.com>2012-02-10 12:54:49 +0100
committerMartin Kosek <mkosek@redhat.com>2012-02-24 09:40:40 +0100
commit2cf58937615c28527d1c78f883dad8726331c6df (patch)
treef1d696b248406bb2daa50c4e4c0e9a275bebf035 /install
parent1816643a43802ca2a353930cb2bbb2781b39c80f (diff)
downloadfreeipa-2cf58937615c28527d1c78f883dad8726331c6df.tar.gz
freeipa-2cf58937615c28527d1c78f883dad8726331c6df.tar.xz
freeipa-2cf58937615c28527d1c78f883dad8726331c6df.zip
Global DNS options
Implement API for DNS global options supported in bind-dyndb-ldap. Currently, global DNS option overrides any relevant option in named.conf. Thus they are not filled by default they are left as a possibility for a user. Bool encoding had to be fixed so that Bool LDAP attribute can also be deleted and not just set to True or False. https://fedorahosted.org/freeipa/ticket/2216
Diffstat (limited to 'install')
-rw-r--r--install/share/dns.ldif1
-rw-r--r--install/updates/40-dns.update3
2 files changed, 4 insertions, 0 deletions
diff --git a/install/share/dns.ldif b/install/share/dns.ldif
index 1ffadb5a9..5a60bc11b 100644
--- a/install/share/dns.ldif
+++ b/install/share/dns.ldif
@@ -1,5 +1,6 @@
dn: cn=dns,$SUFFIX
changetype: add
+objectClass: idnsConfigObject
objectClass: nsContainer
objectClass: top
cn: dns
diff --git a/install/updates/40-dns.update b/install/updates/40-dns.update
index 7b1c45754..ef2627bd7 100644
--- a/install/updates/40-dns.update
+++ b/install/updates/40-dns.update
@@ -20,3 +20,6 @@ add: basedn: 'cn=privileges,cn=pbac,$SUFFIX'
add: filter: (objectclass=*)
add: ttl: 10
+# add idnsConfigObject if it is not there already
+dn: cn=dns, $SUFFIX
+addifexist: objectClass: idnsConfigObject