Jean8888
April 16th, 2012, 09:25 AM
I am running ubuntu server 11.10 64-bits
I have to do a mock test, Samba 4 alpha18 domain controller.
So I folow the WIKI HowTo: http://wiki.samba.org/index.php/Samba4/HOWTO (I'm at step 8 )
# apt-get install bind9
Add samba name.conf to bind9 configuration
# nano /etc/bind/named.conf.local
I must add the configuration file of samba dns, so the line:
include "/usr/local/samba/private/named.conf"; --(when adding this line that Bind9 will not start)
bind9 refuses to start because of Apparmor.
So to give permission:
nano /etc/apparmor.d/usr.sbin.named
Add :
## for samba4
/usr/local/samba/private/** rw,
/usr/local/samba/private/dns/* rw,
#etc/init.d/apparmor reload
also
#apparmor_parser -r /etc/apparmor.d/usr.sbin.named
bind1.9.7 and bind1.9.9 don't start
Thanks
I have to do a mock test, Samba 4 alpha18 domain controller.
So I folow the WIKI HowTo: http://wiki.samba.org/index.php/Samba4/HOWTO (I'm at step 8 )
# apt-get install bind9
Add samba name.conf to bind9 configuration
# nano /etc/bind/named.conf.local
I must add the configuration file of samba dns, so the line:
include "/usr/local/samba/private/named.conf"; --(when adding this line that Bind9 will not start)
bind9 refuses to start because of Apparmor.
So to give permission:
nano /etc/apparmor.d/usr.sbin.named
Add :
## for samba4
/usr/local/samba/private/** rw,
/usr/local/samba/private/dns/* rw,
#etc/init.d/apparmor reload
also
#apparmor_parser -r /etc/apparmor.d/usr.sbin.named
bind1.9.7 and bind1.9.9 don't start
Thanks