summaryrefslogtreecommitdiffstats
path: root/source3/include/smb.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1997-11-02 04:01:57 +0000
committerAndrew Tridgell <tridge@samba.org>1997-11-02 04:01:57 +0000
commit4012c1cc8f47c7b3271a76a362ed2e4be4e8405c (patch)
tree08fa06456fe3b5e730f16de34503bfe376fec99f /source3/include/smb.h
parent56eece129efcd8717cfdc507b7d34a073b024d68 (diff)
downloadsamba-4012c1cc8f47c7b3271a76a362ed2e4be4e8405c.tar.gz
samba-4012c1cc8f47c7b3271a76a362ed2e4be4e8405c.tar.xz
samba-4012c1cc8f47c7b3271a76a362ed2e4be4e8405c.zip
convert the credentials code back to uchar[8] from uint32[2]
This should fix the byte order problems (maybe!) (This used to be commit 21878e7d8628d05786c3c76f2943e31df1096577)
Diffstat (limited to 'source3/include/smb.h')
-rw-r--r--source3/include/smb.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h
index 8bb1e993cd2..6a7f5022865 100644
--- a/source3/include/smb.h
+++ b/source3/include/smb.h
@@ -443,8 +443,7 @@ typedef struct log_info
/* DOM_CHAL - challenge info */
typedef struct chal_info
{
- uint32 data[2]; /* credentials */
-
+ uchar data[8]; /* credentials */
} DOM_CHAL;
/* DOM_CREDs - timestamped client or server credentials */
@@ -1308,7 +1307,7 @@ struct dcinfo
DOM_CRED clnt_cred; /* Last client credential */
DOM_CRED srv_cred; /* Last server credential */
- uint32 sess_key[2]; /* Session key */
+ uchar sess_key[8]; /* Session key */
uchar md4pw[16]; /* md4(machine password) */
};