[Samba] linux clients sharing same home directory as W clients

Rowland Penny rpenny at samba.org
Sun Feb 5 14:39:22 UTC 2017

On Sun, 05 Feb 2017 07:52:50 -0600
Bob of Donelson Trophy via samba <samba at lists.samba.org> wrote:

> I know others have done this in the past but I still have this simple
> basic question. 
> Every time I begin to look into adding a linux client to my samba4
> based domain system I get confused. 
> How my linux client authenticates does not matter to me, at the
> moment. 
> My question is this, can linux clients (via the file share access
> method of choice, sssd, cifs, sshfs, etc.) access the same "home"
> directory user files as the Windows client users via addc? 
> Further explanation of my question. Our Windows clients use folder
> redirection via GPO to keep Windows(Samba) user files on a Samba
> member server. Can the linux client access (via NFS perhaps) the same
> Samba member server "home" directory without file permission issue
> between the two different client heterogeneous OS mixture? 
> What potential problems am I about to create for myself?

This all depends on whether your 'Linux' user is known to the Samba
member server or not and if known, that they have the same username &
password as the 'windows' user.

The easiest way to ensure this occurs, is to join the Linux machines to
the domain and set up Samba (and AD) to make all your users AD users.
This way a user could log onto a windows machine, create a file, log
off and then move to a Linux machine, log in and read the same file.

If you are storing files on a DC, then you should use the winbind 'ad'
backend and give all your AD users a uidNumber and Domain Users a

Questions ??


More information about the samba mailing list