diff options
author | Andrew Tridgell <tridge@samba.org> | 2001-03-10 11:38:27 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2001-03-10 11:38:27 +0000 |
commit | 7684c1e67294266d018c6f0cab58f1a9d797174f (patch) | |
tree | 5bfea69b739981e5388d98eb4f7e473636c18295 /source/smbd/negprot.c | |
parent | 95c9e4e0ba8f37f565aaf136f41eb76489441ff7 (diff) | |
download | samba-7684c1e67294266d018c6f0cab58f1a9d797174f.tar.gz samba-7684c1e67294266d018c6f0cab58f1a9d797174f.tar.xz samba-7684c1e67294266d018c6f0cab58f1a9d797174f.zip |
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.
Diffstat (limited to 'source/smbd/negprot.c')
-rw-r--r-- | source/smbd/negprot.c | 6 |
1 files changed, 6 insertions, 0 deletions
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; |