s4-torture: fixed error code for s4 in SMB2-LOCK test
authorAndrew Tridgell <tridge@samba.org>
Fri, 27 Nov 2009 08:10:50 +0000 (19:10 +1100)
committerAndrew Tridgell <tridge@samba.org>
Fri, 27 Nov 2009 08:42:11 +0000 (19:42 +1100)
commit9f3ac810a64a4ad1f60038b61659c59efe699559
treea66f69ea7a860ac56644f1a4a31766b21b00fb9d
parentb3115f5cdc558ed71e11141e4f515511f3c6df5a
s4-torture: fixed error code for s4 in SMB2-LOCK test

s4 returns NETWORK_NAME_DELETED if you attempt to use an invalid tree connection
for a lock. This test (correctly I think) happens before we validate the file handle.
That implies that when you pass both a closed handle and a invalid tree you
should get NT_STATUS_NETWORK_NAME_DELETED.
source4/torture/smb2/lock.c