summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-07-23 09:14:39 +1000
committerAndrew Bartlett <abartlet@samba.org>2012-07-24 10:46:12 +1000
commit9521cd0409add2628352ee5ef888c5a8a90fbb27 (patch)
treefd5fe74cd7052462902bd6ca52eb2bed2be4b122 /source3/smbd
parent69e98ff86c4e90d2259b7a4ea93e45e2ec426bc3 (diff)
downloadsamba-9521cd0409add2628352ee5ef888c5a8a90fbb27.tar.gz
samba-9521cd0409add2628352ee5ef888c5a8a90fbb27.tar.bz2
samba-9521cd0409add2628352ee5ef888c5a8a90fbb27.zip
param: Make the 'unicode' parameter common
This parameter is most useful for interop testing, rather than production use. Andrew Bartlett
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/negprot.c6
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;