diff options
author | Andrew Tridgell <tridge@samba.org> | 2001-06-21 05:38:28 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2001-06-21 05:38:28 +0000 |
commit | 4ff011d88ef5b79b92d2cea1abe32c93bc03f724 (patch) | |
tree | 20b1b8f8bebdb3b4f741f6f2733a23af01b7c467 /source3/include/smb.h | |
parent | fda0f83d751a1ea6c731fd6a82484a724a1c6e32 (diff) | |
download | samba-4ff011d88ef5b79b92d2cea1abe32c93bc03f724.tar.gz samba-4ff011d88ef5b79b92d2cea1abe32c93bc03f724.tar.xz samba-4ff011d88ef5b79b92d2cea1abe32c93bc03f724.zip |
Added STR_NOALIGN flags to clistr and srvstr fns. Yes, NT actually does
send unaligned unicode strings sometimes!
Fixed our handling of the workgroup name tacked on the end of the
NT1 negprot response (a unaligned unicode)
fixed a couple of places where we should be using the message_end fns instead
of pre-calculated buffer lengths
(This used to be commit 86613493a9b2e56523153486931d0bf8d39beb7a)
Diffstat (limited to 'source3/include/smb.h')
-rw-r--r-- | source3/include/smb.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h index 6c7ebc2910..c4c9664c5c 100644 --- a/source3/include/smb.h +++ b/source3/include/smb.h @@ -57,7 +57,7 @@ typedef int BOOL; #define STR_UPPER 4 #define STR_ASCII 8 #define STR_UNICODE 16 - +#define STR_NOALIGN 32 /* how long to wait for secondary SMB packets (milli-seconds) */ #define SMB_SECONDARY_WAIT (60*1000) |