diff options
author | Günther Deschner <gd@samba.org> | 2005-01-25 01:19:02 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:55:10 -0500 |
commit | 9b1e5a71180f340a1f6327d53e68bb9b661ec894 (patch) | |
tree | c471c03b69ecf7df15cd8f6fe235ebf01bc731b4 /source3/utils/net_rpc.c | |
parent | c24c328a9e006473f4dba49fdf1842fb28952ec7 (diff) | |
download | samba-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/net_rpc.c')
-rw-r--r-- | source3/utils/net_rpc.c | 8 |
1 files changed, 4 insertions, 4 deletions
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; } |