[Samba] Setup a Samba AD DC as an additional DC

Barry D. Adkins Barry at daram.com
Tue Nov 27 21:06:19 UTC 2018

??Can you also post the output of bind from the point its starting up until samba has started??
I am not certain how to obtain this.  -- Barry

Collected config  --- 2018-11-27-14:54 -----------

Hostname: Sambadc1
DNS Domain: Mydomain.com
FQDN: Sambadc1.Mydomain.com
ipaddress: ##.##.##.##

Samba is not being run as a DC or a Unix domain member.
Checking file: /etc/os-release 
VERSION="18.04.1 LTS (Bionic Beaver)"
PRETTY_NAME="Ubuntu 18.04.1 LTS"


Warning, /etc/devuan_version does not exist

running command : ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet scope host lo
    inet6 ::1/128 scope host 
2: ens2f0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether 00:1e:67:79:11:b8 brd ff:ff:ff:ff:ff:ff
    inet brd scope global ens2f0
    inet6 fe80::21e:67ff:fe79:11b8/64 scope link 
3: ens2f1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether 00:1e:67:79:11:b9 brd ff:ff:ff:ff:ff:ff
Checking file: /etc/hosts	localhost
::1		localhost6

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

Checking file: /etc/resolv.conf 
search daram.com
nameserver ##.##.##.20

Checking file: /etc/krb5.conf 
	default_realm = MYDOMAIN.COM

# The following krb5.conf variables are only for MIT Kerberos.
	kdc_timesync = 1
	ccache_type = 4
	forwardable = true
	proxiable = true

# The following encryption type specification will be used by MIT Kerberos
# if uncommented.  In general, the defaults in the MIT Kerberos code are
# correct and overriding these specifications only serves to disable new
# encryption types as they are added, creating interoperability problems.
# The only time when you might need to uncomment these lines and change
# the enctypes is if you have local software that will break on ticket
# caches containing ticket encryption types it doesn't know about (such as
# old versions of Sun Java).

#	default_tgs_enctypes = des3-hmac-sha1
#	default_tkt_enctypes = des3-hmac-sha1
#	permitted_enctypes = des3-hmac-sha1

