'\" t .\" Title: masktest .\" Author: [see the "AUTHOR" section] .\" Generator: DocBook XSL Stylesheets vsnapshot .\" Date: 04/07/2024 .\" Manual: Test Suite .\" Source: Samba 4.0 .\" Language: English .\" .TH "MASKTEST" "1" "04/07/2024" "Samba 4\&.0" "Test Suite" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" masktest \- Find differences in wildcard matching between Samba\*(Aqs implementation and that of a remote server\&. .SH "SYNOPSIS" .HP \w'\fBmasktest\fR\ 'u \fBmasktest\fR {//server/share} [\-U\ user%pass] [\-d\ debuglevel] [\-W\ workgroup] [\-n\ numloops] [\-s\ seed] [\-a] [\-E] [\-M\ max\ protocol] [\-f\ filechars] [\-m\ maskchars] [\-v] .SH "DESCRIPTION" .PP masktest is a utility for detecting differences in behaviour between Samba\*(Aqs own implementation and that of a remote server\&. 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\&. It will display any differences it finds\&. .PP This utility is used by the Samba team to find differences in behaviour between Samba and Windows servers\&. .SH "OPTIONS" .PP \-U user%pass .RS 4 Specify the user and password to use when logging on on the shares\&. This parameter can be specified twice (once for the first server, once for the second)\&. .RE .PP \-s seed .RS 4 Seed the random number generator with the specified value\&. .RE .PP \-n numops .RS 4 Set the number of operations to perform\&. .RE .PP \-a .RS 4 Print the operations that are performed\&. .RE .PP \-M max_protocol .RS 4 Maximum protocol to use\&. .RE .PP \-f .RS 4 Specify characters that can be used when generating file names\&. Default: abcdefghijklm\&. .RE .PP \-E .RS 4 Abort when difference in behaviour is found\&. .RE .PP \-m maskchars .RS 4 Specify characters used for wildcards\&. .RE .PP \-v .RS 4 Be verbose .RE .SH "VERSION" .PP This man page is correct for version 4\&.0 of the Samba suite\&. .SH "SEE ALSO" .PP Samba .SH "AUTHOR" .PP This utility is part of the \m[blue]\fBSamba\fR\m[]\&\s-2\u[1]\d\s+2 suite, which is developed by the global \m[blue]\fBSamba Team\fR\m[]\&\s-2\u[2]\d\s+2\&. .PP masktest was written by Andrew Tridgell\&. .PP This manpage was written by Jelmer Vernooij\&. .SH "NOTES" .IP " 1." 4 Samba .RS 4 \%http://www.samba.org/ .RE .IP " 2." 4 Samba Team .RS 4 \%http://www.samba.org/samba/team/ .RE