From 723b368dc20b6075055cc0e7177990c1b6391041 Mon Sep 17 00:00:00 2001 From: Jim McDonough Date: Wed, 23 Jan 2002 18:09:56 +0000 Subject: Check request flag for unicode capability and respond accordingly, rather than only doing unicode. smbfs didn't work. (This used to be commit 95857a3515d67effb1242ca07daa5643458bb2f0) --- source3/smbd/process.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source3/smbd') 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); -- cgit