LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-03-2022, 04:24 AM   #1
capricorn80
Member
 
Registered: Jun 2006
Distribution: CentOS
Posts: 154

Rep: Reputation: 15
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.
 
Old 10-04-2022, 07:44 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,879

Rep: Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317
If I understand well it is a local linux user, which does not belong to any AD group. So you need to use a user from AD.
 
Old 10-04-2022, 08:49 AM   #3
capricorn80
Member
 
Registered: Jun 2006
Distribution: CentOS
Posts: 154

Original Poster
Rep: Reputation: 15
Hello!

yes this username@domainname is local user and my AD user get resolved well but my AD security group doesnt resolve.

thanks
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
NFS share file content differ from NFS client seddik Linux - Server 3 02-09-2021 07:16 PM
[SOLVED] NFS Client Unable to Mount the NFS Share devUnix Linux - Server 8 09-12-2019 10:53 AM
LXer: Easy NFS Share Setup In Ubuntu, Linux Mint Or Debian With Simple NFS GUI (Server And Client) LXer Syndicated Linux News 0 11-22-2018 03:22 PM
NFS Share within an NFS Share tiberus Linux - Server 2 05-25-2010 10:28 AM
[SOLVED] NFS mount fails (times out): NFS server is in DMZ, NFS client is in intranet Hiroshi Linux - Networking 2 05-24-2010 10:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:13 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration