tcon torture test

tridge at samba.org tridge at samba.org
Sun Mar 30 00:07:57 GMT 2003


Richard,

I've now modified the TCON test to be more useful. It now checks the
following:

- does the server allow a SMBwriteX with a TID other than the one used
  to open the file
- does the server allow a SMBwriteX with a completely invalid TID
- does the server allow a SMBwriteX with a completely invalid VUID

The answer to all the above is 'yes' for win2000, and 'no' for Samba.

Interestingly, win98 disallows the first two (like Samba) but allows
the third.

This has implications for my NTVFS rewrite. It means we can't hang the
file list off the tcon context. It also means that to be fully win2000
complient we would need to defer the TID and VUID interpretation to
each of the reply functions, rather than doing it in the general SMB
parse/reply code.

Cheers, Tridge


More information about the samba-technical mailing list