1
0
mirror of https://github.com/samba-team/samba.git synced 2025-07-29 15:42:04 +03:00

splitting dom info into sam_query_dominfo function

This commit is contained in:
Luke Leighton
-
parent cbc646b1d8
commit 39c367b8e9
3 changed files with 63 additions and 38 deletions

View File

@ -543,11 +543,12 @@ void samr_io_r_query_dom_info(char *desc, SAMR_R_QUERY_DOMAIN_INFO *r_u, prs_str
prs_align(ps);
prs_uint32("ptr_0 ", ps, depth, &(r_u->ptr_0));
prs_uint16("switch_value", ps, depth, &(r_u->switch_value));
prs_align(ps);
if (r_u->ptr_0 != 0 && r_u->ctr != NULL)
{
prs_uint16("switch_value", ps, depth, &(r_u->switch_value));
prs_align(ps);
switch (r_u->switch_value)
{
case 0x07: