summaryrefslogtreecommitdiff
path: root/source4/smb_server
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-09-22 08:17:26 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:58:59 -0500
commitdd7862cb6aaef40b848eb96fb4020c492a313ec8 (patch)
treee5e3518079c3dfe6a10bcd43413c4f69a3d29dae /source4/smb_server
parentc9d96e9c44eefb6107bf4632ae7a5f43035a957d (diff)
downloadsamba-dd7862cb6aaef40b848eb96fb4020c492a313ec8.tar.gz
samba-dd7862cb6aaef40b848eb96fb4020c492a313ec8.tar.bz2
samba-dd7862cb6aaef40b848eb96fb4020c492a313ec8.zip
r2503: the RAW-SEARCH test now mostly passes against the posix backend
(This used to be commit 9710f24b1fd103d5656c9585cdfed96449cf9f97)
Diffstat (limited to 'source4/smb_server')
-rw-r--r--source4/smb_server/trans2.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/smb_server/trans2.c b/source4/smb_server/trans2.c
index 6e02ddc90d..48c10b3230 100644
--- a/source4/smb_server/trans2.c
+++ b/source4/smb_server/trans2.c
@@ -1116,6 +1116,7 @@ static NTSTATUS trans2_findfirst(struct smbsrv_request *req, struct smb_trans2 *
/* call the backend */
status = req->tcon->ntvfs_ops->search_first(req, &search, &state, find_callback);
if (!NT_STATUS_IS_OK(status)) {
+ trans2_setup_reply(req, trans, 0, 0, 0);
return status;
}
@@ -1126,7 +1127,7 @@ static NTSTATUS trans2_findfirst(struct smbsrv_request *req, struct smb_trans2 *
SSVAL(param, VWV(2), search.t2ffirst.out.end_of_search);
SSVAL(param, VWV(3), 0);
SSVAL(param, VWV(4), state.last_entry_offset);
-
+
return NT_STATUS_OK;
}