nfsd_map_name_to_uid(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so bestie, you're on the nfsd_map_name_to_uid(9) page in the Kernel API Manual, and it's literally here to map a user@domain to a local UID πŸ’…βœ¨

πŸ’– NAME πŸ’–

nfsd_map_name_to_uid β€” Map user@domain to local UID. That's the whole name drop, main character energy only πŸ˜ŒπŸ‘‘

✨ SYNOPSIS ✨

okay bestie, here's the exact synopsis, no cap:

__be32 nfsd_map_name_to_uid (struct svc_rqst *rqstp , const char *name ,
size_t namelen , kuid_t *uid );

πŸŽ€ ARGUMENTS πŸŽ€

  • rqstp β€” RPC execution context, aka the scene-setting details for the call πŸŒ€
  • name β€” the userdomain name to be mapped, literally the name we're trying to match up πŸ‘€
  • namelen β€” length of name, in bytes; yes, bytes, not vibes πŸ“
  • uid β€” OUT: mapped local UID value, so it's the fill-in-the-blank slot 🎁

πŸ¦‹ DESCRIPTION πŸ¦‹

The description is short and sweet: Returns nfs_ok on success or an NFSv4 status code on failure. That's it, that's the whole vibe β€” iconic, no notes πŸ’–πŸ”₯

🌸 SEE ALSO 🌸

  • Kernel file ./fs/nfsd/nfs4idmap.c and nfsd_map_name_to_gid(9) β€” the SEE ALSO besties, go peek if you're curious πŸ‘€πŸ’…

k bye bestie 🫢 source/version line is ./fs/nfsd, date is October 2026, page is nfsd_map_name_to_uid(9) β€” mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from