# The following libdefaults parameters are only for Heimdal Kerberos.
	fcc-mit-ticketflags = true

		kdc = kerberos.mit.edu
		kdc = kerberos-1.mit.edu
		kdc = kerberos-2.mit.edu:88
		admin_server = kerberos.mit.edu
		default_domain = mit.edu
		kdc = casio.mit.edu
		kdc = seiko.mit.edu
		admin_server = casio.mit.edu
		admin_server = kerberos.csail.mit.edu
		default_domain = csail.mit.edu
		kdc = kerberos.ihtfp.org
		admin_server = kerberos.ihtfp.org
	1TS.ORG = {
		kdc = kerberos.1ts.org
		admin_server = kerberos.1ts.org
		admin_server = kerberos.andrew.cmu.edu
		default_domain = andrew.cmu.edu
        CS.CMU.EDU = {
                kdc = kerberos-1.srv.cs.cmu.edu
                kdc = kerberos-2.srv.cs.cmu.edu
                kdc = kerberos-3.srv.cs.cmu.edu
                admin_server = kerberos.cs.cmu.edu
		kdc = kerberos.dementix.org
		kdc = kerberos2.dementix.org
		admin_server = kerberos.dementix.org
	stanford.edu = {
		kdc = krb5auth1.stanford.edu
		kdc = krb5auth2.stanford.edu
		kdc = krb5auth3.stanford.edu
		master_kdc = krb5auth1.stanford.edu
		admin_server = krb5-admin.stanford.edu
		default_domain = stanford.edu
        UTORONTO.CA = {
                kdc = kerberos1.utoronto.ca
                kdc = kerberos2.utoronto.ca
                kdc = kerberos3.utoronto.ca
                admin_server = kerberos1.utoronto.ca
                default_domain = utoronto.ca

	.mit.edu = ATHENA.MIT.EDU
	mit.edu = ATHENA.MIT.EDU
	.media.mit.edu = MEDIA-LAB.MIT.EDU
	media.mit.edu = MEDIA-LAB.MIT.EDU
	.csail.mit.edu = CSAIL.MIT.EDU
	csail.mit.edu = CSAIL.MIT.EDU
	.whoi.edu = ATHENA.MIT.EDU
	whoi.edu = ATHENA.MIT.EDU
	.stanford.edu = stanford.edu
	.slac.stanford.edu = SLAC.STANFORD.EDU
        .toronto.edu = UTORONTO.CA
        .utoronto.ca = UTORONTO.CA

Checking file: /etc/nsswitch.conf 
# /etc/nsswitch.conf
# Example configuration of GNU Name Service Switch functionality.
# If you have the `glibc-doc-reference' and `info' packages installed, try:
# `info libc "Name Service Switch"' for information about this file.

passwd:         compat systemd
group:          compat systemd
shadow:         compat
gshadow:        files

hosts:          files dns
networks:       files

protocols:      db files
services:       db files
ethers:         db files
rpc:            db files

netgroup:       nis

Warning,  does not exist

No username map detected.


Installed packages, running: dpkg -l | egrep "samba|winbind|krb5|smb|acl|xattr"
ii  acl                                   2.2.52-3build1                    amd64        Access control list utilities
ii  krb5-config                           2.6                               all          Configuration files for Kerberos Version 5
ii  krb5-locales                          1.16-2build1                      all          internationalization support for MIT Kerberos
ii  krb5-user                             1.16-2build1                      amd64        basic programs to authenticate using MIT Kerberos
ii  libacl1:amd64                         2.2.52-3build1                    amd64        Access control list shared library
ii  libacl1-dev                           2.2.52-3build1                    amd64        Access control list static libraries and headers
ii  libgssapi-krb5-2:amd64                1.16-2build1                      amd64        MIT Kerberos runtime libraries - krb5 GSS-API Mechanism
ii  libkrb5-26-heimdal:amd64              7.5.0+dfsg-1                      amd64        Heimdal Kerberos - libraries
ii  libkrb5-3:amd64                       1.16-2build1                      amd64        MIT Kerberos runtime libraries
ii  libkrb5support0:amd64                 1.16-2build1                      amd64        MIT Kerberos runtime libraries - Support library
ii  libnss-winbind:amd64                  2:4.9.3+nmu-1~ubuntu1804          amd64        Samba nameservice integration plugins
ii  libpam-krb5:amd64                     4.8-1                             amd64        PAM module for MIT Kerberos
ii  libpam-winbind:amd64                  2:4.9.3+nmu-1~ubuntu1804          amd64        Windows domain authentication integration plugin
ii  libsmbclient:amd64                    2:4.9.3+nmu-1~ubuntu1804          amd64        shared library for communication with SMB/CIFS servers
ii  libwbclient0:amd64                    2:4.9.3+nmu-1~ubuntu1804          amd64        Samba winbind client library
ii  python-samba                          2:4.9.3+nmu-1~ubuntu1804          amd64        Python bindings for Samba
ii  samba                                 2:4.9.3+nmu-1~ubuntu1804          amd64        SMB/CIFS file, print, and login server for Unix
ii  samba-common                          2:4.9.3+nmu-1~ubuntu1804          all          common files used by both the Samba server and client
ii  samba-common-bin                      2:4.9.3+nmu-1~ubuntu1804          amd64        Samba common files used by both the server and the client
ii  samba-dsdb-modules:amd64              2:4.9.3+nmu-1~ubuntu1804          amd64        Samba Directory Services Database
ii  samba-libs:amd64                      2:4.9.3+nmu-1~ubuntu1804          amd64        Samba core libraries
ii  samba-vfs-modules:amd64               2:4.9.3+nmu-1~ubuntu1804          amd64        Samba Virtual FileSystem plugins
ii  smbclient                             2:4.9.3+nmu-1~ubuntu1804          amd64        command-line SMB/CIFS clients for Unix
ii  winbind                               2:4.9.3+nmu-1~ubuntu1804          amd64        service to resolve user and group information from Windows NT servers

Barry D. Adkins

More information about the samba mailing list