Change dns backend: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Zeile 1: | Zeile 1: | ||
+ | =packet installation= | ||
*samba stop | *samba stop | ||
service samba-ad-dc stop | service samba-ad-dc stop | ||
Zeile 20: | Zeile 21: | ||
*start the services | *start the services | ||
service samba-ad-dc start | 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 | service bind9 start |
Aktuelle Version vom 7. Juli 2014, 17:58 Uhr
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