Cannot join machines to samba 4.7.0

bogdan_bartos admin at blackpenguin.org
Sun Oct 15 15:25:07 UTC 2017


Not sure what happened, but after I upgraded samba to the latest version -
4.7.0, it is not possible to join any machines to the DC. I am running it on
Fedora 26 x64 as a single domain controller. When attempting to join the
machine, it is asking for the administrator credentials that I already reset
with smbpasswd. I can access the shares with them, so the password works for
sure. However, after a long time attempting to join, the following error
appears - "The following error occured attempting to join the domain BPDNET:
The specified domain either does not exist or could not be contacted."

[root at ad bin]# ./samba-tool user setpassword Administrator
New Password: 
Retype Password: 
Changed password OK
[root at ad bin]# klist
Ticket cache: FILE:/tmp/krb5cc_0
Default principal: administrator at AD.BLACKPENGUIN.ORG

Valid starting       Expires              Service principal
2017-10-15 18:08:26  2017-10-16 04:08:26 
krbtgt/AD.BLACKPENGUIN.ORG at AD.BLACKPENGUIN.ORG
	renew until 2017-10-16 18:08:22

[root at ad bin]# cat /etc/hostname
ad.blackpenguin.org

[root at ad bin]# cat /etc/krb5.conf
[libdefaults]
	default_realm = AD.BLACKPENGUIN.ORG
	dns_lookup_realm = false
	dns_lookup_kdc = true

[root at ad bin]# cat /usr/local/samba/etc/smb.conf 
# Global parameters
[global]
	workgroup = BPDNET
	realm = AD.BLACKPENGUIN.ORG
	netbios name = AD
	server role = active directory domain controller
	dns forwarder = 10.0.0.1
	idmap_ldb:use rfc2307 = yes
	ldap server require strong auth = no

[netlogon]
	path = /usr/local/samba/var/locks/sysvol/ad.blackpenguin.org/scripts
	read only = No

[sysvol]
	path = /usr/local/samba/var/locks/sysvol
	read only = No

<shares follow>

I also tried to join it to AD, or AD.BLACKPENGUIN.ORG, or BPDNET, or bpdnet
and none works.



--
Sent from: http://samba.2283325.n4.nabble.com/Samba-samba-technical-f2457555.html



More information about the samba-technical mailing list