Web lists-archives.com

Re: [Samba] Migrating to Samba 4.9.4 AD, kinit administrator -> kinit: Cannot contact any KDC for realm...

Roland hi there

I believe you are right. Yes I'm sure something not
configured correctly?

The old smb.conf below...

Untitled Document

Many thanx
Best regards

On 2019/02/15 11:30, Rowland Penny via samba wrote:
On Fri, 15 Feb 2019 00:50:13 +0200
Ashley via samba <samba@xxxxxxxxxxxxxxx> wrote:

Ah, 'classicupgrade' ????

Yes, classicupgrade.

I have installed 4.8.9 from source.
I get same error when starting up:    samba_terminate:
samba_terminate of samba 24484: kdc failed to setup interfaces
       -> samba_terminate: samba_terminate of samba 24484: kdc failed
to setup interfaces

Except now it doesn't run at all.
# smbclient -L localhost -U%
Connection to localhost failed (Error NT_STATUS_CONNECTION_REFUSED)

This is more likely something else, what are you 'classicupgrading'
from ?
I think it was 4.8.3   (The standard Centos 7 packages)
What is in the original smb.conf ?
See below
Are you doing this on the original PDC ?
Yes. All on the same box.
If not, is the ethernet device name correct ?
I'm also running a virtual machine on this box. Could that influence?

original smb.conf  (excluding the shares):

    workgroup = BHUBFAB
        server string = Server
    netbios name = SIMBA
    domain logons = Yes
    domain master = Yes
#    interfaces = lo enp0s25 br0 enp1s0
    interfaces = lo enp0s25
    hosts allow = 127., 192.168.192., 192.168.194., 192.168.190., 10.44.8., 10.44.9.
     follow symlinks = yes
    wide links = yes
     unix extensions = no
        ntlm auth = yes        # this for workaround for recent Win 10 update prevents logon

    # log files split per-machine:
    log file = /var/log/samba/log.%m
    # maximum size of 50KB per log file, then rotate:
    max log size = 50

    security = user
    passdb backend = tdbsam

    logon path =
    logon drive = H:

    add user script = /usr/sbin/useradd "%u" -n -g users
    add group script = /usr/sbin/groupadd "%g"
    add machine script = /usr/sbin/useradd -n -c "Workstation (%u)" -M -d /nohome -s /bin/false "%u"
    delete user script = /usr/sbin/userdel "%u"
    delete user from group script = /usr/sbin/userdel "%u" "%g"
    delete group script = /usr/sbin/groupdel "%g"

    local master = yes
    os level = 255
    preferred master = yes

    wins support = yes
#    name resolve order = wins lmhosts host dns bcast
    name resolve order = wins lmhosts host bcast
    admin users = ashley

    load printers = yes
    cups options = raw

#============================ Share Definitions ======

To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba