summaryrefslogtreecommitdiffstats
path: root/source/smbd/reply.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2001-08-23 20:16:59 +0000
committerJeremy Allison <jra@samba.org>2001-08-23 20:16:59 +0000
commita58f8ff5ec4e20836bef7956619600c4579079e6 (patch)
treeb4c6e88961e0d36235bc4fc4b4da76622095ffb6 /source/smbd/reply.c
parent3fdad17d59cc100366f9819283755d331a6ff58a (diff)
downloadsamba-a58f8ff5ec4e20836bef7956619600c4579079e6.tar.gz
samba-a58f8ff5ec4e20836bef7956619600c4579079e6.tar.xz
samba-a58f8ff5ec4e20836bef7956619600c4579079e6.zip
Fix status32 problem for Thursby clients.
Jeremy.
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));
}