GENTEST(1)

✨ GENTEST(1) ✨

aka gentest β€” the girlies in the Test Suite section of your manual πŸ’…


🌸 NAME 🌸

gentest β€” run a whole bunch of random generic SMB operations against two SMB servers and then spill the tea on how their behaviour differs πŸ‘€βœ¨


πŸ¦‹ SYNOPSIS πŸ¦‹

gentest {//server1/share1} {//server2/share2} {-U user%pass}
        {-U user%pass} [-s seed] [-o numops] [-a] [-A] [-i FILE] [-O]
        [-S FILE] [-L] [-F] [-C] [-X]

πŸ’– DESCRIPTION πŸ’–

Okay so bestie, gentest is literally a utility for detecting differences in behaviour between SMB servers. That's it, that's the whole vibe. 🫢

It will run a random set of generic operations against //server1/share1, and then it runs the same random set against //server2/share2, and then it displays the differences in the responses it gets. Like a side-by-side, but for server behaviour. Iconic. πŸ”₯

This utility is used by the Samba team to find differences in behaviour between Samba and Windows servers. So yeah, it's giving professional detective energy. πŸ•΅οΈβ™€οΈβœ¨


πŸŽ€ OPTIONS πŸŽ€

  • -U user%pass β€” tell it the user and password to use when logging on on the shares. This parameter is mandatory and has to be specified twice. Not once. Twice. Periodt. 😀
  • -s seed β€” seed the random number generator with the specified value. Same seed, same chaos. 🌱
  • -o numops β€” set the number of operations to perform. More ops, more drama. πŸ’€
  • -a β€” print the operations that are performed. Narrator mode, on. πŸ—£οΈ
  • -A β€” backtrack to find the minimal number of operations required to make the response to a certain call differ. Detective work, but make it efficient. πŸ”
  • -i FILE β€” specify a file containing the names of fields that have to be ignored (such as time fields). See below for a description of the file format. πŸ™ˆ
  • -O β€” enable oplocks. πŸ‘‘
  • -S FILE β€” set the preset seeds file. The default is gentest_seeds.dat. πŸ“
  • -L β€” use preset seeds. 🌾
  • -F β€” fast reconnect (just close files). Zoom zoom. ⚑
  • -C β€” continuous analysis mode. Never not analysing. πŸ”
  • -X β€” analyse even when the test succeeded. Yes bestie, even when it ate. πŸ’―

⭐ VERSION ⭐

This man page is correct for version 4.0 of the Samba suite. No cap. ✨


🌈 SEE ALSO 🌈

Samba


πŸ‘‘ AUTHOR πŸ‘‘

This utility is part of the Samba[1] suite, which is developed by the global Samba Team[2].

gentest was written by Andrew Tridgell.

This manpage was written by Jelmer Vernooij.


🧚 NOTES 🧚

  1. Samba http://www.samba.org/
  2. Samba Team http://www.samba.org/samba/team/

okay that's the whole page, mwah πŸ’‹ This one comes to you from Samba 4.0, dated 09/09/2026 β€” go forth and diff those servers, bestie πŸ¦‹πŸ’–

πŸ“¦ where this page comes from