mirror of
https://github.com/samba-team/samba.git
synced 2024-12-31 17:18:04 +03:00
r24910: Merge named.conf patch by Andrew Kroeger <andrew@sprocks.gotdns.com>
into release branch.
Andrew Bartlett
(This used to be commit 413af0aa02
)
This commit is contained in:
parent
00f1c64913
commit
6e3ed3758f
@ -4,7 +4,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
#insert this into options {}
|
#insert this into options {}
|
||||||
tkey-gssapi-credential "DNS/${DNSDOMAIN}"
|
tkey-gssapi-credential "DNS/${DNSDOMAIN}";
|
||||||
tkey-domain "${REALM}";
|
tkey-domain "${REALM}";
|
||||||
|
|
||||||
#the zone file
|
#the zone file
|
||||||
@ -19,9 +19,18 @@ zone "${DNSDOMAIN}." IN {
|
|||||||
};
|
};
|
||||||
|
|
||||||
# Also, you need to change your init scripts to set this environment variable
|
# Also, you need to change your init scripts to set this environment variable
|
||||||
# for named: KRB_KTNAME so that it points to the keytab generated.
|
# for named: KRB5_KTNAME so that it points to the keytab generated.
|
||||||
# In RedHat derived systems such RHEL/CentOS/Fedora you can add the following
|
# In RedHat derived systems such RHEL/CentOS/Fedora you can add the following
|
||||||
# line to the /etc/sysconfig/named file
|
# line to the /etc/sysconfig/named file:
|
||||||
# export KRB_KTNAME=/etc/named.keytab
|
# export KRB5_KTNAME=${DNS_KEYTAB}
|
||||||
|
#
|
||||||
# *TODO*: generate and install a keytab file in /etc/named.keytab
|
# Please note that most distributions have BIND configured to run under
|
||||||
|
# a non-root user account. For example, Fedora Core 6 (FC6) runs BIND as
|
||||||
|
# the user "named" once the daemon relinquishes its rights. Therefore,
|
||||||
|
# the file "dns.keytab" must be readable by the user that BIND run as.
|
||||||
|
# If BIND is running as a non-root user, the "dns.keytab" file must have its
|
||||||
|
# permissions altered to allow thge daemon to read it. In the FC6
|
||||||
|
# example, execute the commands:
|
||||||
|
#
|
||||||
|
# chgrp named /usr/local/samba/private/dns.keytab
|
||||||
|
# chmod g+r /usr/local/samba/private/dns.keytab
|
||||||
|
Loading…
Reference in New Issue
Block a user