Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to modify samba to add some security features. After doing the modification, I want to verify that the responses of all the SMB requests are valid. However, I don't know how to the SMB clients to trigger some of the commands, such as trans2.query_path_info.unix_info2.

Are there any ways to test all of SMB commands supported by samba?

share|improve this question
up vote 0 down vote accepted

Quick Google search seems to show that Samba comes with a pretty comprehensive test suite.


The Samba4 testsuite consists of the following - basic components: - smbtorture ad-hoc tests - smbtorture individual (RAW) tests - levelscanners - smbclient - gentest - locktest - locktest2 - masktest

"A levelscanner is a program that tries every subcall and information level of a CIFS transaction requestsuch as TRANS2"

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .