IDMAP_NSS(8)
β¨ IDMAP_NSS π
okay bestie, welcome to the idmap_nss page β part of the IDMAP_NSS(8) family of System Administration tools, and yes she's a Samba girlie π
πΈ NAME πΈ
idmap_nss β Samba's idmap_nss backend for Winbind. that's the whole name, she's simple, she's iconic π
π¦ DESCRIPTION π¦
so the idmap_nss plugin is literally your girl for mapping Unix users and groups onto Windows accounts π«Ά
it's a simple lil way to make sure that the SID for a Unix user named jsmith gets reported as the one assigned to DOMAIN\jsmith β which, and this is the important part, is necessary for reporting ACLs on files and printers stored on a Samba member server. no cap, if you skip this the ACL reporting just does not eat π
π IDMAP OPTIONS π
range = low - highβ sets the available matching UID and GID range where this backend is authoritative. lowkey crucial detail: the range acts as a filter. any UIDs or GIDs that NSS modules return but that fall outside the range get ignored, and the corresponding maps get discarded. it's designed as a way to dodge accidental UID/GID overlaps between locally and remotely defined IDs. protective queen behavior honestly π‘οΈuse_upn = <yes | no>β so some NSS modules can return and handle UPNs and/or down-level logon names (likeDOMAIN\useroruser@REALM) β¨- if you enable this parameter, the returned names from NSS get parsed, and the resulting namespace is used as the authoritative namespace instead of the IDMAP domain name. also, down-level logon names get sent to NSS instead of the plain username, which gives NSS modules a hint about the user's correct domain π§
- Default:
no
π EXAMPLES π
this example shows you how to use idmap_nss to obtain the local account ID's for its own domain (SAMBA) from NSS, whilst allocating new mappings for the default domain (*) and any trusted domains π«
[global]
idmap config * : backend = tdb
idmap config * : range = 1000000-1999999
idmap config SAMBA : backend = nss
idmap config SAMBA : range = 1000-999999
π AUTHOR π
the original Samba software and related utilities were created by Andrew Tridgell. Samba is now developed by the Samba Team as an Open Source project similar to the way the Linux kernel is developed. legends only, fr fr π
and that's the page, bestie!! this was Samba4.24.7, dated09/09/2026β go forth and map those IDs, you absolute main character π β¨π¦
π¦ where this page comes from
- fedora 44: samba-winbind 2:4.24.7-1.fc44 Β· GPL-3.0-or-later AND LGPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms