diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/rpcclient/cmd_samr.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/source3/rpcclient/cmd_samr.c b/source3/rpcclient/cmd_samr.c index b55ef05cb3..f8be84a5c9 100644 --- a/source3/rpcclient/cmd_samr.c +++ b/source3/rpcclient/cmd_samr.c @@ -170,6 +170,13 @@ static void display_sam_unk_info_2(SAM_UNK_INFO_2 *info2) printf("Unknown 6:\t0x%x\n", info2->unknown_6); } +static void display_sam_unk_info_12(SAM_UNK_INFO_12 *info12) +{ + printf("Bad password lockout duration: %s\n", display_time(info12->duration)); + printf("Reset Lockout after: %s\n", display_time(info12->reset_count)); + printf("Lockout after bad attempts: %d\n", info12->bad_attempt_lockout); +} + static void display_sam_info_1(SAM_ENTRY1 *e1, SAM_STR1 *s1) { fstring tmp; @@ -1123,6 +1130,9 @@ static NTSTATUS cmd_samr_query_dominfo(struct cli_state *cli, case 2: display_sam_unk_info_2(&ctr.info.inf2); break; + case 12: + display_sam_unk_info_12(&ctr.info.inf12); + break; default: printf("cannot display domain info for switch value %d\n", switch_level); |