diff options
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/negprot.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/source3/smbd/negprot.c b/source3/smbd/negprot.c index 93af42b5c1..c9350afa49 100644 --- a/source3/smbd/negprot.c +++ b/source3/smbd/negprot.c @@ -274,7 +274,11 @@ static void reply_nt1(struct smb_request *req, uint16 choice) req->flags2 | FLAGS2_EXTENDED_SECURITY); } - capabilities |= CAP_NT_SMBS|CAP_RPC_REMOTE_APIS|CAP_UNICODE; + capabilities |= CAP_NT_SMBS|CAP_RPC_REMOTE_APIS; + + if (lp_unicode()) { + capabilities |= CAP_UNICODE; + } if (lp_unix_extensions()) { capabilities |= CAP_UNIX; |