diff options
author | Günther Deschner <gd@samba.org> | 2008-04-23 10:55:26 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-04-24 22:01:51 +0200 |
commit | 12b9be6d5e604818c6394e829a114c5ad829cc18 (patch) | |
tree | c28f1844fc810308fb1989cc730c57ea2b26e3ac /source3 | |
parent | 5cc22bc59ff5d46c62394e97cd18a9d175811b66 (diff) | |
download | samba-12b9be6d5e604818c6394e829a114c5ad829cc18.tar.gz samba-12b9be6d5e604818c6394e829a114c5ad829cc18.tar.bz2 samba-12b9be6d5e604818c6394e829a114c5ad829cc18.zip |
rpcclient: Add tiny fix for cmd_samr_get_dispinfo_idx().
Guenther
(This used to be commit c15b5d73badafdc93066197aefaaaa72e37a8b99)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/rpcclient/cmd_samr.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/rpcclient/cmd_samr.c b/source3/rpcclient/cmd_samr.c index 9220c20166..cc92fef7e5 100644 --- a/source3/rpcclient/cmd_samr.c +++ b/source3/rpcclient/cmd_samr.c @@ -2612,8 +2612,9 @@ static NTSTATUS cmd_samr_get_dispinfo_idx(struct rpc_pipe_client *cli, &name, &idx); - if (NT_STATUS_IS_OK(status)) { - printf("idx: %d\n", idx); + if (NT_STATUS_IS_OK(status) || + NT_STATUS_EQUAL(status, NT_STATUS_NO_MORE_ENTRIES)) { + printf("idx: %d (0x%08x)\n", idx, idx); } done: |