Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Okay... I have an NFS4 server running. I have a data partition that is being "shared" through NFS4 as well as through Samba. Samba is joined at the hip with Active Directory through winbind & nsswitch. I'm also using POSIX acls on the filesystem to supplement the usual user+group+everyone bits.
However, I'm having a wierd problem. When I mount the export, I see the files properly, but the ownership is wrong.
The owning user should be root, and the owning group should be netadmins.
I have matched the users and groups (with matching uids and gids) on the workstation I'm mounting it from. I also mounted this share locally (on the server) and got the same results, so I know it isn't the workstation.
Thinking that POSIX acls might be to blame, I reset (removed extra acls) several of the folders in this partition, and remounted the NFS4 export, and got the same results. Every file, regardless of its true ownership, shows this.
Now the odd thing is, the security permissions seem to be coming across right. Meaning, on the groups that are owned by netadmins, I can write to (I want the export rw), like I should be able, and I cannot write to those that I don't have ownership to. In other words, this UID/GID thing appears to be display only.
I then realized that idmapd wasn't running, so I started it and remounted the NFS4 export. Now the files show owned by "nobody" and "nobody" (user, group, respectively).
However, as the data is important, I don't want to create file corruption, so I want to fix this 'bug' if I can.