Hi Mahesh,

thanks for your help. Unfortunately I can't get it to function  
properly yet.

>> UID/GID mapping would be one solution, however, an easier one may  
>> be  sufficient: Can I force OS X clients that connect to the share  
>> to be  default mapped to the anonymous user with rw permissions?  
>> Security is  not so much a concern for the setup I'm looking at.

> Is there a mapping for uid 501 on the OpenSolaris box?  If not then  
> the uid will be mapped to
> 'anonymous' user. And you can map anonymous users to a  particular  
> id for that
> particular share using 'anon=uid' option. Check out share_nfs(1M)  
> and sharemgr(1M)

Although the uid 501 (coming from the mac) is not a known user on the  
solaris machine, it ends up assigning this UID as the file owner:

# sharemgr show -vp
default nfs=(anon="101")
zfs
     zfs/largeAtt/eyeTV nfs=(anon="101") smb=()

Still ends up creating new entries with:
-rw-r--r--   1     501 games  278528 2008-01-08 19:16 testFile

which is the uid from the mac (501, GID 20 is "staff" on mac and  
apparently "games" on opensolaris).

I am not using kerberos or so, so it should be AUTH_SYS, as far as I  
understand.
Is there still something wrong with my configuration here?

Thanks again,

Dominik




Reply via email to