MASKTEST(1)
β¨ MASKTEST β¨ (section 1 of the manual, bestie)
okay so this is the manual page for masktest π
it lives in the Test Suite corner of the manual, and it's genuinely one of the most unhinged little tools in the Samba toolbox. buckle up π
πΈ NAME πΈ
masktest β find differences in wildcard matching between Samba's implementation and that of a remote server. yes that's the whole job. it's giving "spot the difference" but for globbing π¦
β SYNOPSIS β
masktest {//server/share} [-U user%pass] [-d debuglevel] [-W workgroup]
[-n numloops] [-s seed] [-a] [-E] [-M max protocol]
[-f filechars] [-m maskchars] [-v]
like, you point it at a share, hand it some flags, and it goes to work π₯
π DESCRIPTION π
so masktest is a utility for detecting differences in behaviour between Samba's own implementation and that of a remote server. that's the whole vibe. it will run generate random filenames/masks and check if these match the same files they do on the remote file as they do on the local server. and then β the moment of truth β it will display any differences it finds. π
this utility is used by the Samba team to find differences in behaviour between Samba and Windows servers. so basically the Samba girlies use it to catch Windows being Windows. iconic behaviour, honestly π
β¨ OPTIONS β¨
-U user%passβ specify the user and password to use when logging on on the shares. and get this, you can drop this parameter twice (once for the first server, once for the second) β because two servers, two logins, two whole personalities π«Ά-s seedβ seed the random number generator with the specified value. deterministic chaos, we love to see it π-n numopsβ set the number of operations to perform. how many rounds are we doing, bestie?-aβ print the operations that are performed. it's giving narrator mode, no secrets here π-M max_protocolβ maximum protocol to use.-fβ specify characters that can be used when generating file names. Default:abcdefghijklm. (thirteen little letters, they're the whole alphabet of this party π)-Eβ abort when difference in behaviour is found. dramatic exit, but make it a feature π-m maskcharsβ specify characters used for wildcards. the*and?of it all, fr fr-vβ be verbose. give me ALL the tea β
π¦ VERSION π¦
this man page is correct for version 4.0 of the Samba suite. periodt.
π SEE ALSO π
Samba β yeah, the whole suite, go read about it β¨
π AUTHOR π
this utility is part of the Samba[1] suite, which is developed by the global Samba Team[2]. (yes, [1] and [2] are real footnote numbers, keep scrolling πΈ)
masktest was written by Andrew Tridgell.
this manpage was written by Jelmer Vernooij. absolute legends, both of them π
π NOTES π
- Samba
http://www.samba.org/ - Samba Team
http://www.samba.org/samba/team/
and that's the whole page bestie!! π¦ this was Samba 4.0, dated 09/09/2026, and the file itself answers to the name MASKTEST(1). go forth and diff some wildcards, mwah πβ¨
π¦ where this page comes from
- fedora 44: samba-test 2:4.24.7-1.fc44 Β· GPL-3.0-or-later AND LGPL-3.0-or-later
- ubuntu noble: samba-testsuite 2:4.19.5+dfsg-4ubuntu9.8 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms