> On Dec 4, 2014, at 1:29 PM, Dan McDonald <dan...@omniti.com> wrote:
> 
> 
>> On Dec 4, 2014, at 1:20 PM, John Klimek <jkli...@gmail.com> wrote:
>> 
>> I'm running OmniOS (v5.11, omnios-10b9c79, September 2014) as my server and 
>> Ubuntu 14.04 as my client.  I'm only using sys (?) authentication and not 
>> Kerberos.
>> 
>> I've correctly set my NFS domain name but it's only partially working.
>> 
>> Here's an example:
>> 
>> Server:  user 'media', uid 1000.
>> Client:  user 'media', uid 2000.
>> 
>> If I create a file as 'media' on the server, the client correctly maps the 
>> id to the local 'media' user.  However, if I create a file on the client, 
>> the server will show a uid and doesn't correctly map to the local 'media' 
>> uid.
>> 
>> What can I have setup wrong?
>> 
> 
> Are you sharing using zfs(1M) sharing properties?  (zfs set sharenfs=on 
> <filesystem>)
> 
> You need to make sure you set the uidmap property when you share your 
> filesystem.  I believe, you want this:
> 
>       zfs set sharenfs='uidmap=2000:media' <filesystem>

You may need to also specify the IP address of the particular client:

        zfs set sharenfs='uidmap=2000:media:<hostname>' <filesystem>

Dan

_______________________________________________
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss

Reply via email to