diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c index 1a896aa02aa..aa3f43a813d 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 a3214e16cb2..19cc5b9abb8 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},