summaryrefslogtreecommitdiffstats
path: root/source/smbd/reply.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/smbd/reply.c')
-rw-r--r--source/smbd/reply.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/source/smbd/reply.c b/source/smbd/reply.c
index 2ceff9d9d7c..f00926bc482 100644
--- a/source/smbd/reply.c
+++ b/source/smbd/reply.c
@@ -703,10 +703,7 @@ static BOOL check_domain_security(char *orig_user, char *domain, char *unix_user
static int bad_password_error(char *inbuf,char *outbuf)
{
- enum remote_arch_types ra_type = get_remote_arch();
-
- if(((ra_type == RA_WINNT) || (ra_type == RA_WIN2K)) &&
- (global_client_caps & (CAP_NT_SMBS | CAP_STATUS32 ))) {
+ if(global_client_caps & CAP_STATUS32 ) {
SSVAL(outbuf, smb_flg2, SVAL(outbuf, smb_flg2) | FLAGS2_32_BIT_ERROR_CODES);
return(ERROR(0,NT_STATUS_LOGON_FAILURE));
}