1LOCKTEST(1)                       Test Suite                       LOCKTEST(1)
2
3
4

NAME

6       locktest - Find differences in locking between two SMB servers
7

SYNOPSIS

9       locktest {//server1/share1} {//server2/share2} [-U user%pass]
10                [-U user%pass] [-s seed] [-o numops] [-a] [-O] [-E] [-Z]
11                [-R range] [-B base] [-M min]
12

DESCRIPTION

14       locktest is a utility for detecting differences in behaviour in locking
15       between SMB servers. It will run a random set of locking operations
16       against //server1/share1 and then the same random set against
17       //server2/share2 and display the differences in the responses it gets.
18
19       This utility is used by the Samba team to find differences in behaviour
20       between Samba and Windows servers.
21

OPTIONS

23       -U user%pass
24           Specify the user and password to use when logging on on the shares.
25           This parameter can be specified twice (once for the first server,
26           once for the second).
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       -O
42           Enable oplocks.
43
44       -u
45           Hide unlock fails.
46
47       -E
48           enable exact error code checking
49
50       -Z
51           enable the zero/zero lock
52
53       -R range
54           set lock range
55
56       -B base
57           set lock base
58
59       -M min
60           set min lock length
61
62       -k
63           Use kerberos
64

VERSION

66       This man page is correct for version 4.0 of the Samba suite.
67

SEE ALSO

69       Samba
70

AUTHOR

72       This utility is part of the Samba[1] suite, which is developed by the
73       global Samba Team[2].
74
75       locktest was written by Andrew Tridgell.
76
77       This manpage was written by Jelmer Vernooij.
78

NOTES

80        1. Samba
81           http://www.samba.org/
82
83        2. Samba Team
84           http://www.samba.org/samba/team/
85
86
87
88Samba 4.0                         06/19/2018                       LOCKTEST(1)
Impressum