summaryrefslogtreecommitdiffstats
path: root/source/smbd
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1997-10-18 15:01:01 +0000
committerLuke Leighton <lkcl@samba.org>1997-10-18 15:01:01 +0000
commitce54f3a7a965b0a9f888dc45d6f4633609d5ca08 (patch)
treeb3229bcef5c1dc352edb985ba75d752964423970 /source/smbd
parent2b15116a9ab48381445a6b7fb4352f71bf8860c0 (diff)
downloadsamba-ce54f3a7a965b0a9f888dc45d6f4633609d5ca08.tar.gz
samba-ce54f3a7a965b0a9f888dc45d6f4633609d5ca08.tar.xz
samba-ce54f3a7a965b0a9f888dc45d6f4633609d5ca08.zip
put the NT_STATUS_ALLOTTED_SPACE_EXCEEDED error in instead of 0x99.
whatever that means.
Diffstat (limited to 'source/smbd')
-rw-r--r--source/smbd/reply.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/smbd/reply.c b/source/smbd/reply.c
index 56288df0739..c5b7c500719 100644
--- a/source/smbd/reply.c
+++ b/source/smbd/reply.c
@@ -26,6 +26,7 @@
#include "includes.h"
#include "trans2.h"
+#include "nterr.h"
/* look in server.c for some explanation of these variables */
extern int Protocol;
@@ -498,7 +499,7 @@ int reply_sesssetup_and_X(char *inbuf,char *outbuf,int length,int bufsize)
DEBUG(4,("Rejecting workstation trust account %s",user));
SSVAL(outbuf, smb_flg2, 0xc003); /* PAXX: Someone please unhack this */
CVAL(outbuf, smb_reh) = 1; /* PAXX: Someone please unhack this */
- return(ERROR(0x99,0xc000)); /* 0x99 NT error, 0xc00 */
+ return(ERROR(NT_STATUS_ALLOTTED_SPACE_EXCEEDED, 0xc000)); /* 0x99 NT error, 0xc00 */
}
computer_id = True;
#else /* not NTDOMAIN, leave this in. PAXX: Someone get rid of this */