[Samba] Cannot contact any KDC for realm

Rowland penny rpenny at samba.org
Wed Aug 12 07:39:20 UTC 2020


On 12/08/2020 08:24, Alfonso Conner wrote:
> Hi Rowland,
>
> Sorry I missed out on the OS.
>
> CentOS Linux release 7.6.1810 (Core)
>
> smb.conf
> # Global parameters
> [global]
>         bind interfaces only = Yes
>         interfaces = lo ens192
>         netbios name = SERVER1
>         realm = EXAMPLE.COM <http://EXAMPLE.COM>
>         server role = active directory domain controller
>         workgroup = WORKGROUP
>         idmap_ldb:use rfc2307  = yes
>         ldap server require strong auth = no
>         template shell = /bin/bash
>         template homedir = /home/%U
>         time server = yes
>
> [netlogon]
>         path = /usr/local/samba/var/locks/sysvol/example.com/scripts 
> <http://example.com/scripts>
>         read only = No
>
> [sysvol]
>         path = /usr/local/samba/var/locks/sysvol
>         read only = No
>
> Regards
> Alfonso

It looks like you have built Samba yourself, so did you run this script:

https://git.samba.org/?p=samba.git;a=blob_plain;f=bootstrap/generated-dists/centos7/bootstrap.sh;hb=master

Before you built Samba ?

Have you installed and started 'krb5-server' ?

Rowland





More information about the samba mailing list