git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
15ac8b6
)
Fix usage message for net rpc trustdom add.
author
Jeremy Allison
<jra@samba.org>
Fri, 27 Jun 2008 22:28:45 +0000
(15:28 -0700)
committer
Jeremy Allison
<jra@samba.org>
Fri, 27 Jun 2008 22:28:45 +0000
(15:28 -0700)
Jeremy.
(This used to be commit
20e59faf6efce01887cd01f0cafb197cc2f4742e
)
source3/utils/net_rpc.c
patch
|
blob
|
history
diff --git
a/source3/utils/net_rpc.c
b/source3/utils/net_rpc.c
index 08b68f012a8d4c544f218a60fe0c226eeadd40c5..068e6b2e7c5f8ec838c22f454e27fd4e612ba872 100644
(file)
--- a/
source3/utils/net_rpc.c
+++ b/
source3/utils/net_rpc.c
@@
-5647,7
+5647,7
@@
static NTSTATUS rpc_trustdom_add_internals(struct net_context *c,
union samr_UserInfo info;
if (argc != 2) {
- d_printf("Usage: net rpc trustdom add <domain_name> <
pw>\n");
+ d_printf("Usage: net rpc trustdom add <domain_name> <
trust password>\n")
return NT_STATUS_INVALID_PARAMETER;
}
@@
-5769,7
+5769,7
@@
static int rpc_trustdom_add(struct net_context *c, int argc, const char **argv)
rpc_trustdom_add_internals, argc, argv);
} else {
d_printf("Usage:\n"
-
"net rpc trustdom add <domain
>\n");
+
"net rpc trustdom add <domain_name> <trust password
>\n");
return -1;
}
}