Access Windows NFS Server share from Linux NFS client
Hello!
I am running Windows NFS server 2019. I have created NFS share folder on the the server and the share folder has permission set to security group nfsusers and nfsusers has gid 7111. I am logged into to linux client with my AD username name the user has uid 3211. The user with uid 3211 is part of nfsusers security group.
I have set my AD domain in idmap.conf and I have mounted the nfs share.
When I browse to the share I can see in the syslog.
nfs4_name_to_uid: calling nsswitch->name_to_uid and then in next line.
nss_getpwnam: name it shows my username@domainname.
But for security group. its not able to resolve it.
nfsidmap[14523]: nfs4_name_to_gid: calling nsswitch->name_to_gid
nfsidmap[14523]: nfs4_name_to_gid: nsswitch->name_to_gid returned -22
This is for Domain users and Users@BUILTIN.
Its not trying to reolove nfsusers security group.
How can I set the permission based on security groups on nfs share so that Linux users with proper permission based on security groups can access the shares?.
Thanks
Last edited by capricorn80; 10-03-2022 at 04:29 AM.
|