From 8433aa437990357a327dbed19afc8033a1ed9be4 Mon Sep 17 00:00:00 2001 From: Luke Leighton Date: Tue, 11 Jan 2000 02:00:31 +0000 Subject: modified smbd/msrpc credential transfer system. user session key is *missing* from samba cvs main, therefore it is set to all zeros. this will cause, amongst other things, administrator-changing-user-passwords, and setting up new accounts, to fail, as the user's password can only be decoded with the session key (in this case, the administrator's usr sess key). it's never a perfect world, is it? (This used to be commit 3362fcdfa492cfd1d9d4ec35ef2108192302b984) --- source3/include/rpc_creds.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'source3/include') diff --git a/source3/include/rpc_creds.h b/source3/include/rpc_creds.h index c389c64d1d..7869fe339c 100644 --- a/source3/include/rpc_creds.h +++ b/source3/include/rpc_creds.h @@ -53,7 +53,7 @@ typedef struct unixsec_creds typedef struct ntsec_creds { - DOM_SID sid; + DOM_SID sid; uint32 num_grps; uint32 *grp_rids; @@ -66,6 +66,7 @@ typedef struct user_creds uint32 ptr_uxc; uint32 ptr_nts; uint32 ptr_uxs; + uint32 ptr_ssk; CREDS_NT ntc; CREDS_UNIX uxc; @@ -73,6 +74,7 @@ typedef struct user_creds CREDS_NT_SEC nts; CREDS_UNIX_SEC uxs; + uchar usr_sess_key[16]; } CREDS_HYBRID; -- cgit