Which service to mount on linux?

eingemaischt

Dabbler
Joined
Nov 24, 2020
Messages
14
I want to use Truenas Scale as a nas - there are only linux clients on the network, but the network infrastructure is not trustworthy.
I want to mount the shares on all clients - user are taken from an openldap, so their uid/gids are equal on all systems.

Shall I use CIFS or NFS3/4 as network file system?

Is it possible to map uids and gids with SMB/CIFS?

Or should I prefer NFS? Are their any easy tutorials for a minimal kerberos server as truenas scal app receiving its user data from an openldap?
 

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,776
CIFS mounts are always in a user context, not in a system context.
You mount a share via CIFS authenticating as user X - then all operations will be carried out as that user - as defined on and authenticated by the server.

That's fine if all clients are single user workstations. If there are multiple users on the clients accessing the same share, NFS is probably what you want.
 

eingemaischt

Dabbler
Joined
Nov 24, 2020
Messages
14
I always thought that I saw a CIFS mount as root where the (POSIX) ACLs where transferred (and applied) as well - or do I confuse something?

But ok, I think I'll have to take a deeper look to kerberos, then.
 
Top