tcontest in Samba-head's torture code

Richard Sharpe rsharpe at richardsharpe.com
Wed Mar 5 20:13:22 GMT 2003


Hi,

Herb came across an oddity at Connectathon. He was running the head 
torture tests against a WinNT 4 sp3 box and a WinNT4 sp6 box.

The tcontest fails against that platform.

In looking at the code and a trace, it connects to a share, opens a file, 
and writes to that file. It then connects with a tcon&X to the same share 
and then writes to the already opened file, expecting the write to fail.

However, it succeeds!

Does anyone know what this test is supposed to be testing? The comments 
are very poor, but the intent seems clear. Just don't know why?

Regards
-----
Richard Sharpe, rsharpe[at]ns.aus.com, rsharpe[at]samba.org, 
sharpe[at]ethereal.com, http://www.richardsharpe.com



More information about the samba-technical mailing list