summaryrefslogtreecommitdiff
path: root/source3/smbd/negprot.c
diff options
context:
space:
mode:
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;
}