diff options
author | Luke Leighton <lkcl@samba.org> | 2000-02-07 23:46:09 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 2000-02-07 23:46:09 +0000 |
commit | a4a6ed27df245c98217276a2919673164387b0aa (patch) | |
tree | 477eac9acd7b804522036e4dfbde95f337efc42b /source/rpc_parse/parse_samr.c | |
parent | b46bb2a66740926c5093b728c259fbf8aa89048d (diff) | |
download | samba-a4a6ed27df245c98217276a2919673164387b0aa.tar.gz samba-a4a6ed27df245c98217276a2919673164387b0aa.tar.xz samba-a4a6ed27df245c98217276a2919673164387b0aa.zip |
trying to sort out policy handle state info, and making a mess of it.
how to set up user-security-context info on a per-connection basis:
each POLICY_HND that is created must have a vuser_key associated with
it. this must be transferred from POLICY_HND to POLICY_HND (e.g
samr_open_domain(connect_pol, &domain_pol)
{
policy_link_key(connect_pol, domain_pol);
}
so that the user session key can be picked up from a chain of samr_connect(),
samr_open_domain(), samr_open_user(), samr_set_userinfo().
the only consistent info is the POLICY_HND, passed from one call to the next.
Diffstat (limited to 'source/rpc_parse/parse_samr.c')
-rw-r--r-- | source/rpc_parse/parse_samr.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/rpc_parse/parse_samr.c b/source/rpc_parse/parse_samr.c index 2c5685c28e1..0212eb9ffac 100644 --- a/source/rpc_parse/parse_samr.c +++ b/source/rpc_parse/parse_samr.c @@ -4715,6 +4715,7 @@ BOOL sam_io_user_info11(char *desc, SAM_USER_INFO_11 *usr, prs_struct *ps, int BOOL make_sam_user_info24(SAM_USER_INFO_24 *usr, const char newpass[516], uint16 passlen) { + DEBUG(10,("make_sam_user_info24: passlen: %d\n", passlen)); memcpy(usr->pass, newpass, sizeof(usr->pass)); usr->unk_0 = passlen; @@ -5733,6 +5734,7 @@ BOOL make_samr_q_set_userinfo(SAMR_Q_SET_USERINFO *q_u, if (!cli_get_usr_sesskey(hnd, sess_key)) { + DEBUG(0,("make_samr_set_userinfo: could not obtain session key\n")); return False; } if (!make_samr_userinfo_ctr(q_u->ctr, sess_key, switch_value, info)) |