have you tried 

build1 (1.1.1.2,,)

(drop the hypens)


--tmac

Tim McCarthy
Principal Consultant

          

Clustered ONTAP                                                        Clustered ONTAP
 NCDA ID: XK7R3GEKC1QQ2LVD        RHCE5 805007643429572      NCSIE ID: C14QPHE21FR4YWD4
 Expires: 08 November 2014                 Expires w/release of RHEL7      Expires: 08 November 2014



On Fri, Apr 12, 2013 at 3:57 PM, Iluhes <iluhes@yahoo.com> wrote:
Does netgroup work on vFiler at all?

I took NIS out, but I cannot export even local netgroup



Is this a valid format for exports file

/vol/volX -sec=sys,rw=@build1

and /etc/netgroup

build1 (1.1.1.2, -, -)

all_groups build1

exportfs -c shows Access denied

Having buil1 with name and an entree in hosts files does not make any difference



From: Iluhes <iluhes@yahoo.com>
To: "toasters@teaparty.net" <toasters@teaparty.net>
Sent: Friday, April 12, 2013 10:23 AM
Subject: problem with moutning NFS share defines via NIS netgroup: permission dinied

Dear Experts, 
Please help
I am having problem with mount via NIS
Is there anything wrong with this
All IP and name are fake

On server :
bash-3.2# showmount -e 1.1.1.1
export list for 1.1.1.1
/vol/netapp1/vol1/X build
/vol/netapp1/vol1/Y  build

Error on server
mount 1.1.1.1:/vol/netapp1/vol1/X  /testnetapp
nfs mount: 1.1.1.1:/vol/netapp1/vol1/X : Permission denied

On filer

#ypmatch -k build netgroup
build (1.1.1.2,-,-) (1.1.1.3,-,-) 

#ypcat -k netgroup
build (1.1.1.2,-,-) (1.1.1.3,-,-) 

#exportfs
/vol/netapp1/vol1/X   -sec=sys,rw=@build
/vol/netapp1/vol1/Y    -sec=sys,rw=@build


Errors of filer

Fri Apr 12 10:14:41 CDT [netapp1: MNTPool00:info]: Client 1.1.1.2 (xid 1365436443), is sent the NULL reply
Fri Apr 12 10:14:41 CDT [netapp1: MNTPool01:info]: Client 1.1.1.2 (xid 1365436444) in mount, does not have access rights to path /vol/netapp1/vol1/X




_______________________________________________
Toasters mailing list
Toasters@teaparty.net
http://www.teaparty.net/mailman/listinfo/toasters