summaryrefslogtreecommitdiff
path: root/source3/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
commit0225c88104f8966b6ca1b6ed0485f4753aee4bef (patch)
treeef7e6209ea889b77c544a71bd797f553817abe0d /source3/smbd
parent4e49cb89be7ac29d79132f55e00509a48acc38ee (diff)
downloadsamba-0225c88104f8966b6ca1b6ed0485f4753aee4bef.tar.gz
samba-0225c88104f8966b6ca1b6ed0485f4753aee4bef.tar.bz2
samba-0225c88104f8966b6ca1b6ed0485f4753aee4bef.zip
put the NT_STATUS_ALLOTTED_SPACE_EXCEEDED error in instead of 0x99.
whatever that means. (This used to be commit ce54f3a7a965b0a9f888dc45d6f4633609d5ca08)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/reply.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c
index 56288df073..c5b7c50071 100644
--- a/source3/smbd/reply.c
+++ b/source3/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 */