From 7684c1e67294266d018c6f0cab58f1a9d797174f Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sat, 10 Mar 2001 11:38:27 +0000 Subject: started support for unicode on the wire in smbd. Using a very similar method to what was used in the client I now have session setup and tconx working. Currently this is enabled with SMBD_USE_UNICODE environment variable. Once the code is complete this will become a smb.conf option. --- source/smbd/negprot.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'source/smbd/negprot.c') diff --git a/source/smbd/negprot.c b/source/smbd/negprot.c index 74d8eb39833..c2026f46f9f 100644 --- a/source/smbd/negprot.c +++ b/source/smbd/negprot.c @@ -201,6 +201,12 @@ static int reply_nt1(char *outbuf) capabilities |= CAP_RAW_MODE; } + + /* until the unicode conversion is complete have it disabled by default */ + if (getenv("SMBD_USE_UNICODE")) { + capabilities |= CAP_UNICODE; + } + #ifdef WITH_MSDFS if(lp_host_msdfs()) capabilities |= CAP_DFS; -- cgit