summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1997-10-02 14:11:34 +0000
committerAndrew Tridgell <tridge@samba.org>1997-10-02 14:11:34 +0000
commita69125bae97619580134dfd38f1952f37b2bbcec (patch)
treecaf9818f9a7ad895d76776a354a4af38edcb809d
parentfbd5dded7dd027faa549f854b45f47b72af47528 (diff)
downloadsamba-a69125bae97619580134dfd38f1952f37b2bbcec.tar.gz
samba-a69125bae97619580134dfd38f1952f37b2bbcec.tar.bz2
samba-a69125bae97619580134dfd38f1952f37b2bbcec.zip
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 1ed901ddffef48cdce87017bab0fd613e6ca8637)
-rw-r--r--source3/smbd/reply.c2
-rw-r--r--source3/smbd/server.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c
index 1a896aa02a..aa3f43a813 100644
--- a/source3/smbd/reply.c
+++ b/source3/smbd/reply.c
@@ -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;
diff --git a/source3/smbd/server.c b/source3/smbd/server.c
index a3214e16cb..19cc5b9abb 100644
--- a/source3/smbd/server.c
+++ b/source3/smbd/server.c
@@ -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},