diff -urx*CVS* ../../../orig/samba-2.2/source/include/smb.h ./include/smb.h --- ../../../orig/samba-2.2/source/include/smb.h Tue Oct 10 20:26:50 2000 +++ ./include/smb.h Wed Nov 15 12:45:32 2000 @@ -171,6 +171,7 @@ #define ERRmoredata 234 /* More data to be returned */ #define ERRbaddirectory 267 /* Invalid directory name in a path. */ #define ERRunknownipc 2142 +#define ERRbuftoosmall 2123 #define ERROR_INVALID_FUNCTION (1) #define ERROR_ACCESS_DENIED (5) diff -urx*CVS* ../../../orig/samba-2.2/source/smbd/lanman.c ./smbd/lanman.c --- ../../../orig/samba-2.2/source/smbd/lanman.c Fri Oct 20 19:30:43 2000 +++ ./smbd/lanman.c Wed Nov 15 12:45:53 2000 @@ -201,7 +201,7 @@ if (i > n) { p->neededlen = i; i = n = 0; - p->errcode = ERRmoredata; + p->errcode = ERRbuftoosmall; } else p->errcode = NERR_Success;