diff options
author | Jeremy Allison <jra@samba.org> | 2005-03-16 19:31:15 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2005-03-16 19:31:15 +0000 |
commit | 6fb3e18a4cbdb06d1047f84bd2ff9b462190f7e4 (patch) | |
tree | fae6ca09c4cbf34e2900c1a13545fb8d9675e9c9 /source | |
parent | 135db7e8a7afc21459d9e158c2ce5774543e1319 (diff) | |
download | samba-6fb3e18a4cbdb06d1047f84bd2ff9b462190f7e4.tar.gz samba-6fb3e18a4cbdb06d1047f84bd2ff9b462190f7e4.tar.xz samba-6fb3e18a4cbdb06d1047f84bd2ff9b462190f7e4.zip |
r5833: Revert change for bug #2335. Tested with a Win9x client and the original
error code is correct. I have some theories as to why this is different,
I'll add some code to the torture tester to confirm.
Jeremy.
Diffstat (limited to 'source')
-rw-r--r-- | source/smbd/trans2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/smbd/trans2.c b/source/smbd/trans2.c index ac2a29bd604..e4e1243d68e 100644 --- a/source/smbd/trans2.c +++ b/source/smbd/trans2.c @@ -1484,13 +1484,13 @@ close_if_end = %d requires_resume_key = %d level = 0x%x, max_data_bytes = %d\n", } /* - * If there are no matching entries we must return ERRDOS/ERRnofiles - + * If there are no matching entries we must return ERRDOS/ERRbadfile - * from observation of NT. */ if(numentries == 0) { dptr_close(&dptr_num); - return ERROR_DOS(ERRDOS,ERRnofiles); + return ERROR_DOS(ERRDOS,ERRbadfile); } /* At this point pdata points to numentries directory entries. */ |