this patch does a number of things:
authorAndrew Tridgell <tridge@samba.org>
Tue, 13 Mar 2001 00:55:19 +0000 (00:55 +0000)
committerAndrew Tridgell <tridge@samba.org>
Tue, 13 Mar 2001 00:55:19 +0000 (00:55 +0000)
commitb98b1435e9d8f8622444c9ff33082977e661f16b
treebbab09475972a5fdbed97d9295beee0380389fa4
parent37248e99e8b8d8a7e247d968b93a7d0cf5f63c8e
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.
source/include/local.h
source/smbd/ipc.c
source/smbd/nttrans.c
source/smbd/process.c
source/smbd/reply.c
source/smbd/trans2.c