summaryrefslogtreecommitdiffstats
path: root/source/rpcclient/rpcclient.c
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2005-06-08 13:59:03 +0000
committerGünther Deschner <gd@samba.org>2005-06-08 13:59:03 +0000
commitc0c90da33ce05a8c58bb8f2eb931a3c79d39ab0f (patch)
tree78532c79cca5ddd7ef3510e572d022159724d166 /source/rpcclient/rpcclient.c
parent21c0026b17561f87d88e9f702ed0d166e5f3e9b7 (diff)
downloadsamba-c0c90da33ce05a8c58bb8f2eb931a3c79d39ab0f.tar.gz
samba-c0c90da33ce05a8c58bb8f2eb931a3c79d39ab0f.tar.xz
samba-c0c90da33ce05a8c58bb8f2eb931a3c79d39ab0f.zip
r7391: - Added client-support for various lsa_query_trust_dom_info-calls and a
rpcclient-tester for some info-levels. Jerry, I tried to adopt to prs_pointer() where possible and to not interfere with your work for usrmgr. - Add "net rpc trustdom vampire"-tool. This allows to retrieve Interdomain Trust(ed)-Relationships from NT4-Servers including cleartext-passwords (still stored in the local secrets.tdb). The net-hook was done in cooperation with Lars Mueller <lmuelle@suse.de>. To vampire trusted domains simply call: net rpc trustdom vampire -S nt4dc -Uadmin%pass Guenther
Diffstat (limited to 'source/rpcclient/rpcclient.c')
-rw-r--r--source/rpcclient/rpcclient.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/rpcclient/rpcclient.c b/source/rpcclient/rpcclient.c
index c02a279db9e..14004327ad4 100644
--- a/source/rpcclient/rpcclient.c
+++ b/source/rpcclient/rpcclient.c
@@ -204,10 +204,10 @@ static NTSTATUS cmd_listcommands(struct cli_state *cli, TALLOC_CTX *mem_ctx,
i = 0;
tmp_set++;
while(tmp_set->name) {
- printf("%20s", tmp_set->name);
+ printf("%30s", tmp_set->name);
tmp_set++;
i++;
- if (i%4 == 0)
+ if (i%3 == 0)
printf("\n");
}