IDMAP_TDB(8)

πŸ’– IDMAP_TDB πŸ’–

okay bestie, welcome to the idmap_tdb page β€” it's in section 8 of the manual (system administration tools, iykyk) and it's genuinely one of the most important little guys in your Samba setup, so let's get into it 🫢

✨ NAME ✨

idmap_tdb β€” Samba's idmap_tdb Backend for Winbind. that's it, that's the name, slay πŸ’…


🌸 DESCRIPTION 🌸

so the idmap_tdb plugin is the default backend that winbindd uses to store its SID/uid/gid mapping tables. no cap, it's the one running the show unless you go out of your way to change it πŸ‘‘

and here's the tea: unlike the read only backends β€” think idmap_rid and friends β€” this one is an allocating backend. which means it has to allocate brand new user and group IDs in order to create new mappings. it's giving main character energy, it's out here handing out IDs like candy πŸ“


πŸŽ€ IDMAP OPTIONS πŸŽ€

  • range = low - high β€” this defines the available matching uid and gid range for which the backend is authoritative. like, this is your range, bestie, own it πŸ’œ

✨ EXAMPLES ✨

this example shows how tdb is used as the default idmap backend. this configured range is what gets used for uid and gid allocation πŸ”₯

[global]
# "backend = tdb" is redundant here since it is the default
idmap config * : backend = tdb
idmap config * : range = 1000000-2000000

see how the comment says it's redundant? that's because tdb is already the default β€” iconic behaviour, honestly πŸ’…


πŸ‘‘ 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. literally legends, every single one of them 🫢🌈


and that's the whole page, bestie!! this was Samba 4.24.7, dated 09/09/2026 β€” go forth and map those IDs, you absolute icon β­πŸ’–

πŸ“¦ where this page comes from