Cannot join machines to samba 4.7.0

bogdan_bartos admin at
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 
	renew until 2017-10-16 18:08:22

[root at ad bin]# cat /etc/hostname

[root at ad bin]# cat /etc/krb5.conf
	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
	workgroup = BPDNET
	netbios name = AD
	server role = active directory domain controller
	dns forwarder =
	idmap_ldb:use rfc2307 = yes
	ldap server require strong auth = no

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

	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:

More information about the samba-technical mailing list