RPC.IDMAPD(8)
๐ RPC.IDMAPD ๐
okay bestie, gather round, because we're about to talk about rpc.idmapd โ that's the NFSv4 ID <-> Name Mapper, and yes it lives in section 8 of the System Manager's Manual, so it's a real grown-up daemon and everything. ๐ซถ
โจ NAME โจ
rpc.idmapd โ the NFSv4 ID <-> Name Mapper. it maps, bestie. that's the whole job. ๐
๐ SYNOPSIS ๐
rpc.idmapd [-h] [-f] [-v] [-C] [-S] [-p path] [-c path]
๐ธ DESCRIPTION ๐ธ
so rpc.idmapd is the NFSv4 ID <-> name mapping daemon. it's out here providing functionality to the NFSv4 kernel client and the server, and it talks to them via upcalls, translating user and group IDs into names, and also names back into IDs. both directions. versatile queen. ๐
the system figures out the user part of the string by doing a password or group lookup. and where does that lookup mechanism live? in /etc/idmapd.conf. that's the vibe. โจ
by default, the domain part of the string is the system's DNS domain name. but lowkey you can also specify it in /etc/idmapd.conf if your system is multi-homed, or if the system's DNS domain name doesn't match the name of the system's Kerberos realm. it's giving "we contain multitudes." ๐
when the domain is not specified in /etc/idmapd.conf, the local DNS server gets queried for the _nfsv4idmapdomain text record. if that record exists, that's what gets used as the domain. and if the record doesn't exist? the domain part of the DNS domain gets used. mystery solved, no cap. ๐
okay important note bestie: on more recent kernels, only the NFSv4 server usesrpc.idmapd. the NFSv4 client usesnfsidmap(8)instead, and it only falls back torpc.idmapdif there was a problem running thenfsidmap(8)program. so it's the backup plan. the understudy. the one who goes on when the main character can't. ๐ญ
the options are as follows:
๐ OPTIONS ๐
-hโ display the usage message. short, sweet, iconic.-vโ increases the verbosity level. and yes, you can specify it multiple times, so go off, stack them,-vvvyour heart out. ๐ข-fโ runsrpc.idmapdin the foreground and prints all output to the terminal. no hiding, no mystery, we're watching it live. ๐-ppathโ specifies the location of the RPC pipefs to bepath. the default value is"/var/lib/nfs/rpc_pipefs". ๐-cpathโ use configuration filepath. heads up though: this option is deprecated. it's giving legacy behavior. she's retired but still shows up to the party. ๐-Cโ client-only: perform no idmapping for any NFS server, even if one is detected. just say no. ๐-Sโ server-only: perform no idmapping for any NFS client, even if one is detected. the other half of the same energy. โจ
๐ฆ CONFIGURATION FILES ๐ฆ
rpc.idmapd recognizes the following value from the [general] section of the /etc/nfs.conf configuration file:
pipefs-directoryโ equivalent to-p. that's it, that's the whole entry. ๐
and literally every other setting related to id mapping? those live in the /etc/idmapd.conf configuration file. two files, two vibes, one mapping daemon. ๐ธ
โญ EXAMPLES โญ
rpc.idmapd -f -vvv
this one runs rpc.idmapd printing all messages to console, and with a verbosity level of 3. three v's. maximum yapping. we love to see it. ๐ฃ๏ธ๐ฅ
๐ FILES ๐
/etc/idmapd.conf/etc/nfs.conf
๐ SEE ALSO ๐
๐ AUTHORS ๐
the rpc.idmapd software has been developed by Marius Aamodt Eriksen โจmarius@citi.umich.eduโฉ. thank you for your service, king. ๐ซถ
okay that's the whole page bestie, and just so you know where this came from: it's a Debian page, dated February 3, 2003. ancient. vintage. archival. and yet still out here mapping IDs for us. periodt. ๐โจ๐๐ฆ๐ธ๐
๐ฆ where this page comes from
- alpine 3.22: nfs-utils-doc 2.6.4-r4 ยท GPL-2.0-only
- alpine 3.23: nfs-utils-doc 2.6.4-r6 ยท GPL-2.0-only
- alpine 3.24: nfs-utils-doc 2.6.4-r6 ยท GPL-2.0-only
- arch rolling: nfs-utils 3.1.1-1 ยท GPL-2.0-or-later
- centos-stream 10: nfs-utils 1:2.8.3-9.el10 ยท MIT and GPLv2 and GPLv2+ and BSD
- debian bookworm: nfs-common 1:2.6.2-4+deb12u1
- debian trixie: nfs-common 1:2.8.3-1
- fedora 43: nfs-utils 1:2.8.4-0.fc43 ยท LicenseRef-Callaway-MIT AND GPL-2.0-only AND GPL-2.0-or-later AND LicenseRef-Callaway-BSD
- fedora 43: nfs-utils 1:2.8.7-6.fc43 ยท LicenseRef-Callaway-MIT AND GPL-2.0-only AND GPL-2.0-or-later AND LicenseRef-Callaway-BSD
- fedora 44: nfs-utils 1:2.8.7-0.fc44 ยท GPL-2.0-only AND GPL-2.0-or-later AND BSD-3-Clause AND BSD-2-Clause AND (HPND-export-US-modify AND HPND-sell-variant) AND (GPL-2.0-only WITH Linux-syscall-note OR BSD-3-Clause)
- fedora 44: nfs-utils 1:2.8.7-7.fc44 ยท GPL-2.0-only AND GPL-2.0-or-later AND BSD-3-Clause AND BSD-2-Clause AND (HPND-export-US-modify AND HPND-sell-variant) AND (GPL-2.0-only WITH Linux-syscall-note OR BSD-3-Clause)
- nixos 26.05: nfs-utils 2.9.1
- nixpkgs unstable: nfs-utils 3.1.1
- opensuse-leap 16.0: nfs-client 2.8.2-160000.4.1 ยท GPL-2.0-or-later
- opensuse-leap 16.0: nfs-client 2.8.2-160000.4.1 ยท GPL-2.0-or-later
- opensuse-leap 16.0: nfs-client 2.8.2-160000.4.1 ยท GPL-2.0-or-later
- opensuse-leap 16.0: nfs-client 2.8.2-160000.4.1 ยท GPL-2.0-or-later
- ubuntu jammy: nfs-common 1:2.6.1-1ubuntu1
- ubuntu jammy: nfs-common 1:2.6.1-1ubuntu1.2
- ubuntu noble: nfs-common 1:2.6.4-3ubuntu5
- ubuntu noble: nfs-common 1:2.6.4-3ubuntu5.1
- ubuntu questing: nfs-common 1:2.8.3-1ubuntu3
- ubuntu resolute: nfs-common 1:2.8.5-1ubuntu1
- ubuntu stonking: nfs-common 1:2.9.1-1ubuntu1
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms