diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2003-04-14 10:14:40 +0000 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2003-04-14 10:14:40 +0000 |
commit | 10f2346810bbe4d81551994089e1a7d79955bb1f (patch) | |
tree | b24abe8a927507bc9dada382b4cb847f7780c607 /source3/utils/net_rpc.c | |
parent | e121d0b4d6787c5cbe5e1e6c8d466112dc44fad9 (diff) | |
download | samba-10f2346810bbe4d81551994089e1a7d79955bb1f.tar.gz samba-10f2346810bbe4d81551994089e1a7d79955bb1f.tar.bz2 samba-10f2346810bbe4d81551994089e1a7d79955bb1f.zip |
Change ADS CHOSTPASS to ADS CHANGETRUSTPW and add a
general CHANGETRUSTPW that calls ADS CHANGETRUSTPW or RPC CHANGETRUSTPW
depending on what we have.
(This used to be commit 17d27db5c9d3511444fc2770d4452647284e8014)
Diffstat (limited to 'source3/utils/net_rpc.c')
-rw-r--r-- | source3/utils/net_rpc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/utils/net_rpc.c b/source3/utils/net_rpc.c index 863d420ff3..a35cdd0b5b 100644 --- a/source3/utils/net_rpc.c +++ b/source3/utils/net_rpc.c @@ -205,7 +205,7 @@ static NTSTATUS rpc_changetrustpw_internals(const DOM_SID *domain_sid, struct cl * @return A shell status integer (0 for success) **/ -static int rpc_changetrustpw(int argc, const char **argv) +int net_rpc_changetrustpw(int argc, const char **argv) { return run_rpc_command(NULL, PI_NETLOGON, NET_FLAGS_ANONYMOUS | NET_FLAGS_PDC, rpc_changetrustpw_internals, argc, argv); @@ -2250,7 +2250,7 @@ int net_rpc(int argc, const char **argv) {"group", net_rpc_group}, {"share", net_rpc_share}, {"file", net_rpc_file}, - {"changetrustpw", rpc_changetrustpw}, + {"changetrustpw", net_rpc_changetrustpw}, {"trustdom", rpc_trustdom}, {"abortshutdown", rpc_shutdown_abort}, {"shutdown", rpc_shutdown}, |