diff options
author | Martin Nagy <mnagy@redhat.com> | 2009-06-09 14:59:11 +0200 |
---|---|---|
committer | Simo Sorce <ssorce@redhat.com> | 2009-07-10 09:55:29 -0400 |
commit | 51498038739cf4e3278457748938cd807095cfb3 (patch) | |
tree | 0ddc07ce0f775214c72ad92c3a015bd2b3c3c159 /install/share/bind.named.conf.template | |
parent | 9fe707a3f2e9a25e908cc9279c46a0f0c5acb15f (diff) | |
download | freeipa-51498038739cf4e3278457748938cd807095cfb3.tar.gz freeipa-51498038739cf4e3278457748938cd807095cfb3.tar.xz freeipa-51498038739cf4e3278457748938cd807095cfb3.zip |
Configure BIND LDAP driver to use SASL authentication
We use /etc/named.keytab generated by ipa-server-install to authenticate
against the LDAP server. Also tidy up /etc/named.conf since we're there.
Diffstat (limited to 'install/share/bind.named.conf.template')
-rw-r--r-- | install/share/bind.named.conf.template | 31 |
1 files changed, 16 insertions, 15 deletions
diff --git a/install/share/bind.named.conf.template b/install/share/bind.named.conf.template index a04fc181..69bd86b0 100644 --- a/install/share/bind.named.conf.template +++ b/install/share/bind.named.conf.template @@ -1,24 +1,23 @@ options { // Put files that named is allowed to write in the data/ directory: directory "/var/named"; // the default - dump-file "data/cache_dump.db"; - statistics-file "data/named_stats.txt"; - memstatistics-file "data/named_mem_stats.txt"; + dump-file "data/cache_dump.db"; + statistics-file "data/named_stats.txt"; + memstatistics-file "data/named_mem_stats.txt"; - /* Not used yet, support only on very recent bind versions */ -# tkey-gssapi-credential "DNS/$FQDN"; -# tkey-domain "$REALM"; + tkey-gssapi-credential "DNS/$FQDN"; + tkey-domain "$REALM"; }; -logging { -/* If you want to enable debugging, eg. using the 'rndc trace' command, - * By default, SELinux policy does not allow named to modify the /var/named directory, - * so put the default debug log file in data/ : +/* If you want to enable debugging, eg. using the 'rndc trace' command, + * By default, SELinux policy does not allow named to modify the /var/named directory, + * so put the default debug log file in data/ : */ - channel default_debug { - file "data/named.run"; - severity dynamic; - }; +logging { + channel default_debug { + file "data/named.run"; + severity dynamic; + }; }; zone "." IN { @@ -32,5 +31,7 @@ dynamic-db "ipa" { library "ldap.so"; arg "uri ldap://$FQDN"; arg "base cn=dns, $SUFFIX"; - arg "auth_method none"; + arg "auth_method sasl"; + arg "sasl_mech GSSAPI"; + arg "sasl_user DNS/$FQDN"; }; |