Change dns backend: Unterschied zwischen den Versionen

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

Version vom 7. Juli 2014, 15:54 Uhr

  • 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