[Samba] Mounting Samba shares with Kerberos
Rowland Penny
rpenny at samba.org
Mon Jan 15 15:54:17 UTC 2024
On Mon, 15 Jan 2024 14:33:36 +0100
"Pluess, Tobias via samba" <samba at lists.samba.org> wrote:
> Good day,
>
> I have installed a couple of Linux machines where I want to mount
> various Samba shares.
> So far, I (and various other users) do this using a credentials file,
> because nobody has ever been able to properly configure everything
> needed such that the shares can be mounted using the login
> credentials. However, from time to time, I try again to set things up
> properly. So here it goes:
>
> people login to the computer using their Active Directory credentials
> and PAM. This works perfectly. The server where one can log in is
> joined to the Active Directory, and therefore, upon login, Kerberos
> tickets are created:
>
> I try to mount manually:
>
> $ sudo mount -t cifs -o sec=krb5 //<servername>/<sharename>/
Try it like this:
sudo mount -t cifs //<servername>/<sharename>/ /mount/point -o
sec=krb5,cruid=$USER
Rowland
More information about the samba
mailing list