summaryrefslogtreecommitdiff
path: root/source3/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
commit8433aa437990357a327dbed19afc8033a1ed9be4 (patch)
treecdbd416168b095f6e31ce557eb89f4e7221dbd14 /source3/include/rpc_creds.h
parent0af00edf672eda7556f12745c80873376b85676f (diff)
downloadsamba-8433aa437990357a327dbed19afc8033a1ed9be4.tar.gz
samba-8433aa437990357a327dbed19afc8033a1ed9be4.tar.bz2
samba-8433aa437990357a327dbed19afc8033a1ed9be4.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? (This used to be commit 3362fcdfa492cfd1d9d4ec35ef2108192302b984)
Diffstat (limited to 'source3/include/rpc_creds.h')
-rw-r--r--source3/include/rpc_creds.h4
1 files changed, 3 insertions, 1 deletions
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;