summaryrefslogtreecommitdiffstats
path: root/source/include/rpc_creds.h
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>2000-01-11 02:00:31 +0000
committerLuke Leighton <lkcl@samba.org>2000-01-11 02:00:31 +0000
commit3362fcdfa492cfd1d9d4ec35ef2108192302b984 (patch)
treec41ed2cef14aa5a3a2ebb78d4b21d448abc4bb54 /source/include/rpc_creds.h
parent49637936b6e9478df248c4ef73d818870c73b597 (diff)
downloadsamba-3362fcdfa492cfd1d9d4ec35ef2108192302b984.tar.gz
samba-3362fcdfa492cfd1d9d4ec35ef2108192302b984.tar.xz
samba-3362fcdfa492cfd1d9d4ec35ef2108192302b984.zip
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?
Diffstat (limited to 'source/include/rpc_creds.h')
-rw-r--r--source/include/rpc_creds.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/include/rpc_creds.h b/source/include/rpc_creds.h
index c389c64d1d7..7869fe339ca 100644
--- a/source/include/rpc_creds.h
+++ b/source/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;