summaryrefslogtreecommitdiff
path: root/source3/smbd/negprot.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2001-03-16 02:31:24 +0000
committerAndrew Tridgell <tridge@samba.org>2001-03-16 02:31:24 +0000
commitc9b8da47a68c98d72d59d25d1e2d8f3069300f40 (patch)
tree7bb77b1e2ce2ee311fecdf297b7813a2769a6d1f /source3/smbd/negprot.c
parentcd3c0592fc00d28492783db2dc7c601743a9c892 (diff)
downloadsamba-c9b8da47a68c98d72d59d25d1e2d8f3069300f40.tar.gz
samba-c9b8da47a68c98d72d59d25d1e2d8f3069300f40.tar.bz2
samba-c9b8da47a68c98d72d59d25d1e2d8f3069300f40.zip
enable unicode on the wire by default in smbd
the unicode support isn't complete, but it is good enough to be usable for a test server. (This used to be commit e787fc1daf4a46c182e87bf0697eec80ff0ce87a)
Diffstat (limited to 'source3/smbd/negprot.c')
-rw-r--r--source3/smbd/negprot.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/negprot.c b/source3/smbd/negprot.c
index e15af3f3ae..ffc5d5e398 100644
--- a/source3/smbd/negprot.c
+++ b/source3/smbd/negprot.c
@@ -200,8 +200,8 @@ static int reply_nt1(char *outbuf)
}
- /* until the unicode conversion is complete have it disabled by default */
- if (getenv("SMBD_USE_UNICODE")) {
+ /* allow for disabling unicode */
+ if (lp_unicode()) {
capabilities |= CAP_UNICODE;
}