From 9521cd0409add2628352ee5ef888c5a8a90fbb27 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Mon, 23 Jul 2012 09:14:39 +1000 Subject: param: Make the 'unicode' parameter common This parameter is most useful for interop testing, rather than production use. Andrew Bartlett --- source3/smbd/negprot.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'source3/smbd') 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; -- cgit