[Samba] macOS Ventura Connection failed

Thaddeus Waldner thadwald at hotmail.com
Thu Apr 20 13:32:56 UTC 2023


Yes, the DNS names are placeholders

I resolved this by manually specifying  the DNS server address on the Mac machines.

I use DHCP to specify DNS server on the network. For some reason MacOS 13 doesn’t respect DNS server address from DHCP server.


On Apr 19, 2023, at 11:19 AM, Thaddeus Waldner <thadwald at hotmail.com> wrote:

Hi,

I have several OSX Ventura 13.3.1 machines that I need to connect to a Samba Active Directory. After entering the Samba credentials in the Mac Directory Utility, I get the following error:

Authentication server could not be contacted.

Other machines can successfully connect, including windows 7,8,10,11, as well as older versions of macOS

I can successfully run the following DNS verification from the Mac terminal:

host -t SRV _ldap._tcp.samdom.example.com.
host -t SRV _kerberos._udp.samdom.example.com.
host -t A dc1.samdom.example.com.


Server information:
OS Ubuntu 22.04.2 LTS
Samba Version 4.15.13-Ubuntu


Smb.conf:

# Global parameters
[global]
dns forwarder = 8.8.8.8

realm = SAMDOM.EXAMPLE.COM
server role = active directory domain controller
workgroup = SAMDOM
idmap_ldb:use rfc2307 = yes

template shell = /bin/bash
template homedir = /home/%U
log level = 3
log file = /var/log/samba/%m.log

bind interfaces only = yes
interfaces = lo ens160


[sysvol]
path = /var/lib/samba/sysvol
read only = No

[netlogon]
path = /var/lib/samba/sysvol/samdom.example.com/scripts
read only = No



Please advise,

Thaddeus Waldner



More information about the samba mailing list