[Samba] samba 4 and nfs permissions

steve steve at steve-ss.com
Tue Dec 27 01:59:33 MST 2011

On 12/26/2011 11:55 PM, Bernd Markgraf wrote:
> On Mon, 2011-12-26 at 18:21 +0100, Gémes Géza wrote:
>> 2011-12-26 17:51 keltezéssel, steve írta:
>>> On 12/25/2011 09:51 AM, steve wrote:
>>>> On 12/25/2011 09:18 AM, Gémes Géza wrote:
>>>>> 2011-12-24 14:58 keltezéssel, steve írta:
>>>>>> On 12/24/2011 01:19 PM, Gémes Géza wrote:
>>> This seems to do what I want:
>>> http://wiki.samba.org/index.php/Samba4/Winbind
>>> But it's over a year old.
>>> Is this document still valid?
>>> Thanks
>>> Steve.
>> In a multiple non-Windows machine environment this behaviour is exactly
>> what causes your problems:
>> Each *nix box maintains its own SID<->uid/gid mapping which is unrelated
>> to the one used by others.
>> Unfortunately for now the box running Samba4 is out of question, because
>> it can only use its own internal mapping.
> forgot to comment more on that. The profiles stored on the Samba4
> machine belong to a totally different userid. Samba4 in my case uses
> 3000010+ (incrementing with each new user) while the real uids on the
> clients start at 1000. I never tried to make Samba4 use the 'real'
> uidnumbers as the profiles are only accessible from the Windows clients.
>   bernd
I have created the home directories with the uid number given by wbinfo. 
So user steve2 has a home directory of /home/DOMAIN/steve2 300006:100

These uid:gid are respected when I export /home using nfs. I can see 
300006:users on the client too. Even so, as you say these numbers are 
not respected outside of the samba 4 - windows relationship.

More information about the samba mailing list