Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Networking & Security
  • Search

Usermapping NFS4

Having problems getting connected to the internet or running a server? Wondering about securing your box? Ask here.
Post Reply
Advanced search
3 posts • Page 1 of 1
Author
Message
Bitspyer
Apprentice
Apprentice
User avatar
Posts: 211
Joined: Tue Dec 17, 2002 10:49 am
Location: Mainz, Germany

Usermapping NFS4

  • Quote

Post by Bitspyer » Sat Dec 19, 2009 8:12 pm

Hi,

ok, i got a problem with the Usemapping of nfs v4...

First: My idmapd.conf of Server and Client

Code: Select all

[General]

Verbosity = 4
Pipefs-Directory = /var/lib/nfs/rpc_pipefs
Domain = home.lan

[Mapping]

Nobody-User = media
Nobody-Group = media
User media exists on both system with uid=2000 and gid=2000, but is not my working User!

My /etc /exports

Code: Select all

/srv/nfs 192.168.1.0/24(rw,fsid=0,insecure,no_subtree_check,async)
/srv/nfs/audio 192.168.1.0/24(rw,nohide,insecure,no_subtree_check,anonuid=2000,anongid=2000)
/srv/nfs/video 192.168.1.0/24(rw,nohide,insecure,no_subtree_check,anonuid=2000,anongid=2000)
fstab on the client

Code: Select all

192.168.1.20:/audio          /media/audio   nfs4             users,noauto 0 0
192.168.1.20:/video          /media/video   nfs4             users,noauto 0 0
I mounted the Folders as User, when i needed.
Ok, mounting will work, but not the Mapping!

When I mount the Directories and write some files, it gets Filepermissions for nobody/users

If i create on my nas-box a user with the same uid and gid as my running User on my client, the mapping work fine.

But i want this media-user for my box. With nfs v3 everything was fine, but with nfs v4 it will not work!

Any tips?

Thnx,
Bitspyer
Der Weg zur Dunklen Seite... Schneller er ist, verführerischer, leichter.
Top
Bircoph
Retired Dev
Retired Dev
User avatar
Posts: 261
Joined: Fri Jun 27, 2008 3:32 am
Location: Moscow

  • Quote

Post by Bircoph » Sat Dec 19, 2009 9:43 pm

Do you have rpc.idmapd running?
Per aspera ad astra!
Top
Bitspyer
Apprentice
Apprentice
User avatar
Posts: 211
Joined: Tue Dec 17, 2002 10:49 am
Location: Mainz, Germany

  • Quote

Post by Bitspyer » Tue Dec 22, 2009 10:29 am

Yes, rpc.idmapd is running...
Der Weg zur Dunklen Seite... Schneller er ist, verführerischer, leichter.
Top
Post Reply

3 posts • Page 1 of 1

Return to “Networking & Security”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic