diff options
Diffstat (limited to 'source/smbd/negprot.c')
-rw-r--r-- | source/smbd/negprot.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/source/smbd/negprot.c b/source/smbd/negprot.c index c96f390be5d..3c5e8bcbc5c 100644 --- a/source/smbd/negprot.c +++ b/source/smbd/negprot.c @@ -160,7 +160,12 @@ static int reply_nt1(char *outbuf) /* dual names + lock_and_read + nt SMBs + remote API calls */ int capabilities = CAP_NT_FIND|CAP_LOCK_AND_READ|CAP_LEVEL_II_OPLOCKS| (lp_nt_smb_support() ? CAP_NT_SMBS | CAP_RPC_REMOTE_APIS : 0) | - CAP_LARGE_READX | CAP_LARGE_WRITEX | +#if 1 /* JRATEST */ + CAP_LARGE_READX | CAP_LARGE_WRITEX | CAP_W2K_SMBS | CAP_LARGE_FILES | +#else + ((lp_large_readwrite() && (SMB_OFF_T_BITS == 64)) ? + CAP_LARGE_READX | CAP_LARGE_WRITEX | CAP_W2K_SMBS : 0) | +#endif (SMB_OFF_T_BITS == 64 ? CAP_LARGE_FILES : 0); |