Change dns backend
Zur Navigation springen
Zur Suche springen
packet installation
- samba stop
service samba-ad-dc stop
- install bind9
apt-get install bind9
- stop bind9 if it run
service bind9 stop
- because i am to lazy to configure apparmor - remove it :-)
apt-get remove apparmor reboot
- add this to named.conf.local
include "/var/lib/samba/private/named.conf";
- add this to named.conf.local
tkey-gssapi-keytab "/var/lib/samba/private/dns.keytab";
- remove from smb.conf
server services = ........ -dns
- change in
/var/lib/samba/private/named.conf # For BIND 9.9.0 database "dlopen /usr/lib/x86_64-linux-gnu/samba/bind9/dlz_bind9_9.so";
- start the services
service samba-ad-dc start service bind9 start
from the source
- samba stop
service samba stop
- install bind9
apt-get install bind9
- stop bind9 if it run
service bind9 stop
- because i am to lazy to configure apparmor - remove it :-)
apt-get remove apparmor reboot
- add this to named.conf.local
include "/usr/local/samba/private/named.conf";
- add this to named.conf.local
tkey-gssapi-keytab "/usr/local/samba/private/dns.keytab";
- remove from smb.conf
server services = ........ -dns
- change in
/usr/local/samba/private/named.conf # For BIND 9.9.0 database "dlopen /usr/lib/x86_64-linux-gnu/samba/bind9/dlz_bind9_9.so";
- start the services
service samba start service bind9 start