[Samba] Using smbclient and mount.cifs with SPN in Keytab

Christian Haase
2017-05-10T12:32:05Z

Hi,

L.P.H. van Belle via samba schrieb:
> Does it work if you test like this.
>
> kinit testuser at EXAMPLE.COM
> mount -t cifs -o sec=krb5 //server.example.com/export /mnt/cifs
yep, this works. Only when I use a SPN it does not, but this is what I
try to do.

> I cant tell much about automount, i use it but through systemd for my nfsv4
mounts.
The automount-part will be no problem for me, if the mount itself works
(with spn), e.g. mount -t cifs -o krb5 //ad/netlogon /mnt

Cheers,