Fwd: [PATCH][SAMBA4] resurrect and enhance smbtorture shell

James Peach jamespeach at me.com
Wed May 26 22:19:24 MDT 2010


Resending from an account that is actually subscribed to the list :)

Begin forwarded message:

> From: James Peach <jamespeach at me.com>
> Date: 26 May 2010 8:36:59 PM PDT
> To: Samba Technical <samba-technical at samba.org>
> Subject: [PATCH][SAMBA4] resurrect and enhance smbtorture shell
> 

> Hi all,
> 
> Attached is a series of patches that resurrect the smbtorture --shell functionality and enhance it so that no additional commandline options are needed.
> 
> The shell functionality is quite useful to me. I run an internal server with smbtorture as a login shell. This allows various QA groups to remotely run smbtorture against whatever they happen to be testing, and I don't need to worry about making sure they have a suitably recent version  of smbtorture.
> 
> Sample session:
> 
> jpeach at smbtorture:~/src/samba.git/source4$ ./bin/smbtorture --shell
> Using seed 1274928589
> torture> help
> Available commands:
> 	auth - set authentication parameters
> 	help - print this help message
> 	list - list the available tests
> 	quit - exit smbtorture
> 	run - run the specified test
> 	set - print or set test configuration parameters
> 	target - print or set the test target
> torture> help auth
> Usage: auth [[username | principal | domain | realm | password] STRING]
> torture> auth username jpeach
> torture> auth password foo
> torture> auth
> Username: jpeach
> User Principal: jpeach@
> Domain: WORKGROUP
> Realm: 
> Password: foo
> torture> target \\\\homedepot.apple.com\\netfs_scratch
> torture> target
> Target host: homedepot.apple.com
> Target share: netfs_scratch
> Target binding: homedepot.apple.com
> torture> list
> ...
> torture> run RAP-BASIC
> progress: 3
> test: netserverenum
> WORKGROUP
> success: netserverenum
> test: netshareenum
> Java 0 JavaWindowsDocs
> WindowsDocs 0 WindowsDocs
> admin 0 adminhomes
> smbhomes 0 homes
> vmware 0 vmware
> IPC$ 3 IPC Service (homedepot)
> jpeach 0 User Home Directories
> success: netshareenum
> test: netservergetinfo
> success: netservergetinfo
> torture> run BASE-DIR1
> test: DIR1
> Creating 10 random filenames
> Matched 2
> Matched 2
> Matched -1
> dirtest core 0.011021 seconds
> success: DIR1
> ....
> 
> 
> 
> 
> 
> 
> 
> 
> 


More information about the samba-technical mailing list