summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2007-11-30 20:21:37 +0100
committerVolker Lendecke <vl@sernet.de>2007-11-30 22:25:01 +0100
commita43e3f98adae129c1e9f89c4e36d5dcf3f7b9642 (patch)
treef321edc3b302c54535cb47768b42b91416e06754 /source3
parentc88263ab9e8b3111742e5ce53b5aa29bba65e5ee (diff)
downloadsamba-a43e3f98adae129c1e9f89c4e36d5dcf3f7b9642.tar.gz
samba-a43e3f98adae129c1e9f89c4e36d5dcf3f7b9642.tar.bz2
samba-a43e3f98adae129c1e9f89c4e36d5dcf3f7b9642.zip
Add "net dom" command suite to "net".
Guenther (This used to be commit a41f9aef843378b1f85f9b3d672d00f3399fa342)
Diffstat (limited to 'source3')
-rw-r--r--source3/Makefile.in4
-rw-r--r--source3/utils/net.c1
-rw-r--r--source3/utils/net_help.c1
3 files changed, 4 insertions, 2 deletions
diff --git a/source3/Makefile.in b/source3/Makefile.in
index b26766958e..4eea8f1815 100644
--- a/source3/Makefile.in
+++ b/source3/Makefile.in
@@ -717,7 +717,7 @@ NET_OBJ1 = utils/net.o utils/net_ads.o utils/net_domain.o utils/net_help.o \
utils/netlookup.o utils/net_sam.o utils/net_rpc_shell.o \
utils/net_util.o utils/net_rpc_sh_acct.o utils/net_rpc_audit.o \
$(PASSWD_UTIL_OBJ) utils/net_dns.o utils/net_ads_gpo.o \
- utils/net_conf.o auth/token_util.o $(NETAPI_OBJ)
+ utils/net_conf.o auth/token_util.o utils/net_dom.o
NET_OBJ = $(NET_OBJ1) $(PARAM_WITHOUT_REG_OBJ) $(SECRETS_OBJ) $(LIBSMB_OBJ) \
$(RPC_PARSE_OBJ) $(PASSDB_OBJ) $(GROUPDB_OBJ) \
@@ -727,7 +727,7 @@ NET_OBJ = $(NET_OBJ1) $(PARAM_WITHOUT_REG_OBJ) $(SECRETS_OBJ) $(LIBSMB_OBJ) \
$(SMBLDAP_OBJ) $(DCUTIL_OBJ) $(SERVER_MUTEX_OBJ) \
$(AFS_OBJ) $(AFS_SETTOKEN_OBJ) $(REGFIO_OBJ) $(READLINE_OBJ) \
$(LDB_OBJ) $(LIBGPO_OBJ) @BUILD_INIPARSER@ $(DISPLAY_SEC_OBJ) \
- $(REG_API_OBJ) $(DISPLAY_DSDCINFO_OBJ)
+ $(REG_API_OBJ) $(DISPLAY_DSDCINFO_OBJ) $(NETAPI_OBJ)
CUPS_OBJ = client/smbspool.o $(PARAM_OBJ) $(LIBSMB_OBJ) \
$(LIB_NONSMBD_OBJ) $(KRBCLIENT_OBJ) $(SECRETS_OBJ)
diff --git a/source3/utils/net.c b/source3/utils/net.c
index 8015358f7d..ee671f6b58 100644
--- a/source3/utils/net.c
+++ b/source3/utils/net.c
@@ -940,6 +940,7 @@ static struct functable net_func[] = {
{"TIME", net_time},
{"LOOKUP", net_lookup},
{"JOIN", net_join},
+ {"DOM", net_dom},
{"CACHE", net_cache},
{"GETLOCALSID", net_getlocalsid},
{"SETLOCALSID", net_setlocalsid},
diff --git a/source3/utils/net_help.c b/source3/utils/net_help.c
index 9d86386ba6..2cb601f917 100644
--- a/source3/utils/net_help.c
+++ b/source3/utils/net_help.c
@@ -266,6 +266,7 @@ int net_help(int argc, const char **argv)
{"GROUP", net_help_group},
{"GROUPMAP", net_help_groupmap},
{"JOIN", net_help_join},
+ {"DOM", net_help_dom},
{"VALIDATE", net_rap_validate_usage},
{"GROUPMEMBER", net_rap_groupmember_usage},
{"ADMIN", net_rap_admin_usage},