mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
change a debug level in reply.c
change from ERRbaddirectory to ERRbadpath for ENOTDIR errors. This
reverts to the old Samba code. I've done quite a bit of testing
against NT4 and have yet to get it to produce the ERRbaddirectory
error code. Producing ERRbaddirectory made a visual basic application
that was sent to me not run. This might explain some of the "it
doesn't work any more" complaints we've got about 1.9.17.
Jeremy, can you remember how you got NT to produce ERRbaddirectory?
There might be some specific circumstances we need to cover.
(This used to be commit 1ed901ddff
)
This commit is contained in:
parent
fbd5dded7d
commit
a69125bae9
@ -599,7 +599,7 @@ int reply_sesssetup_and_X(char *inbuf,char *outbuf,int length,int bufsize)
|
||||
if (!done_sesssetup)
|
||||
max_send = MIN(max_send,smb_bufsize);
|
||||
|
||||
DEBUG(1,(" Client requested max send size of %d\n", max_send));
|
||||
DEBUG(6,("Client requested max send size of %d\n", max_send));
|
||||
|
||||
done_sesssetup = True;
|
||||
|
||||
|
@ -2110,7 +2110,7 @@ struct
|
||||
{EPERM,ERRDOS,ERRnoaccess},
|
||||
{EACCES,ERRDOS,ERRnoaccess},
|
||||
{ENOENT,ERRDOS,ERRbadfile},
|
||||
{ENOTDIR,ERRDOS,ERRbaddirectory},
|
||||
{ENOTDIR,ERRDOS,ERRbadpath},
|
||||
{EIO,ERRHRD,ERRgeneral},
|
||||
{EBADF,ERRSRV,ERRsrverror},
|
||||
{EINVAL,ERRSRV,ERRsrverror},
|
||||
|
Loading…
Reference in New Issue
Block a user