summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-01-04 08:50:20 +0100
committerStefan Metzmacher <metze@samba.org>2011-02-02 15:45:20 +0100
commit0313969aed6b6a5c7d75a3ec92b1797362a99046 (patch)
tree646a94999815b0057b28a09177fac16480b01282 /source3/utils
parentbf7a27c3975c3822e0de8ff15730e6d6d1f46457 (diff)
downloadsamba-0313969aed6b6a5c7d75a3ec92b1797362a99046.tar.gz
samba-0313969aed6b6a5c7d75a3ec92b1797362a99046.tar.bz2
samba-0313969aed6b6a5c7d75a3ec92b1797362a99046.zip
s3:net: "net rpc vampire" is an alias for "net rpc vampire passdb"
The should use exactly the same code path for both. metze
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/net_rpc.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/source3/utils/net_rpc.c b/source3/utils/net_rpc.c
index 090aa34f4c..9a2e9c914d 100644
--- a/source3/utils/net_rpc.c
+++ b/source3/utils/net_rpc.c
@@ -7109,10 +7109,7 @@ static int rpc_vampire(struct net_context *c, int argc, const char **argv)
return 0;
}
- return run_rpc_command(c, NULL, &ndr_table_netlogon.syntax_id,
- NET_FLAGS_ANONYMOUS,
- rpc_vampire_internals,
- argc, argv);
+ return rpc_vampire_passdb(c, argc, argv);
}
return net_run_function(c, argc, argv, "net rpc vampire", func);