From 23e5cf060d282c9ba9bdf49884ce23a13b285aac Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 13 Mar 2001 00:55:19 +0000 Subject: this patch does a number of things: - removes SMB_ALIGNMENT. That macro caused all sorts of problems with getting unicode aligned right in sub-protocols (such as SMBtrans and SMBtrans2). I believe the performance reasons for having SMB_ALIGNMENT has gone away with the new variants of the SMB protocol anyway, as newer commands tend to have their own internal alignment. - fix the locations where we set smb_flg2 to absolute values. We must never do this if we want a hope of coping with unicode. - add initial support for unicode on the wire in smbd. Currently enabled using SMBD_USE_UNICODE environment variable. (This used to be commit b98b1435e9d8f8622444c9ff33082977e661f16b) --- source3/include/local.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'source3/include/local.h') diff --git a/source3/include/local.h b/source3/include/local.h index b5590f9f91..f693d18623 100644 --- a/source3/include/local.h +++ b/source3/include/local.h @@ -134,9 +134,6 @@ accessible to root */ #define DUMP_CORE 1 -#define SMB_ALIGNMENT 1 - - /* shall we support browse requests via a FIFO to nmbd? */ #define ENABLE_FIFO 1 -- cgit