On Wed, Apr 5, 2017 at 5:28 PM, Sebastian Treiber <
sebastian.trei...@gns-systems.de> wrote:

> Dear members of the Systemd mailing list,
>
> for a long time I have been struggling with a problem which sounds
> relatively easy:
> I have a cifs file server and a Linux (CentOS 7) client. On the client I
> want to mount a share from the file server using Kerberos.
> Only the root user can perform the mount but typically it has no Kerberos
> ticket. A user, on the other hand, has a Kerberos ticket but must not mount
> anything.
> That means the mount has to be done by the root user and the uid of a user
> who has a valid Kerberos ticket has to be used as an option. For example:
>

cifs supports `-o multiuser`, which allows each UID to use a separate
session. So you can perform the mount as root using the machine credentials
(keytab) or another dedicated account, and each user will automatically use
their own credentials when accessing the share.

-- 
Mantas Mikulėnas <graw...@gmail.com>
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to