Web lists-archives.com

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




??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 
NAME="Ubuntu"
VERSION="18.04.1 LTS (Bionic Beaver)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 18.04.1 LTS"
VERSION_ID="18.04"
HOME_URL="https://www.ubuntu.com/";
SUPPORT_URL="https://help.ubuntu.com/";
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/";
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy";
VERSION_CODENAME=bionic
UBUNTU_CODENAME=bionic

-----------

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 127.0.0.1/8 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 131.192.176.40/24 brd 131.192.176.255 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 
127.0.0.1	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 
[libdefaults]
	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

[realms]
	ATHENA.MIT.EDU = {
		kdc = kerberos.mit.edu
		kdc = kerberos-1.mit.edu
		kdc = kerberos-2.mit.edu:88
		admin_server = kerberos.mit.edu
		default_domain = mit.edu
	}
	ZONE.MIT.EDU = {
		kdc = casio.mit.edu
		kdc = seiko.mit.edu
		admin_server = casio.mit.edu
	}
	CSAIL.MIT.EDU = {
		admin_server = kerberos.csail.mit.edu
		default_domain = csail.mit.edu
	}
	IHTFP.ORG = {
		kdc = kerberos.ihtfp.org
		admin_server = kerberos.ihtfp.org
	}
	1TS.ORG = {
		kdc = kerberos.1ts.org
		admin_server = kerberos.1ts.org
	}
	ANDREW.CMU.EDU = {
		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
        }
	DEMENTIA.ORG = {
		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
	}

[domain_realm]
	.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
-----------

Regards,
Barry D. Adkins


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba