TDBDUMP(8)

πŸ“¦
version 1.4.15+samba4.24.7 Β· 2 versions
  • 1.4.15+samba4.24.7 Β· alpine 3.22, alpine 3.23, alpine 3.24, arch rolling, centos-stream 10, centos-stream 9, debian trixie, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0, ubuntu questing, ubuntu resolute, ubuntu stonking (latest)
  • 1.4.10 Β· debian bookworm, ubuntu jammy, ubuntu noble
, in alpine 3.22, alpine 3.23, alpine 3.24, arch rolling, centos-stream 10, centos-stream 9, debian trixie, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’Ύ TDBDUMP β€” the tdbdump page, section 8 (system admin tools, bestie)

okay so picture this: you're deep in your Samba feelings, you've got a TDB file just sitting there being mysterious, and you're like "girl what is IN you". enter tdbdump. she's from the system administration tools section of the manual (section 8, for the record), and she is here to spill every single secret that file is hiding. πŸ’…


✨ NAME ✨

tdbdump β€” the tool for printing the contents of a TDB file. that's it, that's her whole job, and she does it flawlessly. πŸŽ€


🌸 SYNOPSIS 🌸

tdbdump [-k keyname] [-e] [-h] [-x] {filename}

like. look at her. four little flags and a filename. iconically simple. πŸ¦‹


πŸ’– DESCRIPTION πŸ’–

so this tool is part of the samba(1) suite, if you didn't know. now you know. iykyk. ✨

tdbdump is a very simple utility that 'dumps' the contents of a TDB (Trivial DataBase) file to standard output, in a human-readable format. no cap, it just prints the whole thing out where you can see it. it's giving transparency. it's giving receipts. πŸ‘‘

you'd reach for this tool when you're debugging problems with TDB files. heads up though: it's intended for those who are somewhat familiar with Samba internals, so if that's not you yet... bestie, come back after a lil study session. this is main character territory for people who already know the lore. πŸ™ˆ


πŸŽ€ OPTIONS πŸŽ€

  • -h β€” get help information. she's helpful like that, always. 🫢
  • -k keyname β€” the -k option restricts dumping to a single key, if found. one key, one moment, very focused energy. if it's not found then it's just... not found, bestie. πŸ’€
  • -e β€” the -e tries to dump out from a corrupt database. and like, naturally, such a dump is unreliable, at best. so do not come for me when the output is a mess β€” the manpage literally said so first. 😭
  • -x β€” the -x changes the output data to a hex dump, from the default mix of ASCII and hex dump. so if you want the full hex-only experience, that's the vibe check you're looking for. πŸ”₯

⭐ VERSION ⭐

this man page is correct for version 3 of the Samba suite. locked in. periodt. 🌈


πŸ‘‘ 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. so basically a whole community keeping it alive and thriving. we love to see it. πŸ’œ

the tdbdump man page was written by Jelmer Vernooij. thank you for your service, legend. 🫑


and that's the whole page, babe! πŸ’– this one's from Samba 3.6, dated 2015-04-25 β€” so yes she's a little vintage but she still ate, no crumbs, and she's still out here dumping TDBs for you. πŸŽ€βœ¨ go forth and debug, bestie. πŸ¦‹