[Samba] DM 3.6.25 -> 4.x

Rowland Penny rpenny at samba.org
Sat Jun 30 19:37:52 UTC 2018

On Sat, 30 Jun 2018 21:02:57 +0200
"Stefan G. Weichinger via samba" <samba at lists.samba.org> wrote:

> additional:
> the krb5.conf from the former admin, I assume it could or should be 
> boiled down:
> # cat /etc/krb5.conf

The standard one for Samba is just this:

    default_realm = CUSTOMER.INTRA
    dns_lookup_realm = false
    dns_lookup_kdc = true

There doesn't seem to be anything wrong with your smb.conf.

Not sure if this is the 3.6.x machine or the 4.x.x, but which ever, I
would leave the domain, stop Samba, remove all the .ldb & .tdb (they
are probably in /var/lib/samba), delete /etc/krb5.keytab and then
rejoin the domain and restart Samba. This should create a
new /etc/krb5.keytab, check this contains the 'cifs' principals. If
it does, okay, if it doesn't, export a keytab on the DC with
samba-tool with  cifs/U1mycustomer.mycustomer.intra as the principal
and copy this to the Unix domain member. Then use 'ktutil' to
join /etc/krb5.keytab to the new keytab.

If needed, I can talk you through this ;-)


More information about the samba mailing list