summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2005-01-25 01:19:02 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:55:10 -0500
commit9b1e5a71180f340a1f6327d53e68bb9b661ec894 (patch)
treec471c03b69ecf7df15cd8f6fe235ebf01bc731b4 /source3/utils
parentc24c328a9e006473f4dba49fdf1842fb28952ec7 (diff)
downloadsamba-9b1e5a71180f340a1f6327d53e68bb9b661ec894.tar.gz
samba-9b1e5a71180f340a1f6327d53e68bb9b661ec894.tar.bz2
samba-9b1e5a71180f340a1f6327d53e68bb9b661ec894.zip
r4972: Fix a warning and some debugging-outputs.
Guenther (This used to be commit 1eabfa050b661168b42892c2d841c7891e59cf5f)
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/net_help.c2
-rw-r--r--source3/utils/net_idmap.c2
-rw-r--r--source3/utils/net_rpc.c8
3 files changed, 6 insertions, 6 deletions
diff --git a/source3/utils/net_help.c b/source3/utils/net_help.c
index 328e134459..60206429b7 100644
--- a/source3/utils/net_help.c
+++ b/source3/utils/net_help.c
@@ -132,7 +132,7 @@ int net_help_share(int argc, const char **argv)
"[misc. options] [targets]"
"\n\tshows a list of all shares together with all users allowed to"
"\n\taccess them. This needs the output of 'net usersidlist' on"
- "\n\tstdin or in <filename>.\n"
+ "\n\tstdin or in <filename>.\n\n"
"net [<method>] share MIGRATE FILES <sharename> [misc. options] [targets]"
"\n\tMigrates files from remote to local server\n\n"
"net [<method>] share MIGRATE SHARES <sharename> [misc. options] [targets]"
diff --git a/source3/utils/net_idmap.c b/source3/utils/net_idmap.c
index f7ebd94f34..7abb31ab3d 100644
--- a/source3/utils/net_idmap.c
+++ b/source3/utils/net_idmap.c
@@ -288,7 +288,7 @@ static int net_idmap_delete(int argc, const char **argv)
int net_help_idmap(int argc, const char **argv)
{
- d_printf("net idmap dump filename"\
+ d_printf("net idmap dump <tdbfile>"\
"\n Dump current id mapping\n");
d_printf("net idmap restore"\
diff --git a/source3/utils/net_rpc.c b/source3/utils/net_rpc.c
index 430649d81b..76b53d6113 100644
--- a/source3/utils/net_rpc.c
+++ b/source3/utils/net_rpc.c
@@ -404,7 +404,7 @@ rpc_info_internals(const DOM_SID *domain_sid, const char *domain_name,
TALLOC_CTX *ctx = talloc_init("rpc_info_internals");
d_printf("Domain Name: %s\n", unistr2_tdup(ctx, &ctr.info.inf2.uni_domain));
d_printf("Domain SID: %s\n", sid_str);
- d_printf("Sequence number: %u\n", ctr.info.inf2.seq_num);
+ d_printf("Sequence number: %u\n", ctr.info.inf2.seq_num.low);
d_printf("Num users: %u\n", ctr.info.inf2.num_domain_usrs);
d_printf("Num domain groups: %u\n", ctr.info.inf2.num_domain_grps);
d_printf("Num local groups: %u\n", ctr.info.inf2.num_local_grps);
@@ -1428,7 +1428,7 @@ rpc_alias_add_internals(const DOM_SID *domain_sid, const char *domain_name,
ALIAS_INFO_CTR alias_info;
if (argc != 1) {
- d_printf("Group name must be specified\n");
+ d_printf("Alias name must be specified\n");
rpc_group_usage(argc, argv);
return NT_STATUS_OK;
}
@@ -1465,9 +1465,9 @@ rpc_alias_add_internals(const DOM_SID *domain_sid, const char *domain_name,
done:
if (NT_STATUS_IS_OK(result))
- DEBUG(5, ("add group succeeded\n"));
+ DEBUG(5, ("add alias succeeded\n"));
else
- d_printf("add group failed: %s\n", nt_errstr(result));
+ d_printf("add alias failed: %s\n", nt_errstr(result));
return result;
}