[Samba] Samba_internal dns Ubuntu 14.04.1LTS

Donelson Trophy bob at donelsontrophy.net
Fri Nov 7 06:25:52 MST 2014


I am having problems getting dns to function correctly with Ubuntu

My /etc/hosts file is: localhost

# Need to keep entry or DNS fails mysrvr03.mycomapny.biz wdnsrvr03 mysrvr03.mycompany.biz wdnsrvr03

# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters 

My /etc/network/interface is: 

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet static
# dns-nameservers
# dns-nameservers
# dns-search mycompany.biz 

My /etc/samba/smb.conf is: 

# Global parameters
 workgroup = MYCOMPANY
 netbios name = MYSRVR03
 server role = active directory domain controller
# dns forwarder =
 dns forwarder =
# dns forwarder =
 idmap_ldb:use rfc2307 = yes
 allow dns updates = nonsecure and secure

 # from blogging.dragon.org.uk
 # stops the syslog being spammed by lack of a CUPS server
 printing = CUPS
 printcap name = /dev/null

 idmap_ldb:use rfc2307 = yes
 idmap config MYCOMPANY:backend = ad
 idmap config MYCOMPANY:schema_mode = rfc2307
 idmap config MYCOMPANY:range = 10000-29999
 idmap config *:backend = tdb
 # this range must not overlap the MYCOMPANY:range above 
 idmap config *:range = 50000-60000

 # Use home directory and shell information from AD
 winbind nss info = rfc2307

 path = /var/lib/samba/sysvol/mycompany.biz/scripts
 read only = No

 path = /var/lib/samba/sysvol
 read only = No

 path = /Shares/DTUsers
 comment = domain users folders 4 re-direction
 read only = No

 path = /Shares/Profiles
 comment = domain users profiles
 read only = No

 path = /Shares/Media
 comment = music, video, etc.
 read only = No

 path = /Shares/Software
 comment = software installation files
 read only = No 

Okay, so notice the various "comment out" entries. I keep reading and
trying to 'get my head' around the various combinations. It seems many
tutorials (on Internet) keep contradicting themselves. One author did
his/hers this way, that author did his/hers that way, etc. 

When using Ubuntu 14.04 as the Samba4 ADDC what is the correct settings?




Bob Wooden of Donelson Trophy

615.885.2846 (main)
www.donelsontrophy.com [1]

"Everyone deserves an award!!"

[1] http://www.donelsontrophy.com

More information about the samba mailing list