1
<?xml version="1.0" encoding="iso-8859-1"?>
2
<!DOCTYPE refentry PUBLIC "-//Samba-Team//DTD DocBook V4.2-Based Variant V1.0//EN" "http://www.samba.org/samba/DTD/samba-doc">
3
<refentry id="locktest.1">
6
<refentrytitle>locktest</refentrytitle>
7
<manvolnum>1</manvolnum>
12
<refname>locktest</refname>
13
<refpurpose>Find differences in locking between two SMB servers</refpurpose>
18
<command>locktest</command>
19
<arg choice="req">//server1/share1</arg>
20
<arg choice="req">//server2/share2</arg>
21
<arg choice="opt">-U user%pass</arg>
22
<arg choice="opt">-U user%pass</arg>
23
<arg choice="opt">-s seed</arg>
24
<arg choice="opt">-o numops</arg>
25
<arg choice="opt">-a</arg>
26
<arg choice="opt">-O</arg>
27
<arg choice="opt">-E</arg>
28
<arg choice="opt">-Z</arg>
29
<arg choice="opt">-R range</arg>
30
<arg choice="opt">-B base</arg>
31
<arg choice="opt">-M min</arg>
37
<title>DESCRIPTION</title>
39
<para><application>locktest</application> is a utility for
40
detecting differences in behaviour in locking between SMB servers.
41
It will run a random set of locking operations against
42
<parameter>//server1/share1</parameter> and then the same
43
random set against <parameter>//server2/share2</parameter>
44
and display the differences in the responses it gets.
48
This utility is used by the Samba team to find differences in
49
behaviour between Samba and Windows servers.
55
<title>OPTIONS</title>
59
<term>-U user%pass</term>
61
Specify the user and password to use when logging on
62
on the shares. This parameter can be specified twice
63
(once for the first server, once for the second).
70
Seed the random number generator with the specified value.
75
<term>-o numops</term>
76
<listitem><para>Set the number of operations to perform.</para></listitem>
81
<listitem><para>Print the operations that are performed. </para></listitem>
86
<listitem><para>Backtrack to find minimal number of operations
87
required to make the response to a certain call differ.
93
<listitem><para>Enable oplocks.</para></listitem>
98
<listitem><para>Hide unlock fails.</para></listitem>
103
<listitem><para>enable exact error code checking</para></listitem>
108
<listitem><para>enable the zero/zero lock</para></listitem>
112
<term>-R range</term>
113
<listitem><para>set lock range</para></listitem>
118
<listitem><para>set lock base</para></listitem>
123
<listitem><para>set min lock length</para></listitem>
128
<listitem><para>Use kerberos</para></listitem>
134
<title>VERSION</title>
136
<para>This man page is correct for version 4.0 of the Samba suite.</para>
140
<title>SEE ALSO</title>
147
<title>AUTHOR</title>
149
<para>This utility is part of the <ulink url="http://www.samba.org/">Samba</ulink> suite, which is developed by the global <ulink url="http://www.samba.org/samba/team/">Samba Team</ulink>.</para>
151
<para>locktest was written by Andrew Tridgell.</para>
153
<para>This manpage was written by Jelmer Vernooij.</para>