OnWorks favicon

gentest - Online in the Cloud

Run gentest in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command gentest that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator



gentest - Run random generic SMB operations against two SMB servers and show the
differences in behavior


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]


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.


-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.

Print the operations that are performed.

Backtrack to find minimal number of operations required to make the response to a
certain call differ.

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.

Enable oplocks.

Set preset seeds file. The default is gentest_seeds.dat.

Use preset seeds

Fast reconnect (just close files)

Continuous analysis mode

Analyse even when the test succeeded.


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

Use gentest online using onworks.net services

Free Servers & Workstations

Download Windows & Linux apps

  • 1
    MSYS2 is a collection of tools and
    libraries providing you with an
    easy-to-use environment for building,
    installing and running native Windows
    software. It con...
    Download MSYS2
  • 2
    DOSBox emulates a full x86 pc with
    sound and DOS. Its main use is to run
    old DOS games on platforms which
    don't have DOS (Windows 7, 8, 8.1
    and 10 / Linux ...
    Download DOSBox
  • 3
    Xtreme Download Manager
    Xtreme Download Manager
    The project has a new home now:
    https://xtremedownloadmanager.com/ For
    https://github.com/subhra74/xdm Xtreme
    Download Manager is a powerful tool t...
    Download Xtreme Download Manager
  • 4
    Clover EFI bootloader
    Clover EFI bootloader
    Project has moved to
    Features:Boot macOS, Windows, and Linux
    in UEFI or legacy mode on Mac or PC with
    Download Clover EFI bootloader
  • 5
    Sequelize is a promise-based Node.js
    ORM for Postgres, MySQL, MariaDB, SQLite
    and Microsoft SQL Server. It features
    solid transaction support, relations,
    Download Sequelize
  • 6
    Join us in Gitter!
    Enable the URPMS repository in your
    system -
    Download unitedrpms
  • 7
    Boost C++ Libraries
    Boost C++ Libraries
    Boost provides free portable
    peer-reviewed C++ libraries. The
    emphasis is on portable libraries which
    work well with the C++ Standard Library.
    See http://www.bo...
    Download Boost C++ Libraries
  • More »

Linux commands