summaryrefslogtreecommitdiff
path: root/source3/smbd/negprot.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2004-03-27 05:38:20 +0000
committerAndrew Bartlett <abartlet@samba.org>2004-03-27 05:38:20 +0000
commitdeee8fae47be8722f737d4a2583e93f85658c126 (patch)
tree84d20e56fe865dacae173c632f197e247a8fb5a7 /source3/smbd/negprot.c
parent651d5b4683f4c97608a5f19c9996f85ae6b21fc6 (diff)
downloadsamba-deee8fae47be8722f737d4a2583e93f85658c126.tar.gz
samba-deee8fae47be8722f737d4a2583e93f85658c126.tar.bz2
samba-deee8fae47be8722f737d4a2583e93f85658c126.zip
As I raised (without objection) on the mailing list a while back, this
patch removes the 'unicode' smb.conf option. Clients are as always free not to negotiate unicode, but Samba will always accept unicode in smbd. Setting 'unicode = no' caused me more client BSODs than any other option I have seen, and I really want to protect some of our more silly users, who will, no matter what, select and change every option... Andrew Bartlett (This used to be commit 3f9177bd5df68809294335a36919994893ff8ead)
Diffstat (limited to 'source3/smbd/negprot.c')
-rw-r--r--source3/smbd/negprot.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/source3/smbd/negprot.c b/source3/smbd/negprot.c
index 96961368fb..1843c174bb 100644
--- a/source3/smbd/negprot.c
+++ b/source3/smbd/negprot.c
@@ -251,7 +251,7 @@ static int reply_nt1(char *inbuf, char *outbuf)
capabilities |= CAP_EXTENDED_SECURITY;
}
- capabilities |= CAP_NT_SMBS|CAP_RPC_REMOTE_APIS;
+ capabilities |= CAP_NT_SMBS|CAP_RPC_REMOTE_APIS|CAP_UNICODE;
if (lp_unix_extensions()) {
capabilities |= CAP_UNIX;
@@ -266,10 +266,6 @@ static int reply_nt1(char *inbuf, char *outbuf)
if (lp_readraw() && lp_writeraw())
capabilities |= CAP_RAW_MODE;
- /* allow for disabling unicode */
- if (lp_unicode())
- capabilities |= CAP_UNICODE;
-
if (lp_nt_status_support())
capabilities |= CAP_STATUS32;