summaryrefslogtreecommitdiff
path: root/source4/utils/net/net.c
diff options
context:
space:
mode:
authorKamen Mazdrashki <kamen.mazdrashki@postpath.com>2010-02-05 22:36:10 +0200
committerAndrew Tridgell <tridge@samba.org>2010-02-11 21:59:38 +1100
commit61246da63cb280b6b3e277583b84c2dfacb6be68 (patch)
tree67e22e287a3600e84988aa5fa5f16a42b727a2b7 /source4/utils/net/net.c
parent0a05af92778666e869dfd41d20b24b46d069e3ec (diff)
downloadsamba-61246da63cb280b6b3e277583b84c2dfacb6be68.tar.gz
samba-61246da63cb280b6b3e277583b84c2dfacb6be68.tar.bz2
samba-61246da63cb280b6b3e277583b84c2dfacb6be68.zip
s4/net_drs: 'net drs' utility initial creation
Signed-off-by: Andrew Tridgell <tridge@samba.org>
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 3709b0acda..79b6ad8515 100644
--- a/source4/utils/net/net.c
+++ b/source4/utils/net/net.c
@@ -51,6 +51,7 @@
#include "lib/events/events.h"
#include "auth/credentials/credentials.h"
#include "scripting/python/modules.h"
+#include "drs/net_drs.h"
/* There's no Py_ssize_t in 2.4, apparently */
#if PY_MAJOR_VERSION == 2 && PY_MINOR_VERSION < 5
@@ -204,6 +205,7 @@ static const struct net_functable net_functable[] = {
{"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\n", net_machinepw, net_machinepw_usage},
+ {"drs", "Implements functionality offered by repadmin.exe utility in Windows\n", net_drs, net_drs_usage},
{NULL, NULL, NULL, NULL}
};