[Samba] samba 4 and nfs permissions

Gémes Géza geza at kzsdabas.hu
Wed Dec 28 01:10:38 MST 2011


2011-12-27 22:20 keltezéssel, Bernd Markgraf írta:
>> 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.
> Of course you see the same uid/gid numbers on the clients. what the
> clients are missing is the associated username. on your client uidnumber
> 300006 could very well be jennifer and not steve2. the fact that you see
> the uidnumber and not a username means that your nfs clients don't have
> the users in the nameservice in use. to make things work properly you
> need to make the users you have in samba known to your nfs client's OS.
>
>   bernd
>
I would suggest the following:

Implement rfc2307 schema on samba4, modify your user accounts according
to it. Then create your home directories with the uid/gid setted in the
AD (this way on the samba4 box the uids, gids will look wrong, but on
the client *nix boxes they will be right)

Regards

Geza


More information about the samba mailing list