diff options
Diffstat (limited to 'source3/rpcclient')
-rw-r--r-- | source3/rpcclient/cmd_samr.c | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/source3/rpcclient/cmd_samr.c b/source3/rpcclient/cmd_samr.c index f8be84a5c9..2a282680a8 100644 --- a/source3/rpcclient/cmd_samr.c +++ b/source3/rpcclient/cmd_samr.c @@ -160,16 +160,23 @@ static void display_sam_unk_info_2(SAM_UNK_INFO_2 *info2) printf("Total Groups:\t%d\n", info2->num_domain_grps); printf("Total Aliases:\t%d\n", info2->num_local_grps); - printf("Sequence No:\t%d\n", info2->seq_num); + printf("Sequence No:\t%d\n", info2->seq_num.low); printf("Unknown 0:\t0x%x\n", info2->unknown_0); printf("Unknown 1:\t0x%x\n", info2->unknown_1); - printf("Unknown 3:\t0x%x\n", info2->unknown_3); printf("Unknown 4:\t0x%x\n", info2->unknown_4); printf("Unknown 5:\t0x%x\n", info2->unknown_5); printf("Unknown 6:\t0x%x\n", info2->unknown_6); } +static void display_sam_unk_info_8(SAM_UNK_INFO_8 *info8) +{ + printf("Sequence No:\t%d\n", info8->seq_num.low); + printf("Domain Create Time:\t%s\n", + http_timestring(nt_time_to_unix(&info8->domain_create_time))); + +} + static void display_sam_unk_info_12(SAM_UNK_INFO_12 *info12) { printf("Bad password lockout duration: %s\n", display_time(info12->duration)); @@ -1130,6 +1137,9 @@ static NTSTATUS cmd_samr_query_dominfo(struct cli_state *cli, case 2: display_sam_unk_info_2(&ctr.info.inf2); break; + case 8: + display_sam_unk_info_8(&ctr.info.inf8); + break; case 12: display_sam_unk_info_12(&ctr.info.inf12); break; |