summaryrefslogtreecommitdiff
path: root/source4/utils/net/net.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-11-22 18:31:52 +0100
committerVolker Lendecke <vl@samba.org>2008-11-22 19:30:10 +0100
commita6aa72001e3fdd36112a839cf3e40dd2d636f254 (patch)
treeed42f1af0195918e5a7ffe2acf0932216361b7e0 /source4/utils/net/net.c
parentd205766e60be96449930f270b0a77002dffab278 (diff)
downloadsamba-a6aa72001e3fdd36112a839cf3e40dd2d636f254.tar.gz
samba-a6aa72001e3fdd36112a839cf3e40dd2d636f254.tar.bz2
samba-a6aa72001e3fdd36112a839cf3e40dd2d636f254.zip
Add "net machinepw"
Provide a C-based alternative to the python script "mymachinepw"
Diffstat (limited to 'source4/utils/net/net.c')
-rw-r--r--source4/utils/net/net.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/utils/net/net.c b/source4/utils/net/net.c
index 81584e4398..4d1b202ccb 100644
--- a/source4/utils/net/net.c
+++ b/source4/utils/net/net.c
@@ -107,6 +107,8 @@ static const struct net_functable net_functable[] = {
{"vampire", "join and syncronise an AD domain onto the local server\n", net_vampire, net_vampire_usage},
{"samsync", "synchronise into the local ldb the sam of an NT4 domain\n", net_samsync_ldb, net_samsync_ldb_usage},
{"user", "manage user accounts\n", net_user, net_user_usage},
+ {"machinepw", "Get a machine password out of our SAM", net_machinepw,
+ net_machinepw_usage},
{NULL, NULL, NULL, NULL}
};