Visit Our UNIX and Linux User Community

Linux and UNIX Man Pages

Test Your Knowledge in Computers #563
Difficulty: Medium
The comparison operators are only used for comparing numerical data types.
True or False?
Linux & Unix Commands - Search Man Pages

gentest(1) [centos man page]

GENTEST(1)							    Test Suite								GENTEST(1)

NAME
gentest - Run random generic SMB operations against two SMB servers and show the differences in behavior SYNOPSIS
gentest {//server1/share1} {//server2/share2} {-U user%pass} {-U user%pass} [-s seed] [-o numops] [-a] [-A] [-i FILE] [-O] [-S FILE] [-L] [-F] [-C] [-X] DESCRIPTION
gentest is a utility for detecting differences in behaviour between SMB servers. It will run a random set of generic operations against //server1/share1 and then the same random set against //server2/share2 and display the differences in the responses it gets. This utility is used by the Samba team to find differences in behaviour between Samba and Windows servers. OPTIONS
-U user%pass Specify the user and password to use when logging on on the shares. This parameter is mandatory and has to be specified twice. -s seed Seed the random number generator with the specified value. -o numops Set the number of operations to perform. -a Print the operations that are performed. -A Backtrack to find minimal number of operations required to make the response to a certain call differ. -i FILE Specify a file containing the names of fields that have to be ignored (such as time fields). See below for a description of the file format. -O Enable oplocks. -S FILE Set preset seeds file. The default is gentest_seeds.dat. -L Use preset seeds -F Fast reconnect (just close files) -C Continuous analysis mode -X Analyse even when the test succeeded. VERSION
This man page is correct for version 4.0 of the Samba suite. SEE ALSO
Samba AUTHOR
This utility is part of the Samba[1] suite, which is developed by the global Samba Team[2]. gentest was written by Andrew Tridgell. This manpage was written by Jelmer Vernooij. NOTES
1. Samba http://www.samba.org/ 2. Samba Team http://www.samba.org/samba/team/ Samba 4.0 06/17/2014 GENTEST(1)

Check Out this Related Man Page

SMBTORTURE(1)							  [FIXME: manual]						     SMBTORTURE(1)

NAME
smbtorture - Run a series of tests against a SMB server SYNOPSIS
smbtorture smbtorture {//server/share} [-d debuglevel] [-U user%pass] [-k] [-N numprocs] [-n netbios_name] [-W workgroup] [-o num_operations] [-e num files(entries)] [-O socket_options] [-m maximum_protocol] [-L] [-c CLIENT.TXT] [-t timelimit] [-C filename] [-A] [-p port] [-s seed] [-f max_failures] [-X] {BINDING-STRING|UNC} {TEST1} [TEST2] [...] DESCRIPTION
smbtorture is a testsuite that runs several tests against a SMB server. All tests are known to succeed against a Windows 2003 server (?). Smbtorture's primary goal is finding differences in implementations of the SMB protocol and testing SMB servers. Any number of tests can be specified on the command-line. If no tests are specified, all tests are run. If no arguments are specified at all, all available options and tests are listed. Binding string format The binding string format is: TRANSPORT:host[flags] Where TRANSPORT is either ncacn_np for SMB, ncacn_ip_tcp for RPC/TCP or ncalrpc for local connections. 'host' is an IP or hostname or netbios name. If the binding string identifies the server side of an endpoint, 'host' may be an empty string. 'flags' can include a SMB pipe name if using the ncacn_np transport or a TCP port number if using the ncacn_ip_tcp transport, otherwise they will be auto-determined. other recognised flags are: sign enable ntlmssp signing seal enable ntlmssp sealing connect enable rpc connect level auth (auth, but no sign or seal) validate enable the NDR validator print enable debugging of the packets bigendian use bigendian RPC padcheck check reply data for non-zero pad bytes For example, these all connect to the samr pipe: o ncacn_np:myserver o ncacn_np:myserver[samr] o ncacn_np:myserver[\pipe\samr] o ncacn_np:myserver[/pipe/samr] o ncacn_np:myserver[samr,sign,print] o ncacn_np:myserver[\pipe\samr,sign,seal,bigendian] o ncacn_np:myserver[/pipe/samr,seal,validate] o ncacn_np: o ncacn_np:[/pipe/samr] o ncacn_ip_tcp:myserver o ncacn_ip_tcp:myserver[1024] o ncacn_ip_tcp:myserver[1024,sign,seal] o ncalrpc: UNC Format The UNC format is: //server/share OPTIONS
-d debuglevel Use the specified Samba debug level. A higher debug level means more output. -U user%pass Use the specified username/password combination when logging in to a remote server. -k Use kerberos when authenticating. -W workgroup Use specified name as our workgroup name. -n netbios_name Use specified name as our NetBIOS name. -O socket_options Use specified socket options, equivalent of the smb.conf option "socket options". See the smb.conf(5) manpage for details. -m max_protocol Specify the maximum SMB dialect that should be used. Possible values are: CORE, COREPLUS, LANMAN1, LANMAN2, NT1 -s seed Initialize the randomizer using seed as seed. -L Use oplocks. -X Enable dangerous tests. Use with care! This might crash your server... -t timelimit Specify the NBENCH time limit in seconds. Defaults to 600. -p ports Specify ports to connect to. -c file Read NBENCH commands from file instead of from CLIENT.TXT. -A Show not just OK or FAILED but more detailed output. Used only by DENY test at the moment. -C filename Load a list of UNC names from the specified filename. Smbtorture instances will connect to a random host from this list. -N numprocs Specify number of smbtorture processes to launch. -o num_operations Number of times some operations should be tried before assuming they're output is consistent (default:100). -e num_files Number of entries to use in certain tests (such as creating X files) (default: 1000). -f max_failures Number of failures before aborting a test (default: 1). VERSION
This man page is correct for version 4.0 of the Samba suite. SEE ALSO
Samba AUTHOR
This utility is part of the Samba[1] suite, which is developed by the global Samba Team[2]. smbtorture was written by Andrew Tridgell. This manpage was written by Jelmer Vernooij. NOTES
1. Samba http://www.samba.org/ 2. Samba Team http://www.samba.org/samba/team/ [FIXME: source] 04/16/2014 SMBTORTURE(1)

Featured Tech Videos