summaryrefslogtreecommitdiff
path: root/source3/rpc_server
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1999-03-29 17:24:46 +0000
committerLuke Leighton <lkcl@samba.org>1999-03-29 17:24:46 +0000
commit6ce4aaad2ba38fce30c54dac4f7552b4b748e224 (patch)
treeae849901f8bb93152e618c34330430788d8a7d3a /source3/rpc_server
parent068e77c86104c5cae2edc4418797e656d617e182 (diff)
downloadsamba-6ce4aaad2ba38fce30c54dac4f7552b4b748e224.tar.gz
samba-6ce4aaad2ba38fce30c54dac4f7552b4b748e224.tar.bz2
samba-6ce4aaad2ba38fce30c54dac4f7552b4b748e224.zip
added SamrQueryDomainInfo call info level 0x3 for kix32.exe support
(This used to be commit ac070dfd39bfa9b60680855585155ce528ab7691)
Diffstat (limited to 'source3/rpc_server')
-rw-r--r--source3/rpc_server/srv_samr.c15
1 files changed, 10 insertions, 5 deletions
diff --git a/source3/rpc_server/srv_samr.c b/source3/rpc_server/srv_samr.c
index 63aa0dc914..4b1c5a4ea1 100644
--- a/source3/rpc_server/srv_samr.c
+++ b/source3/rpc_server/srv_samr.c
@@ -1997,9 +1997,7 @@ static BOOL set_user_info_23(SAM_USER_INFO_23 *id23, uint32 rid)
pwdb_init_sam(&new_pwd);
copy_sam_passwd(&new_pwd, pwd);
-#if 0
copy_id23_to_sam_passwd(&new_pwd, id23);
-#endif
if (!decode_pw_buffer(id23->pass, new_pw, sizeof(new_pw), True))
{
@@ -2453,6 +2451,13 @@ static void samr_reply_query_dom_info(SAMR_Q_QUERY_DOMAIN_INFO *q_u,
{
switch (q_u->switch_value)
{
+ case 0x07:
+ {
+ switch_value = 0x7;
+ make_unk_info7(&ctr.info.inf7);
+
+ break;
+ }
case 0x06:
{
switch_value = 0x6;
@@ -2460,10 +2465,10 @@ static void samr_reply_query_dom_info(SAMR_Q_QUERY_DOMAIN_INFO *q_u,
break;
}
- case 0x07:
+ case 0x03:
{
- switch_value = 0x7;
- make_unk_info7(&ctr.info.inf7);
+ switch_value = 0x3;
+ make_unk_info3(&ctr.info.inf3);
break;
}