[Samba] Unable to access shares by server alias

Alex MacCuish alex at maccuish.org.uk
Fri May 8 21:42:27 UTC 2020

Did you update the keytab on the fileserver after changing the SPNs on 
the computer object? If not, the fileserver won't have the correct SPNs 
in its keytab file so will fail at negotiating kerberos. NTLM should 
have still saved you however...

On 08/05/2020 22:27, Lorenzo Milesi via samba wrote:
> Hi.
> We migrated a S4 workgroup to S4 AD DC, I'm trying to allow users to access the new \\fileserver with the old host name \\server. I added a CNAME record to the AD DNS zone, created alias for fileserver with
> samba-tool  spn add ldap/SERVER fileserver$
> samba-tool  spn add HOST/SERVER fileserver$
> I also added
>          netbios aliases = server
> to smb.conf but this should be useless, as they're now all using Windows10 and 7. But I'm still unable to browse the server as \\server.
> Am I missing something?
> thanks

More information about the samba mailing list