• [6.9.0-RC1] SMB can't join AD


    MonoLoGu
    • Minor

    I am trying to join my Unraid box to my active directory infrastructure but it looks like it's failing.

    LOGS say the following:

    Dec 16 20:41:21 Backup sshd[13636]: Server listening on 0.0.0.0 port 22.
    Dec 16 20:41:21 Backup sshd[13636]: Server listening on :: port 22.
    Dec 16 20:41:22 Backup emhttpd: Stopping services...
    Dec 16 20:41:22 Backup unassigned.devices: Unmounting All Devices...
    Dec 16 20:41:22 Backup emhttpd: shcmd (74452): /etc/rc.d/rc.samba stop
    Dec 16 20:41:22 Backup nmbd[4385]: [2020/12/16 20:41:22.515224, 0] ../../source3/nmbd/nmbd.c:59(terminate)
    Dec 16 20:41:22 Backup nmbd[4385]: Got SIGTERM: going down...
    Dec 16 20:41:22 Backup emhttpd: shcmd (74453): rm -f /etc/avahi/services/smb.service
    Dec 16 20:41:22 Backup avahi-daemon[4116]: Files changed, reloading.
    Dec 16 20:41:22 Backup avahi-daemon[4116]: Service group file /services/smb.service vanished, removing services.
    Dec 16 20:41:22 Backup emhttpd: Starting services...
    Dec 16 20:41:22 Backup emhttpd: shcmd (74457): /etc/rc.d/rc.samba restart
    Dec 16 20:41:24 Backup root: Starting Samba: /usr/sbin/smbd -D
    Dec 16 20:41:25 Backup root: /usr/sbin/nmbd -D
    Dec 16 20:41:25 Backup smbd[13718]: [2020/12/16 20:41:25.006054, 0] ../../source3/auth/auth_util.c:1397(make_new_session_info_guest)
    Dec 16 20:41:25 Backup smbd[13718]: create_local_token failed: NT_STATUS_INVALID_PARAMETER_MIX
    Dec 16 20:41:25 Backup smbd[13718]: [2020/12/16 20:41:25.006113, 0] ../../source3/smbd/server.c:2042(main)
    Dec 16 20:41:25 Backup smbd[13718]: ERROR: failed to setup guest info.
    Dec 16 20:41:25 Backup root: /usr/sbin/wsdd
    Dec 16 20:41:25 Backup nmbd[13723]: [2020/12/16 20:41:25.021493, 0] ../../lib/util/become_daemon.c:135(daemon_ready)
    Dec 16 20:41:25 Backup nmbd[13723]: daemon_ready: daemon 'nmbd' finished starting up and ready to serve connections
    Dec 16 20:41:25 Backup root: /usr/sbin/winbindd -D
    Dec 16 20:41:25 Backup winbindd[13733]: [2020/12/16 20:41:25.071660, 0] ../../source3/winbindd/winbindd_cache.c:3203(initialize_winbindd_cache)
    Dec 16 20:41:25 Backup winbindd[13733]: initialize_winbindd_cache: clearing cache and re-creating with version number 2
    Dec 16 20:41:25 Backup winbindd[13733]: [2020/12/16 20:41:25.072254, 0] ../../source3/winbindd/winbindd_util.c:1289(init_domain_list)
    Dec 16 20:41:25 Backup winbindd[13733]: Could not fetch our SID - did we join?
    Dec 16 20:41:25 Backup winbindd[13733]: [2020/12/16 20:41:25.072283, 0] ../../source3/winbindd/winbindd.c:1466(winbindd_register_handlers)
    Dec 16 20:41:25 Backup winbindd[13733]: unable to initialize domain list
    Dec 16 20:41:25 Backup avahi-daemon[4116]: Files changed, reloading.
    Dec 16 20:41:25 Backup avahi-daemon[4116]: Loading service file /services/smb.service.
    Dec 16 20:41:26 Backup avahi-daemon[4116]: Service "Backup-2" (/services/smb.service) successfully established.
    Dec 16 20:41:27 Backup nmbd[13723]: [2020/12/16 20:41:27.024754, 0] ../../source3/nmbd/nmbd_mynames.c:35(my_name_register_failed)
    Dec 16 20:41:27 Backup nmbd[13723]: my_name_register_failed: Failed to register my name BACKUP<20> on subnet 192.168.88.86.
    Dec 16 20:41:27 Backup nmbd[13723]: [2020/12/16 20:41:27.024836, 0] ../../source3/nmbd/nmbd_namelistdb.c:319(standard_fail_register)
    Dec 16 20:41:27 Backup nmbd[13723]: standard_fail_register: Failed to register/refresh name BACKUP<20> on subnet 192.168.88.86
    Dec 16 20:41:27 Backup nmbd[13723]: [2020/12/16 20:41:27.024932, 0] ../../source3/nmbd/nmbd_mynames.c:35(my_name_register_failed)
    Dec 16 20:41:27 Backup nmbd[13723]: my_name_register_failed: Failed to register my name BACKUP<00> on subnet 192.168.88.86.
    Dec 16 20:41:27 Backup nmbd[13723]: [2020/12/16 20:41:27.024975, 0] ../../source3/nmbd/nmbd_namelistdb.c:319(standard_fail_register)
    Dec 16 20:41:27 Backup nmbd[13723]: standard_fail_register: Failed to register/refresh name BACKUP<00> on subnet 192.168.88.86

    There is a similar post created for beta 25 and here is the output the command from that post:

    testparm -sv >/boot/smb.txt
    # Global parameters
    [global]
    	abort shutdown script = 
    	add group script = 
    	additional dns hostnames = 
    	add machine script = 
    	addport command = 
    	addprinter command = 
    	add share command = 
    	add user script = 
    	add user to group script = 
    	afs token lifetime = 604800
    	afs username map = 
    	aio max threads = 100
    	algorithmic rid base = 1000
    	allow dcerpc auth level connect = No
    	allow dns updates = secure only
    	allow insecure wide links = No
    	allow nt4 crypto = No
    	allow trusted domains = Yes
    	allow unsafe cluster upgrade = No
    	apply group policies = No
    	async smb echo handler = No
    	auth event notification = No
    	auto services = 
    	binddns dir = /var/lib/samba/bind-dns
    	bind interfaces only = No
    	browse list = Yes
    	cache directory = /var/cache/samba
    	change notify = Yes
    	change share command = 
    	check password script = 
    	cldap port = 389
    	client ipc max protocol = default
    	client ipc min protocol = default
    	client ipc signing = default
    	client lanman auth = No
    	client ldap sasl wrapping = sign
    	client max protocol = default
    	client min protocol = SMB2_02
    	client NTLMv2 auth = Yes
    	client plaintext auth = No
    	client schannel = Yes
    	client signing = default
    	client use spnego principal = No
    	client use spnego = Yes
    	cluster addresses = 
    	clustering = No
    	config backend = file
    	config file = 
    	create krb5 conf = Yes
    	ctdbd socket = 
    	ctdb locktime warn threshold = 0
    	ctdb timeout = 0
    	cups connection timeout = 30
    	cups encrypt = No
    	cups server = 
    	dcerpc endpoint servers = epmapper, wkssvc, rpcecho, samr, netlogon, lsarpc, drsuapi, dssetup, unixinfo, browser, eventlog6, backupkey, dnsserver
    	deadtime = 10080
    	debug class = No
    	debug encryption = No
    	debug hires timestamp = Yes
    	debug pid = No
    	debug prefix timestamp = No
    	debug uid = No
    	dedicated keytab file = 
    	default service = 
    	defer sharing violations = Yes
    	delete group script = 
    	deleteprinter command = 
    	delete share command = 
    	delete user from group script = 
    	delete user script = 
    	dgram port = 138
    	disable netbios = No
    	disable spoolss = Yes
    	dns forwarder = 
    	dns proxy = Yes
    	dns update command = /usr/sbin/samba_dnsupdate
    	dns zone scavenging = No
    	domain logons = No
    	domain master = Auto
    	dos charset = CP850
    	dsdb event notification = No
    	dsdb group change notification = No
    	dsdb password event notification = No
    	enable asu support = No
    	enable core files = Yes
    	enable privileges = Yes
    	encrypt passwords = Yes
    	enhanced browsing = Yes
    	enumports command = 
    	eventlog list = 
    	get quota command = 
    	getwd cache = Yes
    	gpo update command = /usr/sbin/samba-gpupdate
    	guest account = nobody
    	homedir map = 
    	host msdfs = Yes
    	hostname lookups = No
    	idmap backend = tdb
    	idmap cache time = 604800
    	idmap gid = 
    	idmap negative cache time = 120
    	idmap uid = 
    	include system krb5 conf = Yes
    	init logon delay = 100
    	init logon delayed hosts = 
    	interfaces = 
    	iprint server = 
    	keepalive = 300
    	kerberos encryption types = all
    	kerberos method = default
    	kernel change notify = Yes
    	kpasswd port = 464
    	krb5 port = 88
    	lanman auth = No
    	large readwrite = Yes
    	ldap admin dn = 
    	ldap connection timeout = 2
    	ldap debug level = 0
    	ldap debug threshold = 10
    	ldap delete dn = No
    	ldap deref = auto
    	ldap follow referral = Auto
    	ldap group suffix = 
    	ldap idmap suffix = 
    	ldap machine suffix = 
    	ldap max anonymous request size = 256000
    	ldap max authenticated request size = 16777216
    	ldap max search request size = 256000
    	ldap page size = 1000
    	ldap passwd sync = no
    	ldap replication sleep = 1000
    	ldap server require strong auth = Yes
    	ldap ssl = no
    	ldap ssl ads = No
    	ldap suffix = 
    	ldap timeout = 15
    	ldap user suffix = 
    	lm announce = Auto
    	lm interval = 60
    	load printers = No
    	local master = Yes
    	lock directory = /var/cache/samba
    	lock spin time = 200
    	log file = 
    	logging = syslog@0
    	log level = 1
    	log nt token command = 
    	logon drive = 
    	logon home = \\%N\%U
    	logon path = \\%N\%U\profile
    	logon script = 
    	log writeable files on exit = No
    	lpq cache time = 30
    	lsa over netlogon = No
    	machine password timeout = 604800
    	mangle prefix = 1
    	mangling method = hash2
    	map to guest = Never
    	max disk size = 0
    	max log size = 5000
    	max mux = 50
    	max open files = 16424
    	max smbd processes = 0
    	max stat cache size = 512
    	max ttl = 259200
    	max wins ttl = 518400
    	max xmit = 16644
    	mdns name = netbios
    	message command = 
    	min receivefile size = 0
    	min wins ttl = 21600
    	mit kdc command = 
    	multicast dns register = No
    	name cache timeout = 660
    	name resolve order = lmhosts wins host bcast
    	nbt client socket address = 0.0.0.0
    	nbt port = 137
    	ncalrpc dir = /var/run/samba/ncalrpc
    	netbios aliases = 
    	netbios name = BACKUP
    	netbios scope = 
    	neutralize nt4 emulation = No
    	NIS homedir = No
    	nmbd bind explicit broadcast = Yes
    	nsupdate command = /usr/bin/nsupdate -g
    	ntlm auth = ntlmv1-permitted
    	nt pipe support = Yes
    	ntp signd socket directory = /var/lib/samba/ntp_signd
    	nt status support = Yes
    	null passwords = Yes
    	obey pam restrictions = No
    	old password allowed period = 60
    	oplock break wait time = 0
    	os2 driver map = 
    	os level = 100
    	pam password change = No
    	panic action = 
    	passdb backend = tdbsam
    	passdb expand explicit = No
    	passwd chat = *new*password* %n\n *new*password* %n\n *changed*
    	passwd chat debug = No
    	passwd chat timeout = 2
    	passwd program = 
    	password hash gpg key ids = 
    	password hash userPassword schemes = 
    	password server = *
    	perfcount module = 
    	pid directory = /var/run
    	preferred master = Auto
    	prefork backoff increment = 10
    	prefork children = 4
    	prefork maximum backoff = 120
    	preload modules = 
    	printcap cache time = 750
    	printcap name = /dev/null
    	private dir = /var/lib/samba/private
    	raw NTLMv2 auth = No
    	read raw = Yes
    	realm = DC-CONTAB.ROOT
    	registry shares = No
    	reject md5 clients = No
    	reject md5 servers = No
    	remote announce = 
    	remote browse sync = 
    	rename user script = 
    	require strong key = Yes
    	reset on zero vc = No
    	restrict anonymous = 0
    	root directory = 
    	rpc big endian = No
    	rpc server dynamic port range = 49152-65535
    	rpc server port = 0
    	samba kcc command = /usr/sbin/samba_kcc
    	security = ADS
    	server max protocol = SMB3
    	server min protocol = NT1
    	server multi channel support = No
    	server role = auto
    	server schannel = Yes
    	server services = s3fs, rpc, nbt, wrepl, ldap, cldap, kdc, drepl, winbindd, ntp_signd, kcc, dnsupdate, dns
    	server signing = default
    	server string = Backup Vault
    	set primary group script = 
    	set quota command = 
    	share backend = classic
    	show add printer wizard = No
    	shutdown script = 
    	smb2 leases = Yes
    	smb2 max credits = 8192
    	smb2 max read = 8388608
    	smb2 max trans = 8388608
    	smb2 max write = 8388608
    	smbd profiling level = off
    	smb passwd file = /var/lib/samba/private/smbpasswd
    	smb ports = 445 139
    	socket options = TCP_NODELAY
    	spn update command = /usr/sbin/samba_spnupdate
    	stat cache = Yes
    	state directory = /var/lib/samba
    	svcctl list = 
    	syslog = 1
    	syslog only = No
    	template homedir = /home/%D/%U
    	template shell = /bin/false
    	time server = No
    	timestamp logs = Yes
    	tls cafile = tls/ca.pem
    	tls certfile = tls/cert.pem
    	tls crlfile = 
    	tls dh params file = 
    	tls enabled = Yes
    	tls keyfile = tls/key.pem
    	tls priority = NORMAL:-VERS-SSL3.0
    	tls verify peer = as_strict_as_possible
    	unicode = Yes
    	unix charset = UTF-8
    	unix extensions = No
    	unix password sync = No
    	use mmap = Yes
    	username level = 0
    	username map = 
    	username map cache time = 0
    	username map script = 
    	usershare allow guests = No
    	usershare max shares = 0
    	usershare owner only = Yes
    	usershare path = /var/lib/samba/usershares
    	usershare prefix allow list = 
    	usershare prefix deny list = 
    	usershare template share = 
    	utmp = No
    	utmp directory = 
    	winbind cache time = 300
    	winbindd socket directory = /var/run/samba/winbindd
    	winbind enum groups = No
    	winbind enum users = No
    	winbind expand groups = 0
    	winbind max clients = 200
    	winbind max domain connections = 1
    	winbind nested groups = Yes
    	winbind normalize names = No
    	winbind nss info = template
    	winbind offline logon = No
    	winbind reconnect delay = 30
    	winbind refresh tickets = No
    	winbind request timeout = 60
    	winbind rpc only = No
    	winbind scan trusted domains = Yes
    	winbind sealed pipes = Yes
    	winbind separator = \
    	winbind use default domain = Yes
    	winbind use krb5 enterprise principals = No
    	wins hook = 
    	wins proxy = No
    	wins server = 
    	wins support = No
    	workgroup = DC-CONTAB
    	write raw = Yes
    	wtmp directory = 
    	idmap config * : range = 10000-4000000000
    	idmap config * : backend = hash
    	access based share enum = No
    	acl allow execute always = Yes
    	acl check permissions = Yes
    	acl group control = Yes
    	acl map full control = Yes
    	administrative share = No
    	admin users = 
    	afs share = No
    	aio read size = 0
    	aio write behind = 
    	aio write size = 0
    	allocation roundup size = 0
    	available = Yes
    	blocking locks = Yes
    	block size = 1024
    	browseable = Yes
    	case sensitive = Auto
    	check parent directory delete on close = No
    	comment = 
    	copy = 
    	create mask = 0744
    	csc policy = manual
    	cups options = 
    	default case = lower
    	default devmode = Yes
    	delete readonly = No
    	delete veto files = No
    	dfree cache time = 0
    	dfree command = 
    	directory mask = 0755
    	directory name cache size = 100
    	dmapi support = No
    	dont descend = 
    	dos filemode = Yes
    	dos filetime resolution = No
    	dos filetimes = Yes
    	durable handles = Yes
    	ea support = Yes
    	fake directory create times = No
    	fake oplocks = No
    	follow symlinks = Yes
    	force create mode = 0000
    	force directory mode = 0000
    	force group = 
    	force printername = No
    	force unknown acl user = No
    	force user = 
    	fstype = NTFS
    	guest ok = No
    	guest only = No
    	hide dot files = No
    	hide files = 
    	hide new files timeout = 0
    	hide special files = No
    	hide unreadable = No
    	hide unwriteable files = No
    	hosts allow = 
    	hosts deny = 
    	include = /etc/samba/smb-shares.conf
    	inherit acls = Yes
    	inherit owner = no
    	inherit permissions = Yes
    	invalid users = root
    	kernel oplocks = No
    	kernel share modes = Yes
    	level2 oplocks = Yes
    	locking = Yes
    	lppause command = 
    	lpq command = lpq -P'%p'
    	lpresume command = 
    	lprm command = lprm -P'%p' %j
    	magic output = 
    	magic script = 
    	mangled names = illegal
    	mangling char = ~
    	map acl inherit = Yes
    	map archive = No
    	map hidden = No
    	map readonly = no
    	map system = No
    	max connections = 0
    	max print jobs = 1000
    	max reported print jobs = 0
    	min print space = 0
    	msdfs proxy = 
    	msdfs root = No
    	msdfs shuffle referrals = No
    	nt acl support = Yes
    	ntvfs handler = unixuid, default
    	oplocks = Yes
    	path = 
    	posix locking = Yes
    	postexec = 
    	preexec = 
    	preexec close = No
    	preserve case = Yes
    	printable = No
    	print command = lpr -r -P'%p' %s
    	printer name = 
    	printing = bsd
    	printjob username = %U
    	print notify backchannel = No
    	queuepause command = 
    	queueresume command = 
    	read list = 
    	read only = Yes
    	root postexec = 
    	root preexec = 
    	root preexec close = No
    	short preserve case = Yes
    	smbd async dosmode = No
    	smbd getinfo ask sharemode = Yes
    	smbd max async dosmode = 0
    	smbd search ask sharemode = Yes
    	smb encrypt = default
    	spotlight = No
    	spotlight backend = noindex
    	store dos attributes = Yes
    	strict allocate = No
    	strict locking = Auto
    	strict rename = No
    	strict sync = Yes
    	sync always = No
    	use client driver = No
    	use sendfile = Yes
    	valid users = 
    	veto files = 
    	veto oplock files = 
    	vfs objects = 
    	volume = 
    	wide links = Yes
    	write list = 

    The output from the same command in the terminal is:
     

    root@Backup:~# testparm -sv >/boot/smb.txt
    
    Load smb config files from /etc/samba/smb.conf
    WARNING: The "null passwords" option is deprecated
    Loaded services file OK.
    Server role: ROLE_DOMAIN_MEMBER

    I have also attached the diagnostics file.

    backup-diagnostics-20201216-2047.zip




    User Feedback

    Recommended Comments



    Dec 19 12:35:55 Backup sshd[6337]: Received signal 15; terminating.
    Dec 19 12:35:56 Backup sshd[6455]: Server listening on 0.0.0.0 port 22.
    Dec 19 12:35:56 Backup sshd[6455]: Server listening on :: port 22.
    Dec 19 12:35:57 Backup emhttpd: Stopping services...
    Dec 19 12:35:57 Backup unassigned.devices: Unmounting All Devices...
    Dec 19 12:35:57 Backup emhttpd: shcmd (270): /etc/rc.d/rc.samba stop
    Dec 19 12:35:57 Backup nmbd[6397]: [2020/12/19 12:35:57.828707, 0] ../../source3/nmbd/nmbd.c:59(terminate)
    Dec 19 12:35:57 Backup nmbd[6397]: Got SIGTERM: going down...
    Dec 19 12:35:57 Backup emhttpd: shcmd (271): rm -f /etc/avahi/services/smb.service
    Dec 19 12:35:57 Backup avahi-daemon[4128]: Files changed, reloading.
    Dec 19 12:35:57 Backup avahi-daemon[4128]: Service group file /services/smb.service vanished, removing services.
    Dec 19 12:35:58 Backup emhttpd: Starting services...
    Dec 19 12:35:58 Backup emhttpd: shcmd (275): /etc/rc.d/rc.samba restart
    Dec 19 12:36:00 Backup root: Starting Samba: /usr/sbin/smbd -D
    Dec 19 12:36:00 Backup root: /usr/sbin/nmbd -D
    Dec 19 12:36:00 Backup smbd[6510]: [2020/12/19 12:36:00.292053, 0] ../../source3/auth/auth_util.c:1397(make_new_session_info_guest)
    Dec 19 12:36:00 Backup smbd[6510]: create_local_token failed: NT_STATUS_INVALID_PARAMETER_MIX
    Dec 19 12:36:00 Backup smbd[6510]: [2020/12/19 12:36:00.292112, 0] ../../source3/smbd/server.c:2042(main)
    Dec 19 12:36:00 Backup smbd[6510]: ERROR: failed to setup guest info.
    Dec 19 12:36:00 Backup root: /usr/sbin/wsdd
    Dec 19 12:36:00 Backup nmbd[6515]: [2020/12/19 12:36:00.307830, 0] ../../lib/util/become_daemon.c:135(daemon_ready)
    Dec 19 12:36:00 Backup nmbd[6515]: daemon_ready: daemon 'nmbd' finished starting up and ready to serve connections
    Dec 19 12:36:00 Backup root: /usr/sbin/winbindd -D
    Dec 19 12:36:00 Backup winbindd[6525]: [2020/12/19 12:36:00.358020, 0] ../../source3/winbindd/winbindd_cache.c:3203(initialize_winbindd_cache)
    Dec 19 12:36:00 Backup winbindd[6525]: initialize_winbindd_cache: clearing cache and re-creating with version number 2
    Dec 19 12:36:00 Backup winbindd[6525]: [2020/12/19 12:36:00.358550, 0] ../../source3/winbindd/winbindd_util.c:1289(init_domain_list)
    Dec 19 12:36:00 Backup winbindd[6525]: Could not fetch our SID - did we join?
    Dec 19 12:36:00 Backup winbindd[6525]: [2020/12/19 12:36:00.358612, 0] ../../source3/winbindd/winbindd.c:1466(winbindd_register_handlers)
    Dec 19 12:36:00 Backup winbindd[6525]: unable to initialize domain list
    Dec 19 12:36:00 Backup avahi-daemon[4128]: Files changed, reloading.
    Dec 19 12:36:00 Backup avahi-daemon[4128]: Loading service file /services/smb.service.
    Dec 19 12:36:01 Backup avahi-daemon[4128]: Service "Backup-2" (/services/smb.service) successfully established.
    Dec 19 12:36:02 Backup nmbd[6515]: [2020/12/19 12:36:02.310601, 0] ../../source3/nmbd/nmbd_mynames.c:35(my_name_register_failed)
    Dec 19 12:36:02 Backup nmbd[6515]: my_name_register_failed: Failed to register my name BACKUP<20> on subnet 192.168.88.86.
    Dec 19 12:36:02 Backup nmbd[6515]: [2020/12/19 12:36:02.310676, 0] ../../source3/nmbd/nmbd_namelistdb.c:319(standard_fail_register)
    Dec 19 12:36:02 Backup nmbd[6515]: standard_fail_register: Failed to register/refresh name BACKUP<20> on subnet 192.168.88.86
    Dec 19 12:36:02 Backup nmbd[6515]: [2020/12/19 12:36:02.310751, 0] ../../source3/nmbd/nmbd_mynames.c:35(my_name_register_failed)
    Dec 19 12:36:02 Backup nmbd[6515]: my_name_register_failed: Failed to register my name BACKUP<00> on subnet 192.168.88.86.
    Dec 19 12:36:02 Backup nmbd[6515]: [2020/12/19 12:36:02.310790, 0] ../../source3/nmbd/nmbd_namelistdb.c:319(standard_fail_register)
    Dec 19 12:36:02 Backup nmbd[6515]: standard_fail_register: Failed to register/refresh name BACKUP<00> on subnet 192.168.88.86
    Dec 19 12:36:23 Backup nmbd[6515]: [2020/12/19 12:36:23.337079, 0] ../../source3/nmbd/nmbd_become_lmb.c:397(become_local_master_stage2)
    Dec 19 12:36:23 Backup nmbd[6515]: *****
    Dec 19 12:36:23 Backup nmbd[6515]:
    Dec 19 12:36:23 Backup nmbd[6515]: Samba name server BACKUP is now a local master browser for workgroup DC-CONTAB on subnet 192.168.88.86
    Dec 19 12:36:23 Backup nmbd[6515]:
    Dec 19 12:36:23 Backup nmbd[6515]: *****

    Status still shows not joined. See the attached logs

    Link to comment
    21 minutes ago, Hoopster said:

    Did you retest with RC2?  That is not clear from your last post.

    Agreed. I can confirm we are functional with @limetech last update.  Was able to join domain no problem. 

     

    Remember that your server has to have it's dns point to the domain controller running dns so it can join. 

    Link to comment

    It made some changes but I am still getting errors

     

    
    
    ErrorWarningSystemArrayLogin
    
    Dec 19 19:04:00 Storage winbindd[12390]: smb_krb5_init_context_common: Krb5 context initialization failed (Included profile file could not be read)
    Dec 19 19:04:00 Storage winbindd[12390]: [2020/12/19 19:04:00.668700, 0] ../../lib/krb5_wrap/krb5_samba.c:3549(smb_krb5_init_context_common)
    Dec 19 19:04:00 Storage winbindd[12390]: smb_krb5_init_context_common: Krb5 context initialization failed (Included profile file could not be read)
    Dec 19 19:04:00 Storage winbindd[12390]: [2020/12/19 19:04:00.668712, 0] ../../source3/librpc/crypto/gse.c:211(gse_context_init)
    Dec 19 19:04:00 Storage winbindd[12390]: gse_context_init: kerberos init context failed (Included profile file could not be read)
    Dec 19 19:04:00 Storage winbindd[12390]: [2020/12/19 19:04:00.674433, 0] ../../lib/krb5_wrap/krb5_samba.c:3549(smb_krb5_init_context_common)
    Dec 19 19:04:00 Storage winbindd[12390]: smb_krb5_init_context_common: Krb5 context initialization failed (Included profile file could not be read)
    Dec 19 19:04:00 Storage winbindd[12390]: [2020/12/19 19:04:00.677730, 0] ../../lib/krb5_wrap/krb5_samba.c:3549(smb_krb5_init_context_common)
    Dec 19 19:04:00 Storage winbindd[12390]: smb_krb5_init_context_common: Krb5 context initialization failed (Included profile file could not be read)
    Dec 19 19:04:00 Storage winbindd[12390]: [2020/12/19 19:04:00.681872, 0] ../../lib/krb5_wrap/krb5_samba.c:3549(smb_krb5_init_context_common)
    Dec 19 19:04:00 Storage winbindd[12390]: smb_krb5_init_context_common: Krb5 context initialization failed (Included profile file could not be read)
    Dec 19 19:04:00 Storage winbindd[12390]: [2020/12/19 19:04:00.683674, 0] ../../lib/krb5_wrap/krb5_samba.c:3549(smb_krb5_init_context_common)
    Dec 19 19:04:00 Storage winbindd[12390]: smb_krb5_init_context_common: Krb5 context initialization failed (Included profile file could not be read)
    Dec 19 19:04:00 Storage winbindd[12390]: [2020/12/19 19:04:00.689713, 0] ../../lib/krb5_wrap/krb5_samba.c:3549(smb_krb5_init_context_common)
    Dec 19 19:04:00 Storage winbindd[12390]: smb_krb5_init_context_common: Krb5 context initialization failed (Included profile file could not be read)
    Dec 19 19:04:00 Storage winbindd[12390]: [2020/12/19 19:04:00.689731, 0] ../../source3/libads/kerberos.c:139(kerberos_kinit_password_ext)
    Dec 19 19:04:00 Storage winbindd[12390]: kerberos_kinit_password_ext: kerberos init context failed (Included profile file could not be read)
    Dec 19 19:04:00 Storage winbindd[12390]: [2020/12/19 19:04:00.689797, 0] ../../lib/krb5_wrap/krb5_samba.c:3549(smb_krb5_init_context_common)
    Dec 19 19:04:00 Storage winbindd[12390]: smb_krb5_init_context_common: Krb5 context initialization failed (Included profile file could not be read)
    Dec 19 19:04:00 Storage winbindd[12390]: [2020/12/19 19:04:00.689846, 0] ../../lib/krb5_wrap/krb5_samba.c:3549(smb_krb5_init_context_common)
    Dec 19 19:04:00 Storage winbindd[12390]: smb_krb5_init_context_common: Krb5 context initialization failed (Included profile file could not be read)
    Dec 19 19:04:00 Storage winbindd[12390]: [2020/12/19 19:04:00.689862, 0] ../../source3/librpc/crypto/gse.c:211(gse_context_init)
    Dec 19 19:04:00 Storage winbindd[12390]: gse_context_init: kerberos init context failed (Included profile file could not be read)
    Dec 19 19:04:00 Storage winbindd[12390]: [2020/12/19 19:04:00.693688, 0] ../../lib/krb5_wrap/krb5_samba.c:3549(smb_krb5_init_context_common)
    Dec 19 19:04:00 Storage winbindd[12390]: smb_krb5_init_context_common: Krb5 context initialization failed (Included profile file could not be read)
    Dec 19 19:04:00 Storage winbindd[12390]: [2020/12/19 19:04:00.695374, 0] ../../lib/krb5_wrap/krb5_samba.c:3549(smb_krb5_init_context_common)
    Dec 19 19:04:00 Storage winbindd[12390]: smb_krb5_init_context_common: Krb5 context initialization failed (Included profile file could not be read)
    Dec 19 19:04:00 Storage winbindd[12390]: [2020/12/19 19:04:00.697871, 0] ../../lib/krb5_wrap/krb5_samba.c:3549(smb_krb5_init_context_common)
    Dec 19 19:04:00 Storage winbindd[12390]: smb_krb5_init_context_common: Krb5 context initialization failed (Included profile file could not be read)
    Dec 19 19:04:00 Storage winbindd[12390]: [2020/12/19 19:04:00.702137, 0] ../../lib/krb5_wrap/krb5_samba.c:3549(smb_krb5_init_context_common)
    Dec 19 19:04:00 Storage winbindd[12390]: smb_krb5_init_context_common: Krb5 context initialization failed (Included profile file could not be read)
    Dec 19 19:04:01 Storage avahi-daemon[11274]: Service "Storage" (/services/smb.service) successfully established.
    Dec 19 19:04:01 Storage winbindd[12390]: [2020/12/19 19:04:01.597715, 0] ../../lib/krb5_wrap/krb5_samba.c:3549(smb_krb5_init_context_common)
    Dec 19 19:04:01 Storage winbindd[12390]: smb_krb5_init_context_common: Krb5 context initialization failed (Included profile file could not be read)
    Dec 19 19:04:01 Storage winbindd[12390]: [2020/12/19 19:04:01.597774, 0] ../../lib/krb5_wrap/krb5_samba.c:3549(smb_krb5_init_context_common)
    Dec 19 19:04:01 Storage winbindd[12390]: smb_krb5_init_context_common: Krb5 context initialization failed (Included profile file could not be read)
    Dec 19 19:04:01 Storage winbindd[12390]: [2020/12/19 19:04:01.597787, 0] ../../source3/librpc/crypto/gse.c:211(gse_context_init)
    Dec 19 19:04:01 Storage winbindd[12390]: gse_context_init: kerberos init context failed (Included profile file could not be read)
    Dec 19 19:06:34 Storage emhttpd: shcmd (283): /usr/local/emhttp/webGui/scripts/update_access
    Dec 19 19:06:34 Storage sshd[12176]: Received signal 15; terminating.
    Dec 19 19:06:35 Storage sshd[13075]: Server listening on 0.0.0.0 port 22.
    Dec 19 19:06:35 Storage sshd[13075]: Server listening on :: port 22.
    Dec 19 19:06:36 Storage emhttpd: Stopping services...
    Dec 19 19:06:36 Storage unassigned.devices: Unmounting All Devices...
    Dec 19 19:06:36 Storage emhttpd: shcmd (287): /etc/rc.d/rc.samba stop
    Dec 19 19:06:36 Storage winbindd[12388]: [2020/12/19 19:06:36.987180, 0] ../../source3/winbindd/winbindd.c:244(winbindd_sig_term_handler)
    Dec 19 19:06:36 Storage winbindd[12388]: Got sig[15] terminate (is_parent=1)
    Dec 19 19:06:36 Storage winbindd[12390]: [2020/12/19 19:06:36.987210, 0] ../../source3/winbindd/winbindd.c:244(winbindd_sig_term_handler)
    Dec 19 19:06:36 Storage winbindd[12390]: Got sig[15] terminate (is_parent=0)
    Dec 19 19:06:37 Storage emhttpd: shcmd (288): rm -f /etc/avahi/services/smb.service
    Dec 19 19:06:37 Storage avahi-daemon[11274]: Files changed, reloading.
    Dec 19 19:06:37 Storage avahi-daemon[11274]: Service group file /services/smb.service vanished, removing services.
    Dec 19 19:06:37 Storage emhttpd: Starting services...
    Dec 19 19:06:37 Storage emhttpd: shcmd (292): /etc/rc.d/rc.samba start
    Dec 19 19:06:37 Storage root: Starting Samba: /usr/sbin/smbd -D
    Dec 19 19:06:37 Storage root: /usr/sbin/wsdd
    Dec 19 19:06:37 Storage smbd[13273]: [2020/12/19 19:06:37.223818, 0] ../../lib/util/become_daemon.c:135(daemon_ready)
    Dec 19 19:06:37 Storage smbd[13273]: daemon_ready: daemon 'smbd' finished starting up and ready to serve connections
    Dec 19 19:06:37 Storage root: /usr/sbin/winbindd -D
    Dec 19 19:06:37 Storage winbindd[13286]: [2020/12/19 19:06:37.255490, 0] ../../source3/winbindd/winbindd_cache.c:3203(initialize_winbindd_cache)
    Dec 19 19:06:37 Storage winbindd[13286]: initialize_winbindd_cache: clearing cache and re-creating with version number 2
    Dec 19 19:06:37 Storage winbindd[13286]: [2020/12/19 19:06:37.255915, 0] ../../lib/util/become_daemon.c:135(daemon_ready)
    Dec 19 19:06:37 Storage winbindd[13286]: daemon_ready: daemon 'winbindd' finished starting up and ready to serve connections
    Dec 19 19:06:37 Storage emhttpd: shcmd (293): cp /tmp/emhttp/smb.service /etc/avahi/services/smb.service
    Dec 19 19:06:37 Storage avahi-daemon[11274]: Files changed, reloading.
    Dec 19 19:06:37 Storage avahi-daemon[11274]: Loading service file /services/smb.service.
    Dec 19 19:06:37 Storage winbindd[13288]: [2020/12/19 19:06:37.265212, 0] ../../lib/krb5_wrap/krb5_samba.c:3549(smb_krb5_init_context_common)
    Dec 19 19:06:37 Storage winbindd[13288]: smb_krb5_init_context_common: Krb5 context initialization failed (Included profile file could not be read)
    Dec 19 19:06:37 Storage winbindd[13288]: [2020/12/19 19:06:37.265238, 0] ../../source3/libads/kerberos.c:139(kerberos_kinit_password_ext)
    Dec 19 19:06:37 Storage winbindd[13288]: kerberos_kinit_password_ext: kerberos init context failed (Included profile file could not be read)
    Dec 19 19:06:37 Storage winbindd[13288]: [2020/12/19 19:06:37.265319, 0] ../../lib/krb5_wrap/krb5_samba.c:3549(smb_krb5_init_context_common)
    Dec 19 19:06:37 Storage winbindd[13288]: smb_krb5_init_context_common: Krb5 context initialization failed (Included profile file could not be read)
    Dec 19 19:06:37 Storage winbindd[13288]: [2020/12/19 19:06:37.265382, 0] ../../lib/krb5_wrap/krb5_samba.c:3549(smb_krb5_init_context_common)
    Dec 19 19:06:37 Storage winbindd[13288]: smb_krb5_init_context_common: Krb5 context initialization failed (Included profile file could not be read)
    Dec 19 19:06:37 Storage winbindd[13288]: [2020/12/19 19:06:37.265399, 0] ../../source3/librpc/crypto/gse.c:211(gse_context_init)
    Dec 19 19:06:37 Storage winbindd[13288]: gse_context_init: kerberos init context failed (Included profile file could not be read)
    Dec 19 19:06:37 Storage winbindd[13288]: [2020/12/19 19:06:37.275441, 0] ../../lib/krb5_wrap/krb5_samba.c:3549(smb_krb5_init_context_common)
    Dec 19 19:06:37 Storage winbindd[13288]: smb_krb5_init_context_common: Krb5 context initialization failed (Included profile file could not be read)
    Dec 19 19:06:37 Storage winbindd[13288]: [2020/12/19 19:06:37.275460, 0] ../../source3/libads/kerberos.c:139(kerberos_kinit_password_ext)
    Dec 19 19:06:37 Storage winbindd[13288]: kerberos_kinit_password_ext: kerberos init context failed (Included profile file could not be read)
    Dec 19 19:06:37 Storage winbindd[13288]: [2020/12/19 19:06:37.275497, 0] ../../lib/krb5_wrap/krb5_samba.c:3549(smb_krb5_init_context_common)
    Dec 19 19:06:37 Storage winbindd[13288]: smb_krb5_init_context_common: Krb5 context initialization failed (Included profile file could not be read)
    Dec 19 19:06:37 Storage winbindd[13288]: [2020/12/19 19:06:37.275539, 0] ../../lib/krb5_wrap/krb5_samba.c:3549(smb_krb5_init_context_common)
    Dec 19 19:06:37 Storage winbindd[13288]: smb_krb5_init_context_common: Krb5 context initialization failed (Included profile file could not be read)
    Dec 19 19:06:37 Storage winbindd[13288]: [2020/12/19 19:06:37.275548, 0] ../../source3/librpc/crypto/gse.c:211(gse_context_init)
    Dec 19 19:06:37 Storage winbindd[13288]: gse_context_init: kerberos init context failed (Included profile file could not be read)
    Dec 19 19:06:37 Storage winbindd[13288]: [2020/12/19 19:06:37.284310, 0] ../../lib/krb5_wrap/krb5_samba.c:3549(smb_krb5_init_context_common)
    Dec 19 19:06:37 Storage winbindd[13288]: smb_krb5_init_context_common: Krb5 context initialization failed (Included profile file could not be read)
    Dec 19 19:06:37 Storage winbindd[13288]: [2020/12/19 19:06:37.284375, 0] ../../source3/libads/kerberos.c:139(kerberos_kinit_password_ext)
    Dec 19 19:06:37 Storage winbindd[13288]: kerberos_kinit_password_ext: kerberos init context failed (Included profile file could not be read)
    Dec 19 19:06:37 Storage winbindd[13288]: [2020/12/19 19:06:37.284502, 0] ../../lib/krb5_wrap/krb5_samba.c:3549(smb_krb5_init_context_common)
    Dec 19 19:06:37 Storage winbindd[13288]: smb_krb5_init_context_common: Krb5 context initialization failed (Included profile file could not be read)
    Dec 19 19:06:37 Storage winbindd[13288]: [2020/12/19 19:06:37.284637, 0] ../../lib/krb5_wrap/krb5_samba.c:3549(smb_krb5_init_context_common)
    Dec 19 19:06:37 Storage winbindd[13288]: smb_krb5_init_context_common: Krb5 context initialization failed (Included profile file could not be read)
    Dec 19 19:06:37 Storage winbindd[13288]: [2020/12/19 19:06:37.284668, 0] ../../source3/librpc/crypto/gse.c:211(gse_context_init)
    Dec 19 19:06:37 Storage winbindd[13288]: gse_context_init: kerberos init context failed (Included profile file could not be read)
    Dec 19 19:06:38 Storage avahi-daemon[11274]: Service "Storage" (/services/smb.service) successfully established.
    Dec 19 19:06:42 Storage winbindd[13286]: [2020/12/19 19:06:42.277683, 0] ../../lib/krb5_wrap/krb5_samba.c:3549(smb_krb5_init_context_common)
    Dec 19 19:06:42 Storage winbindd[13286]: smb_krb5_init_context_common: Krb5 context initialization failed (Included profile file could not be read)
    Dec 19 19:06:42 Storage winbindd[13286]: [2020/12/19 19:06:42.277709, 0] ../../source3/libads/kerberos.c:139(kerberos_kinit_password_ext)
    Dec 19 19:06:42 Storage winbindd[13286]: kerberos_kinit_password_ext: kerberos init context failed (Included profile file could not be read)
    Dec 19 19:06:42 Storage winbindd[13286]: [2020/12/19 19:06:42.277803, 0] ../../lib/krb5_wrap/krb5_samba.c:3549(smb_krb5_init_context_common)
    Dec 19 19:06:42 Storage winbindd[13286]: smb_krb5_init_context_common: Krb5 context initialization failed (Included profile file could not be read)
    Dec 19 19:06:42 Storage winbindd[13286]: [2020/12/19 19:06:42.277855, 0] ../../lib/krb5_wrap/krb5_samba.c:3549(smb_krb5_init_context_common)
    Dec 19 19:06:42 Storage winbindd[13286]: smb_krb5_init_context_common: Krb5 context initialization failed (Included profile file could not be read)
    Dec 19 19:06:42 Storage winbindd[13286]: [2020/12/19 19:06:42.277867, 0] ../../source3/librpc/crypto/gse.c:211(gse_context_init)
    Dec 19 19:06:42 Storage winbindd[13286]: gse_context_init: kerberos init context failed (Included profile file could not be read)
    Dec 19 19:06:42 Storage winbindd[13286]: [2020/12/19 19:06:42.289816, 0] ../../lib/krb5_wrap/krb5_samba.c:3549(smb_krb5_init_context_common)
    Dec 19 19:06:42 Storage winbindd[13286]: smb_krb5_init_context_common: Krb5 context initialization failed (Included profile file could not be read)
    Dec 19 19:06:42 Storage winbindd[13286]: [2020/12/19 19:06:42.289841, 0] ../../source3/libads/kerberos.c:139(kerberos_kinit_password_ext)
    Dec 19 19:06:42 Storage winbindd[13286]: kerberos_kinit_password_ext: kerberos init context failed (Included profile file could not be read)
    Dec 19 19:06:42 Storage winbindd[13286]: [2020/12/19 19:06:42.289893, 0] ../../lib/krb5_wrap/krb5_samba.c:3549(smb_krb5_init_context_common)
    Dec 19 19:06:42 Storage winbindd[13286]: smb_krb5_init_context_common: Krb5 context initialization failed (Included profile file could not be read)
    Dec 19 19:06:42 Storage winbindd[13286]: [2020/12/19 19:06:42.289938, 0] ../../lib/krb5_wrap/krb5_samba.c:3549(smb_krb5_init_context_common)
    Dec 19 19:06:42 Storage winbindd[13286]: smb_krb5_init_context_common: Krb5 context initialization failed (Included profile file could not be read)
    Dec 19 19:06:42 Storage winbindd[13286]: [2020/12/19 19:06:42.289947, 0] ../../source3/librpc/crypto/gse.c:211(gse_context_init)
    Dec 19 19:06:42 Storage winbindd[13286]: gse_context_init: kerberos init context failed (Included profile file could not be read)
    Dec 19 19:06:42 Storage winbindd[13286]: [2020/12/19 19:06:42.299479, 0] ../../lib/krb5_wrap/krb5_samba.c:3549(smb_krb5_init_context_common)
    Dec 19 19:06:42 Storage winbindd[13286]: smb_krb5_init_context_common: Krb5 context initialization failed (Included profile file could not be read)
    Dec 19 19:06:42 Storage winbindd[13286]: [2020/12/19 19:06:42.299494, 0] ../../source3/libads/kerberos.c:139(kerberos_kinit_password_ext)
    Dec 19 19:06:42 Storage winbindd[13286]: kerberos_kinit_password_ext: kerberos init context failed (Included profile file could not be read)
    Dec 19 19:06:42 Storage winbindd[13286]: [2020/12/19 19:06:42.299527, 0] ../../lib/krb5_wrap/krb5_samba.c:3549(smb_krb5_init_context_common)
    Dec 19 19:06:42 Storage winbindd[13286]: smb_krb5_init_context_common: Krb5 context initialization failed (Included profile file could not be read)

     

     

    Compared to my testing of rc1, this is much better.

     

     

    Link to comment
    Quote

    Dec 20 02:21:28 Backup sshd[19224]: Received signal 15; terminating.
    Dec 20 02:21:29 Backup sshd[19407]: Server listening on 0.0.0.0 port 22.
    Dec 20 02:21:29 Backup sshd[19407]: Server listening on :: port 22.
    Dec 20 02:21:30 Backup emhttpd: Stopping services...
    Dec 20 02:21:30 Backup unassigned.devices: Unmounting All Devices...
    Dec 20 02:21:30 Backup emhttpd: shcmd (38563): /etc/rc.d/rc.samba stop
    Dec 20 02:21:30 Backup nmbd[19284]: [2020/12/20 02:21:30.889452, 0] ../../source3/nmbd/nmbd.c:59(terminate)
    Dec 20 02:21:30 Backup nmbd[19284]: Got SIGTERM: going down...
    Dec 20 02:21:31 Backup emhttpd: shcmd (38564): rm -f /etc/avahi/services/smb.service
    Dec 20 02:21:31 Backup avahi-daemon[4128]: Files changed, reloading.
    Dec 20 02:21:31 Backup avahi-daemon[4128]: Service group file /services/smb.service vanished, removing services.
    Dec 20 02:21:31 Backup emhttpd: Starting services...
    Dec 20 02:21:31 Backup emhttpd: shcmd (38568): /etc/rc.d/rc.samba restart
    Dec 20 02:21:33 Backup root: Starting Samba: /usr/sbin/smbd -D
    Dec 20 02:21:33 Backup root: /usr/sbin/nmbd -D
    Dec 20 02:21:33 Backup smbd[19462]: [2020/12/20 02:21:33.326042, 0] ../../source3/auth/auth_util.c:1397(make_new_session_info_guest)
    Dec 20 02:21:33 Backup smbd[19462]: create_local_token failed: NT_STATUS_INVALID_PARAMETER_MIX
    Dec 20 02:21:33 Backup smbd[19462]: [2020/12/20 02:21:33.326101, 0] ../../source3/smbd/server.c:2042(main)
    Dec 20 02:21:33 Backup smbd[19462]: ERROR: failed to setup guest info.
    Dec 20 02:21:33 Backup root: /usr/sbin/wsdd
    Dec 20 02:21:33 Backup nmbd[19467]: [2020/12/20 02:21:33.342014, 0] ../../lib/util/become_daemon.c:135(daemon_ready)
    Dec 20 02:21:33 Backup nmbd[19467]: daemon_ready: daemon 'nmbd' finished starting up and ready to serve connections
    Dec 20 02:21:33 Backup root: /usr/sbin/winbindd -D
    Dec 20 02:21:33 Backup winbindd[19477]: [2020/12/20 02:21:33.393162, 0] ../../source3/winbindd/winbindd_cache.c:3203(initialize_winbindd_cache)
    Dec 20 02:21:33 Backup winbindd[19477]: initialize_winbindd_cache: clearing cache and re-creating with version number 2
    Dec 20 02:21:33 Backup winbindd[19477]: [2020/12/20 02:21:33.393632, 0] ../../source3/winbindd/winbindd_util.c:1289(init_domain_list)
    Dec 20 02:21:33 Backup winbindd[19477]: Could not fetch our SID - did we join?
    Dec 20 02:21:33 Backup winbindd[19477]: [2020/12/20 02:21:33.393657, 0] ../../source3/winbindd/winbindd.c:1466(winbindd_register_handlers)
    Dec 20 02:21:33 Backup winbindd[19477]: unable to initialize domain list
    Dec 20 02:21:33 Backup avahi-daemon[4128]: Files changed, reloading.
    Dec 20 02:21:33 Backup avahi-daemon[4128]: Loading service file /services/smb.service.
    Dec 20 02:21:34 Backup avahi-daemon[4128]: Service "Backup-2" (/services/smb.service) successfully established.

    Latest log from joining the AD with RC2

    Edited by MonoLoGu
    Link to comment
    4 hours ago, razor950 said:

    It made some changes but I am still getting errors

     

    
    
    
    ErrorWarningSystemArrayLogin
    
    Dec 19 19:04:00 Storage winbindd[12390]: smb_krb5_init_context_common: Krb5 context initialization failed (Included profile file could not be read)
    Dec 19 19:04:00 Storage winbindd[12390]: [2020/12/19 19:04:00.668700, 0] ../../lib/krb5_wrap/krb5_samba.c:3549(smb_krb5_init_context_common)
    Dec 19 19:04:00 Storage winbindd[12390]: smb_krb5_init_context_common: Krb5 context initialization failed (Included profile file could not be read)
    Dec 19 19:04:00 Storage winbindd[12390]: [2020/12/19 19:04:00.668712, 0] ../../source3/librpc/crypto/gse.c:211(gse_context_init)
    Dec 19 19:04:00 Storage winbindd[12390]: gse_context_init: kerberos init context failed (Included profile file could not be read)
    Dec 19 19:04:00 Storage winbindd[12390]: [2020/12/19 19:04:00.674433, 0] ../../lib/krb5_wrap/krb5_samba.c:3549(smb_krb5_init_context_common)
    Dec 19 19:04:00 Storage winbindd[12390]: smb_krb5_init_context_common: Krb5 context initialization failed (Included profile file could not be read)
    Dec 19 19:04:00 Storage winbindd[12390]: [2020/12/19 19:04:00.677730, 0] ../../lib/krb5_wrap/krb5_samba.c:3549(smb_krb5_init_context_common)
    Dec 19 19:04:00 Storage winbindd[12390]: smb_krb5_init_context_common: Krb5 context initialization failed (Included profile file could not be read)
    Dec 19 19:04:00 Storage winbindd[12390]: [2020/12/19 19:04:00.681872, 0] ../../lib/krb5_wrap/krb5_samba.c:3549(smb_krb5_init_context_common)
    Dec 19 19:04:00 Storage winbindd[12390]: smb_krb5_init_context_common: Krb5 context initialization failed (Included profile file could not be read)
    Dec 19 19:04:00 Storage winbindd[12390]: [2020/12/19 19:04:00.683674, 0] ../../lib/krb5_wrap/krb5_samba.c:3549(smb_krb5_init_context_common)
    Dec 19 19:04:00 Storage winbindd[12390]: smb_krb5_init_context_common: Krb5 context initialization failed (Included profile file could not be read)
    Dec 19 19:04:00 Storage winbindd[12390]: [2020/12/19 19:04:00.689713, 0] ../../lib/krb5_wrap/krb5_samba.c:3549(smb_krb5_init_context_common)
    Dec 19 19:04:00 Storage winbindd[12390]: smb_krb5_init_context_common: Krb5 context initialization failed (Included profile file could not be read)
    Dec 19 19:04:00 Storage winbindd[12390]: [2020/12/19 19:04:00.689731, 0] ../../source3/libads/kerberos.c:139(kerberos_kinit_password_ext)
    Dec 19 19:04:00 Storage winbindd[12390]: kerberos_kinit_password_ext: kerberos init context failed (Included profile file could not be read)
    Dec 19 19:04:00 Storage winbindd[12390]: [2020/12/19 19:04:00.689797, 0] ../../lib/krb5_wrap/krb5_samba.c:3549(smb_krb5_init_context_common)
    Dec 19 19:04:00 Storage winbindd[12390]: smb_krb5_init_context_common: Krb5 context initialization failed (Included profile file could not be read)
    Dec 19 19:04:00 Storage winbindd[12390]: [2020/12/19 19:04:00.689846, 0] ../../lib/krb5_wrap/krb5_samba.c:3549(smb_krb5_init_context_common)
    Dec 19 19:04:00 Storage winbindd[12390]: smb_krb5_init_context_common: Krb5 context initialization failed (Included profile file could not be read)
    Dec 19 19:04:00 Storage winbindd[12390]: [2020/12/19 19:04:00.689862, 0] ../../source3/librpc/crypto/gse.c:211(gse_context_init)
    Dec 19 19:04:00 Storage winbindd[12390]: gse_context_init: kerberos init context failed (Included profile file could not be read)
    Dec 19 19:04:00 Storage winbindd[12390]: [2020/12/19 19:04:00.693688, 0] ../../lib/krb5_wrap/krb5_samba.c:3549(smb_krb5_init_context_common)
    Dec 19 19:04:00 Storage winbindd[12390]: smb_krb5_init_context_common: Krb5 context initialization failed (Included profile file could not be read)
    Dec 19 19:04:00 Storage winbindd[12390]: [2020/12/19 19:04:00.695374, 0] ../../lib/krb5_wrap/krb5_samba.c:3549(smb_krb5_init_context_common)
    Dec 19 19:04:00 Storage winbindd[12390]: smb_krb5_init_context_common: Krb5 context initialization failed (Included profile file could not be read)
    Dec 19 19:04:00 Storage winbindd[12390]: [2020/12/19 19:04:00.697871, 0] ../../lib/krb5_wrap/krb5_samba.c:3549(smb_krb5_init_context_common)
    Dec 19 19:04:00 Storage winbindd[12390]: smb_krb5_init_context_common: Krb5 context initialization failed (Included profile file could not be read)
    Dec 19 19:04:00 Storage winbindd[12390]: [2020/12/19 19:04:00.702137, 0] ../../lib/krb5_wrap/krb5_samba.c:3549(smb_krb5_init_context_common)
    Dec 19 19:04:00 Storage winbindd[12390]: smb_krb5_init_context_common: Krb5 context initialization failed (Included profile file could not be read)
    Dec 19 19:04:01 Storage avahi-daemon[11274]: Service "Storage" (/services/smb.service) successfully established.
    Dec 19 19:04:01 Storage winbindd[12390]: [2020/12/19 19:04:01.597715, 0] ../../lib/krb5_wrap/krb5_samba.c:3549(smb_krb5_init_context_common)
    Dec 19 19:04:01 Storage winbindd[12390]: smb_krb5_init_context_common: Krb5 context initialization failed (Included profile file could not be read)
    Dec 19 19:04:01 Storage winbindd[12390]: [2020/12/19 19:04:01.597774, 0] ../../lib/krb5_wrap/krb5_samba.c:3549(smb_krb5_init_context_common)
    Dec 19 19:04:01 Storage winbindd[12390]: smb_krb5_init_context_common: Krb5 context initialization failed (Included profile file could not be read)
    Dec 19 19:04:01 Storage winbindd[12390]: [2020/12/19 19:04:01.597787, 0] ../../source3/librpc/crypto/gse.c:211(gse_context_init)
    Dec 19 19:04:01 Storage winbindd[12390]: gse_context_init: kerberos init context failed (Included profile file could not be read)
    Dec 19 19:06:34 Storage emhttpd: shcmd (283): /usr/local/emhttp/webGui/scripts/update_access
    Dec 19 19:06:34 Storage sshd[12176]: Received signal 15; terminating.
    Dec 19 19:06:35 Storage sshd[13075]: Server listening on 0.0.0.0 port 22.
    Dec 19 19:06:35 Storage sshd[13075]: Server listening on :: port 22.
    Dec 19 19:06:36 Storage emhttpd: Stopping services...
    Dec 19 19:06:36 Storage unassigned.devices: Unmounting All Devices...
    Dec 19 19:06:36 Storage emhttpd: shcmd (287): /etc/rc.d/rc.samba stop
    Dec 19 19:06:36 Storage winbindd[12388]: [2020/12/19 19:06:36.987180, 0] ../../source3/winbindd/winbindd.c:244(winbindd_sig_term_handler)
    Dec 19 19:06:36 Storage winbindd[12388]: Got sig[15] terminate (is_parent=1)
    Dec 19 19:06:36 Storage winbindd[12390]: [2020/12/19 19:06:36.987210, 0] ../../source3/winbindd/winbindd.c:244(winbindd_sig_term_handler)
    Dec 19 19:06:36 Storage winbindd[12390]: Got sig[15] terminate (is_parent=0)
    Dec 19 19:06:37 Storage emhttpd: shcmd (288): rm -f /etc/avahi/services/smb.service
    Dec 19 19:06:37 Storage avahi-daemon[11274]: Files changed, reloading.
    Dec 19 19:06:37 Storage avahi-daemon[11274]: Service group file /services/smb.service vanished, removing services.
    Dec 19 19:06:37 Storage emhttpd: Starting services...
    Dec 19 19:06:37 Storage emhttpd: shcmd (292): /etc/rc.d/rc.samba start
    Dec 19 19:06:37 Storage root: Starting Samba: /usr/sbin/smbd -D
    Dec 19 19:06:37 Storage root: /usr/sbin/wsdd
    Dec 19 19:06:37 Storage smbd[13273]: [2020/12/19 19:06:37.223818, 0] ../../lib/util/become_daemon.c:135(daemon_ready)
    Dec 19 19:06:37 Storage smbd[13273]: daemon_ready: daemon 'smbd' finished starting up and ready to serve connections
    Dec 19 19:06:37 Storage root: /usr/sbin/winbindd -D
    Dec 19 19:06:37 Storage winbindd[13286]: [2020/12/19 19:06:37.255490, 0] ../../source3/winbindd/winbindd_cache.c:3203(initialize_winbindd_cache)
    Dec 19 19:06:37 Storage winbindd[13286]: initialize_winbindd_cache: clearing cache and re-creating with version number 2
    Dec 19 19:06:37 Storage winbindd[13286]: [2020/12/19 19:06:37.255915, 0] ../../lib/util/become_daemon.c:135(daemon_ready)
    Dec 19 19:06:37 Storage winbindd[13286]: daemon_ready: daemon 'winbindd' finished starting up and ready to serve connections
    Dec 19 19:06:37 Storage emhttpd: shcmd (293): cp /tmp/emhttp/smb.service /etc/avahi/services/smb.service
    Dec 19 19:06:37 Storage avahi-daemon[11274]: Files changed, reloading.
    Dec 19 19:06:37 Storage avahi-daemon[11274]: Loading service file /services/smb.service.
    Dec 19 19:06:37 Storage winbindd[13288]: [2020/12/19 19:06:37.265212, 0] ../../lib/krb5_wrap/krb5_samba.c:3549(smb_krb5_init_context_common)
    Dec 19 19:06:37 Storage winbindd[13288]: smb_krb5_init_context_common: Krb5 context initialization failed (Included profile file could not be read)
    Dec 19 19:06:37 Storage winbindd[13288]: [2020/12/19 19:06:37.265238, 0] ../../source3/libads/kerberos.c:139(kerberos_kinit_password_ext)
    Dec 19 19:06:37 Storage winbindd[13288]: kerberos_kinit_password_ext: kerberos init context failed (Included profile file could not be read)
    Dec 19 19:06:37 Storage winbindd[13288]: [2020/12/19 19:06:37.265319, 0] ../../lib/krb5_wrap/krb5_samba.c:3549(smb_krb5_init_context_common)
    Dec 19 19:06:37 Storage winbindd[13288]: smb_krb5_init_context_common: Krb5 context initialization failed (Included profile file could not be read)
    Dec 19 19:06:37 Storage winbindd[13288]: [2020/12/19 19:06:37.265382, 0] ../../lib/krb5_wrap/krb5_samba.c:3549(smb_krb5_init_context_common)
    Dec 19 19:06:37 Storage winbindd[13288]: smb_krb5_init_context_common: Krb5 context initialization failed (Included profile file could not be read)
    Dec 19 19:06:37 Storage winbindd[13288]: [2020/12/19 19:06:37.265399, 0] ../../source3/librpc/crypto/gse.c:211(gse_context_init)
    Dec 19 19:06:37 Storage winbindd[13288]: gse_context_init: kerberos init context failed (Included profile file could not be read)
    Dec 19 19:06:37 Storage winbindd[13288]: [2020/12/19 19:06:37.275441, 0] ../../lib/krb5_wrap/krb5_samba.c:3549(smb_krb5_init_context_common)
    Dec 19 19:06:37 Storage winbindd[13288]: smb_krb5_init_context_common: Krb5 context initialization failed (Included profile file could not be read)
    Dec 19 19:06:37 Storage winbindd[13288]: [2020/12/19 19:06:37.275460, 0] ../../source3/libads/kerberos.c:139(kerberos_kinit_password_ext)
    Dec 19 19:06:37 Storage winbindd[13288]: kerberos_kinit_password_ext: kerberos init context failed (Included profile file could not be read)
    Dec 19 19:06:37 Storage winbindd[13288]: [2020/12/19 19:06:37.275497, 0] ../../lib/krb5_wrap/krb5_samba.c:3549(smb_krb5_init_context_common)
    Dec 19 19:06:37 Storage winbindd[13288]: smb_krb5_init_context_common: Krb5 context initialization failed (Included profile file could not be read)
    Dec 19 19:06:37 Storage winbindd[13288]: [2020/12/19 19:06:37.275539, 0] ../../lib/krb5_wrap/krb5_samba.c:3549(smb_krb5_init_context_common)
    Dec 19 19:06:37 Storage winbindd[13288]: smb_krb5_init_context_common: Krb5 context initialization failed (Included profile file could not be read)
    Dec 19 19:06:37 Storage winbindd[13288]: [2020/12/19 19:06:37.275548, 0] ../../source3/librpc/crypto/gse.c:211(gse_context_init)
    Dec 19 19:06:37 Storage winbindd[13288]: gse_context_init: kerberos init context failed (Included profile file could not be read)
    Dec 19 19:06:37 Storage winbindd[13288]: [2020/12/19 19:06:37.284310, 0] ../../lib/krb5_wrap/krb5_samba.c:3549(smb_krb5_init_context_common)
    Dec 19 19:06:37 Storage winbindd[13288]: smb_krb5_init_context_common: Krb5 context initialization failed (Included profile file could not be read)
    Dec 19 19:06:37 Storage winbindd[13288]: [2020/12/19 19:06:37.284375, 0] ../../source3/libads/kerberos.c:139(kerberos_kinit_password_ext)
    Dec 19 19:06:37 Storage winbindd[13288]: kerberos_kinit_password_ext: kerberos init context failed (Included profile file could not be read)
    Dec 19 19:06:37 Storage winbindd[13288]: [2020/12/19 19:06:37.284502, 0] ../../lib/krb5_wrap/krb5_samba.c:3549(smb_krb5_init_context_common)
    Dec 19 19:06:37 Storage winbindd[13288]: smb_krb5_init_context_common: Krb5 context initialization failed (Included profile file could not be read)
    Dec 19 19:06:37 Storage winbindd[13288]: [2020/12/19 19:06:37.284637, 0] ../../lib/krb5_wrap/krb5_samba.c:3549(smb_krb5_init_context_common)
    Dec 19 19:06:37 Storage winbindd[13288]: smb_krb5_init_context_common: Krb5 context initialization failed (Included profile file could not be read)
    Dec 19 19:06:37 Storage winbindd[13288]: [2020/12/19 19:06:37.284668, 0] ../../source3/librpc/crypto/gse.c:211(gse_context_init)
    Dec 19 19:06:37 Storage winbindd[13288]: gse_context_init: kerberos init context failed (Included profile file could not be read)
    Dec 19 19:06:38 Storage avahi-daemon[11274]: Service "Storage" (/services/smb.service) successfully established.
    Dec 19 19:06:42 Storage winbindd[13286]: [2020/12/19 19:06:42.277683, 0] ../../lib/krb5_wrap/krb5_samba.c:3549(smb_krb5_init_context_common)
    Dec 19 19:06:42 Storage winbindd[13286]: smb_krb5_init_context_common: Krb5 context initialization failed (Included profile file could not be read)
    Dec 19 19:06:42 Storage winbindd[13286]: [2020/12/19 19:06:42.277709, 0] ../../source3/libads/kerberos.c:139(kerberos_kinit_password_ext)
    Dec 19 19:06:42 Storage winbindd[13286]: kerberos_kinit_password_ext: kerberos init context failed (Included profile file could not be read)
    Dec 19 19:06:42 Storage winbindd[13286]: [2020/12/19 19:06:42.277803, 0] ../../lib/krb5_wrap/krb5_samba.c:3549(smb_krb5_init_context_common)
    Dec 19 19:06:42 Storage winbindd[13286]: smb_krb5_init_context_common: Krb5 context initialization failed (Included profile file could not be read)
    Dec 19 19:06:42 Storage winbindd[13286]: [2020/12/19 19:06:42.277855, 0] ../../lib/krb5_wrap/krb5_samba.c:3549(smb_krb5_init_context_common)
    Dec 19 19:06:42 Storage winbindd[13286]: smb_krb5_init_context_common: Krb5 context initialization failed (Included profile file could not be read)
    Dec 19 19:06:42 Storage winbindd[13286]: [2020/12/19 19:06:42.277867, 0] ../../source3/librpc/crypto/gse.c:211(gse_context_init)
    Dec 19 19:06:42 Storage winbindd[13286]: gse_context_init: kerberos init context failed (Included profile file could not be read)
    Dec 19 19:06:42 Storage winbindd[13286]: [2020/12/19 19:06:42.289816, 0] ../../lib/krb5_wrap/krb5_samba.c:3549(smb_krb5_init_context_common)
    Dec 19 19:06:42 Storage winbindd[13286]: smb_krb5_init_context_common: Krb5 context initialization failed (Included profile file could not be read)
    Dec 19 19:06:42 Storage winbindd[13286]: [2020/12/19 19:06:42.289841, 0] ../../source3/libads/kerberos.c:139(kerberos_kinit_password_ext)
    Dec 19 19:06:42 Storage winbindd[13286]: kerberos_kinit_password_ext: kerberos init context failed (Included profile file could not be read)
    Dec 19 19:06:42 Storage winbindd[13286]: [2020/12/19 19:06:42.289893, 0] ../../lib/krb5_wrap/krb5_samba.c:3549(smb_krb5_init_context_common)
    Dec 19 19:06:42 Storage winbindd[13286]: smb_krb5_init_context_common: Krb5 context initialization failed (Included profile file could not be read)
    Dec 19 19:06:42 Storage winbindd[13286]: [2020/12/19 19:06:42.289938, 0] ../../lib/krb5_wrap/krb5_samba.c:3549(smb_krb5_init_context_common)
    Dec 19 19:06:42 Storage winbindd[13286]: smb_krb5_init_context_common: Krb5 context initialization failed (Included profile file could not be read)
    Dec 19 19:06:42 Storage winbindd[13286]: [2020/12/19 19:06:42.289947, 0] ../../source3/librpc/crypto/gse.c:211(gse_context_init)
    Dec 19 19:06:42 Storage winbindd[13286]: gse_context_init: kerberos init context failed (Included profile file could not be read)
    Dec 19 19:06:42 Storage winbindd[13286]: [2020/12/19 19:06:42.299479, 0] ../../lib/krb5_wrap/krb5_samba.c:3549(smb_krb5_init_context_common)
    Dec 19 19:06:42 Storage winbindd[13286]: smb_krb5_init_context_common: Krb5 context initialization failed (Included profile file could not be read)
    Dec 19 19:06:42 Storage winbindd[13286]: [2020/12/19 19:06:42.299494, 0] ../../source3/libads/kerberos.c:139(kerberos_kinit_password_ext)
    Dec 19 19:06:42 Storage winbindd[13286]: kerberos_kinit_password_ext: kerberos init context failed (Included profile file could not be read)
    Dec 19 19:06:42 Storage winbindd[13286]: [2020/12/19 19:06:42.299527, 0] ../../lib/krb5_wrap/krb5_samba.c:3549(smb_krb5_init_context_common)
    Dec 19 19:06:42 Storage winbindd[13286]: smb_krb5_init_context_common: Krb5 context initialization failed (Included profile file could not be read)

     

     

    Compared to my testing of rc1, this is much better.

     

     

    Are you sure you rebooted after installing rc2 because those krb messages were the result of a new package dependency missing in RC1 that is definitely present in RC2.

     

    Also, can you confirm what Windows Server version you are using to run active directory and also confirm that AD is not running as VM under Unraid?

    Link to comment

    AD is on a separate machine, windows server 2019 and it is RC2 that is joining, before RC1 would give me the issues in the other thread but RC2 only gives me the above "smb_krb5_init_context_common: Krb5 context initialization failed (Included profile file could not be read)"

     

     

    Link to comment

    Ok, anything special you can tell me about the domain?  I built a 2019 AD DC and joined it just fine, but it was a very stock build and basic configuration.  I'm wondering if there is anything special about the configuration that trigger this.

    Link to comment

    I don't believe I have any special settings enabled, is it possible an older config would leave settings behind that is causing some issues?

    Link to comment

    I'm having the same issue running the latest beta. It creates an account in AD but still says not joined.  Nothing special in AD. Just 1 2012 server running AD and DNS. 

     

    Dec 21 10:35:35 NAS emhttpd: shcmd (4239): rm -f /etc/avahi/services/smb.service
    Dec 21 10:35:35 NAS avahi-daemon[4063]: Files changed, reloading.
    Dec 21 10:35:35 NAS avahi-daemon[4063]: Service group file /services/smb.service vanished, removing services.
    Dec 21 10:35:35 NAS emhttpd: shcmd (4242): /etc/rc.d/rc.nfsd stop
    Dec 21 10:35:35 NAS rpc.mountd[18186]: Caught signal 15, un-registering and exiting.
    Dec 21 10:35:36 NAS kernel: nfsd: last server has exited, flushing export cache
    Dec 21 10:35:36 NAS emhttpd: Starting services...
    Dec 21 10:35:36 NAS emhttpd: shcmd (4246): /etc/rc.d/rc.samba restart
    Dec 21 10:35:38 NAS root: Starting Samba:  /usr/sbin/smbd -D
    Dec 21 10:35:38 NAS root:                  /usr/sbin/nmbd -D
    Dec 21 10:35:38 NAS smbd[26919]: [2020/12/21 10:35:38.781779,  0] ../../source3/auth/auth_util.c:1397(make_new_session_info_guest)
    Dec 21 10:35:38 NAS smbd[26919]:   create_local_token failed: NT_STATUS_INVALID_PARAMETER_MIX
    Dec 21 10:35:38 NAS smbd[26919]: [2020/12/21 10:35:38.781859,  0] ../../source3/smbd/server.c:2042(main)
    Dec 21 10:35:38 NAS smbd[26919]:   ERROR: failed to setup guest info.
    Dec 21 10:35:38 NAS root:                  /usr/sbin/wsdd 
    Dec 21 10:35:38 NAS nmbd[26924]: [2020/12/21 10:35:38.806762,  0] ../../lib/util/become_daemon.c:135(daemon_ready)
    Dec 21 10:35:38 NAS nmbd[26924]:   daemon_ready: daemon 'nmbd' finished starting up and ready to serve connections
    Dec 21 10:35:38 NAS root:                  /usr/sbin/winbindd -D
    Dec 21 10:35:38 NAS winbindd[26934]: [2020/12/21 10:35:38.884517,  0] ../../source3/winbindd/winbindd_cache.c:3203(initialize_winbindd_cache)
    Dec 21 10:35:38 NAS winbindd[26934]:   initialize_winbindd_cache: clearing cache and re-creating with version number 2
    Dec 21 10:35:38 NAS winbindd[26934]: [2020/12/21 10:35:38.885046,  0] ../../source3/winbindd/winbindd_util.c:1289(init_domain_list)
    Dec 21 10:35:38 NAS winbindd[26934]:   Could not fetch our SID - did we join?
    Dec 21 10:35:38 NAS winbindd[26934]: [2020/12/21 10:35:38.885080,  0] ../../source3/winbindd/winbindd.c:1466(winbindd_register_handlers)
    Dec 21 10:35:38 NAS winbindd[26934]:   unable to initialize domain list
    Dec 21 10:35:38 NAS avahi-daemon[4063]: Files changed, reloading.
    Dec 21 10:35:38 NAS avahi-daemon[4063]: Loading service file /services/smb.service.
    Dec 21 10:35:38 NAS emhttpd: shcmd (4250): /etc/rc.d/rc.nfsd start
    Dec 21 10:35:38 NAS root: Starting NFS server daemons:
    Dec 21 10:35:38 NAS root:   /usr/sbin/exportfs -r
    Dec 21 10:35:38 NAS root:   /usr/sbin/rpc.nfsd 8
    Dec 21 10:35:38 NAS root:   /usr/sbin/rpc.mountd
    Dec 21 10:35:39 NAS rpc.mountd[26964]: Version 2.1.1 starting
    Dec 21 10:35:39 NAS avahi-daemon[4063]: Service "NAS" (/services/smb.service) successfully established.
    Dec 21 10:36:01 NAS nmbd[26924]: [2020/12/21 10:36:01.847586,  0] ../../source3/nmbd/nmbd_become_lmb.c:397(become_local_master_stage2)
    Dec 21 10:36:01 NAS nmbd[26924]:   *****
    Dec 21 10:36:01 NAS nmbd[26924]:   
    Dec 21 10:36:01 NAS nmbd[26924]:   Samba name server NAS is now a local master browser for workgroup MIKED on subnet 192.168.1.12
    Dec 21 10:36:01 NAS nmbd[26924]:   
    Dec 21 10:36:01 NAS nmbd[26924]:   *****
    Dec 21 10:36:01 NAS nmbd[26924]: [2020/12/21 10:36:01.847742,  0] ../../source3/nmbd/nmbd_become_lmb.c:397(become_local_master_stage2)
    Dec 21 10:36:01 NAS nmbd[26924]:   *****
    Dec 21 10:36:01 NAS nmbd[26924]:   
    Dec 21 10:36:01 NAS nmbd[26924]:   Samba name server NAS is now a local master browser for workgroup MIKED on subnet 192.168.2.12
    Dec 21 10:36:01 NAS nmbd[26924]:   
    Dec 21 10:36:01 NAS nmbd[26924]:   *****

     

    Link to comment

    Ok, I've been reviewing logs and researching and we need to go through the step by step process to verify everyone is doing this correctly.  I am having zero issues connecting a Win2k19 domain controller to Unraid 6.9-rc2, so let's try to figure out what is different from my setup to everyone elses.

     

    First and foremost, you have your Unraid server running 6.9-rc2 and on a separate machine, you have a Windows domain controller running either as bare metal or as a VM on another host (not the same machine as Unraid OS).  That domain controller should also be acting as a DNS server.  And for all intents and purposes, the domain controller should have a static IP address assigned as per Microsoft best practices.

     

    Next, you stop the array on your Unraid server and go to the Network Settings page.  From here, you set the DNS server to point to your domain controller that is also running DNS.  Apply the setting.  Then you navigate to the Settings > SMB Settings page and toggle the mode under Enable SMB to Yes (Active Directory).  Then apply that setting.

     

    And finally, in the Active Directory Settings section, you will enter your FQDN followed by the short domain name and your AD admin account/password.  So for my domain of limetech, the settings looked like this:

     

    image.png

     

    Then you can click the Join button and verify the server has joined the domain.  Let me know if these are the exact same steps for you.  If so, please let me know the domain name you're using so I can try to use the same name and see if that delivers different results.

     

    Oh, and one more thing.  Please let me know if you have anything special under the Samba extra configuration section on the SMB Settings page.

     

    Edit:  SMB Settings is found under the Settings page, not the Tools page ;-).  Thanks for catching that mistake @Mike-D

    • Thanks 1
    Link to comment

    6.9-rc2 - YES

    AD VM - On separate host also running DNS. 

    Static IP - YES

    Unraid Primary DNS = Set to AD controller's IP.

    Tools > SMB Settings: There is no SMB under tools. There is one under settings.

    Settings > SMB: Disable SMB then reenabled as Yes (Active Directory)

    SMB Extra

    #unassigned_devices_start
    #Unassigned devices share includes
       include = /tmp/unassigned.devices/smb-settings.conf
    #unassigned_devices_end

    Same issue. Not joined. I can setup a 2019 VM and test if needed.

    Link to comment

    Just a brief update, I did manage to create another DC, but found another bug with leaving a domain that we need to sort out before I can retest.  Will update again once that's done and we can attempt another join test with a differently named domain (though I doubt that would be the issue).

    Link to comment

    Also to confirm, if you reboot in safe mode without Unassigned Devices or any other plugins installed, does the behavior still happen?

    Link to comment

    I have the exact same issue.

     

    Have tested in gui-safe mode with all plugins disabled to no effect.

     

    Domain controller is a Data Centre 2019 VM running on a different Linux host.

     

    Tried joining with a normal user and domain admin - no difference.

     

    Trying a command line join gives loads of kerberos errors I can't work out.

     

    root@unraid:~# net ads join -U domainadmin
    Enter domainadmin's password:
    smb_krb5_init_context_common: Krb5 context initialization failed (Included profile file could not be read)
    kerberos_kinit_password_ext: kerberos init context failed (Included profile file could not be read)
    kerberos_kinit_password [email protected] failed: Included profile file could not be read
    smb_krb5_init_context_common: Krb5 context initialization failed (Included profile file could not be read)
    smb_krb5_init_context_common: Krb5 context initialization failed (Included profile file could not be read)
    secrets_domain_info_kerberos_keys: kerberos init context failed (Included profile file could not be read)
    secrets_store_JoinCtx: secrets_domain_info_password_create(pw) failed for XXXXX - NT_STATUS_UNSUCCESSFUL
    libnet_join_joindomain_store_secrets: secrets_store_JoinCtx() failed NT_STATUS_UNSUCCESSFUL
    Failed to join domain: This machine is not currently joined to a domain.
    root@unraid:~#

     

    Link to comment

    Ok, I've fixed this for me.

     

    Running a strace on the net ads join command it was referencing /var/cache/samba/smb_krb5/krb5.conf.SHORTDOMAIN in which there is the line

     

    include /etc/krb5.conf

    That file doesn't exist on my system, instead I have /etc/krb.conf.

     

    A symlink later and I can join the domain properly.

     

    I'm adding this to /boot/config/go for now

    # Fix missing /etc/krb5.conf
    if [ ! -f /etc/krb5.conf ] && [ -f /etc/krb.conf ]; then
    ln -s /etc/krb.conf /etc/krb5.conf
    fi

     

     

    Edited by dsmith44
    • Thanks 3
    Link to comment
    11 hours ago, dsmith44 said:

    Ok, I've fixed this for me.

     

    Running a strace on the net ads join command it was referencing /var/cache/samba/smb_krb5/krb5.conf.SHORTDOMAIN in which there is the line

     

    
    include /etc/krb5.conf

    That file doesn't exist on my system, instead I have /etc/krb.conf.

     

    A symlink later and I can join the domain properly.

     

    I'm adding this to /boot/config/go for now

    
    # Fix missing /etc/krb5.conf
    if [ ! -f /etc/krb5.conf ] && [ -f /etc/krb.conf ]; then
    ln -s /etc/krb.conf /etc/krb5.conf
    fi

     

     

    My hero. Worked straight away for me too. Thanks for posting this!

    Link to comment
    On 12/30/2020 at 6:10 AM, DuckBrained said:

    My hero. Worked straight away for me too. Thanks for posting this!

     

    Works for me too, thanks!

     

    Was getting these errors in log while joining:

     

     

    Jan 1 21:26:53 Tower smbd[11067]: create_local_token failed: NT_STATUS_INVALID_PARAMETER_MIX

    Jan 1 21:26:53 Tower smbd[11067]: ERROR: failed to setup guest info.
     

    Link to comment



    Join the conversation

    You can post now and register later. If you have an account, sign in now to post with your account.
    Note: Your post will require moderator approval before it will be visible.

    Guest
    Add a comment...

    ×   Pasted as rich text.   Restore formatting

      Only 75 emoji are allowed.

    ×   Your link has been automatically embedded.   Display as a link instead

    ×   Your previous content has been restored.   Clear editor

    ×   You cannot paste images directly. Upload or insert images from URL.


  • Status Definitions

     

    Open = Under consideration.

     

    Solved = The issue has been resolved.

     

    Solved version = The issue has been resolved in the indicated release version.

     

    Closed = Feedback or opinion better posted on our forum for discussion. Also for reports we cannot reproduce or need more information. In this case just add a comment and we will review it again.

     

    Retest = Please retest in latest release.


    Priority Definitions

     

    Minor = Something not working correctly.

     

    Urgent = Server crash, data loss, or other showstopper.

     

    Annoyance = Doesn't affect functionality but should be fixed.

     

    Other = Announcement or other non-issue.