diff options
author | Günther Deschner <gd@samba.org> | 2007-02-13 16:04:36 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:17:56 -0500 |
commit | 9918e74984467ebaae306f2e3f3bfdc7453a1327 (patch) | |
tree | e4c38a4068b0e45f2c6087492f12e2b3cab95b37 | |
parent | a2f2653d9ae4e535384e925112745ed788e2422e (diff) | |
download | samba-9918e74984467ebaae306f2e3f3bfdc7453a1327.tar.gz samba-9918e74984467ebaae306f2e3f3bfdc7453a1327.tar.bz2 samba-9918e74984467ebaae306f2e3f3bfdc7453a1327.zip |
r21320: Display query_user info level 16 in rpcclient.
Guenther
(This used to be commit bc77622134e606b8a643454493ba316f84312d52)
-rw-r--r-- | source3/rpcclient/cmd_samr.c | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/source3/rpcclient/cmd_samr.c b/source3/rpcclient/cmd_samr.c index e54ec2a35c..fc11739ad5 100644 --- a/source3/rpcclient/cmd_samr.c +++ b/source3/rpcclient/cmd_samr.c @@ -47,6 +47,14 @@ static void display_sam_user_info_9(SAM_USER_INFO_9 *usr) } /**************************************************************************** + display sam_user_info_16 structure + ****************************************************************************/ +static void display_sam_user_info_16(SAM_USER_INFO_16 *usr) +{ + printf("\tAcct Flags :\tox%x\n", usr->acb_info); +} + +/**************************************************************************** display sam_user_info_21 structure ****************************************************************************/ static void display_sam_user_info_21(SAM_USER_INFO_21 *usr) @@ -411,15 +419,18 @@ static NTSTATUS cmd_samr_query_user(struct rpc_pipe_client *cli, goto done; switch (user_ctr->switch_value) { - case 21: - display_sam_user_info_21(user_ctr->info.id21); - break; case 7: display_sam_user_info_7(user_ctr->info.id7); break; case 9: display_sam_user_info_9(user_ctr->info.id9); break; + case 16: + display_sam_user_info_16(user_ctr->info.id16); + break; + case 21: + display_sam_user_info_21(user_ctr->info.id21); + break; default: printf("Unsupported infolevel: %d\n", info_level); break; |