1GENTEST(1) Test Suite GENTEST(1)
2
3
4
6 gentest - Run random generic SMB operations against two SMB servers and
7 show the differences in behavior
8
10 gentest {//server1/share1} {//server2/share2} {-U user%pass}
11 {-U user%pass} [-s seed] [-o numops] [-a] [-A] [-i FILE] [-O]
12 [-S FILE] [-L] [-F] [-C] [-X]
13
15 gentest is a utility for detecting differences in behaviour between SMB
16 servers. It will run a random set of generic operations against
17 //server1/share1 and then the same random set against //server2/share2
18 and display the differences in the responses it gets.
19
20 This utility is used by the Samba team to find differences in behaviour
21 between Samba and Windows servers.
22
24 -U user%pass
25 Specify the user and password to use when logging on on the shares.
26 This parameter is mandatory and has to be specified twice.
27
28 -s seed
29 Seed the random number generator with the specified value.
30
31 -o numops
32 Set the number of operations to perform.
33
34 -a
35 Print the operations that are performed.
36
37 -A
38 Backtrack to find minimal number of operations required to make the
39 response to a certain call differ.
40
41 -i FILE
42 Specify a file containing the names of fields that have to be
43 ignored (such as time fields). See below for a description of the
44 file format.
45
46 -O
47 Enable oplocks.
48
49 -S FILE
50 Set preset seeds file. The default is gentest_seeds.dat.
51
52 -L
53 Use preset seeds
54
55 -F
56 Fast reconnect (just close files)
57
58 -C
59 Continuous analysis mode
60
61 -X
62 Analyse even when the test succeeded.
63
65 This man page is correct for version 4.0 of the Samba suite.
66
68 Samba
69
71 This utility is part of the Samba[1] suite, which is developed by the
72 global Samba Team[2].
73
74 gentest was written by Andrew Tridgell.
75
76 This manpage was written by Jelmer Vernooij.
77
79 1. Samba
80 http://www.samba.org/
81
82 2. Samba Team
83 http://www.samba.org/samba/team/
84
85
86
87Samba 4.0 11/13/2021 GENTEST(1)