Use sec=sys.

Spencer

On Sep 26, 2007, at 12:09 PM, kristof wrote:

> Linux client can connect to opensolaris (b72) nfs server but  
> security should not allow it, how come?
>
> When I connect as vers=3 we get security flavor not accepted, but  
> when we connect as vers=2 we ghet write access??
>
> NFS Server (192.168.11.247)
> [root at demo-07:09 PM-~]# zfs get sharenfs usb/test5
> NAME       PROPERTY   
> VALUE                                                     SOURCE
> usb/test5  sharenfs   
> r...@127.0.0.1/32:@192.168.11.0/24,sec=none,anon=a0000004  local
>
> Client: (minimal dapper based xen dom0)
>
> root at DPD2:~# ifconfig eth0
> eth0      Link encap:Ethernet  HWaddr 00:17:31:5A:17:9E
>           inet addr:10.100.150.190  Bcast:10.100.255.255  Mask: 
> 255.255.0.0
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:223129908 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:283993 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0
>           RX bytes:13699660152 (12.7 GiB)  TX bytes:59228283 (56.4  
> MiB)
>
>
>
> root at DPD2:~# showmount -e 192.168.11.247
> Export list for 192.168.11.247:
> /usb/test5 @127.0.0.1/32, at 192.168.11.0/24
>
> mount -o tcp,vers=2 192.168.11.247:/usb/test5 /mnt
> root at DPD2:~# mount
> 192.168.11.247:/usb/test5 on /mnt type nfs  
> (rw,tcp,nfsvers=2,addr=192.168.11.247)
>
>
> This message posted from opensolaris.org
> _______________________________________________
> nfs-discuss mailing list
> nfs-discuss at opensolaris.org


Reply via email to