diff options
author | Jim McDonough <jmcd@samba.org> | 2002-01-23 18:09:56 +0000 |
---|---|---|
committer | Jim McDonough <jmcd@samba.org> | 2002-01-23 18:09:56 +0000 |
commit | 723b368dc20b6075055cc0e7177990c1b6391041 (patch) | |
tree | 6a667fe02ec7a8a788a7129dd4f703a5b7dfc81a /source3 | |
parent | 7c05db480320067d8d98b030cf4c19adedee1e43 (diff) | |
download | samba-723b368dc20b6075055cc0e7177990c1b6391041.tar.gz samba-723b368dc20b6075055cc0e7177990c1b6391041.tar.bz2 samba-723b368dc20b6075055cc0e7177990c1b6391041.zip |
Check request flag for unicode capability and respond accordingly, rather than only doing unicode. smbfs didn't work.
(This used to be commit 95857a3515d67effb1242ca07daa5643458bb2f0)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/smbd/process.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/smbd/process.c b/source3/smbd/process.c index 48c0053360..5eb626db2b 100644 --- a/source3/smbd/process.c +++ b/source3/smbd/process.c @@ -923,7 +923,8 @@ void construct_reply_common(char *inbuf,char *outbuf) SCVAL(outbuf,smb_reh,0); SCVAL(outbuf,smb_flg, FLAG_REPLY | (CVAL(inbuf,smb_flg) & FLAG_CASELESS_PATHNAMES)); SSVAL(outbuf,smb_flg2, - FLAGS2_UNICODE_STRINGS | FLAGS2_LONG_PATH_COMPONENTS | + (SVAL(inbuf,smb_flg2) & FLAGS2_UNICODE_STRINGS) | + FLAGS2_LONG_PATH_COMPONENTS | FLAGS2_32_BIT_ERROR_CODES | FLAGS2_EXTENDED_SECURITY); SSVAL(outbuf,smb_err,SMB_SUCCESS); |