summaryrefslogtreecommitdiff
path: root/source4/utils/net/net.c
diff options
context:
space:
mode:
authorWilco Baan Hofman <wilco@baanhofman.nl>2010-04-06 20:15:38 +0200
committerJelmer Vernooij <jelmer@samba.org>2010-06-20 17:19:10 +0200
commit8d5f8f577f2e906cd80a6a11b76114922182cb99 (patch)
tree1d2ba442dadf7c2ddfb4564f8b099d04d0db1323 /source4/utils/net/net.c
parentcfee179d03e9c3b8d02a51995bd1c205daabb6c3 (diff)
downloadsamba-8d5f8f577f2e906cd80a6a11b76114922182cb99.tar.gz
samba-8d5f8f577f2e906cd80a6a11b76114922182cb99.tar.bz2
samba-8d5f8f577f2e906cd80a6a11b76114922182cb99.zip
Created net gpo and new libgpo for samba 4. This adds the init function which finds a DC and connects to its LDAP. It also can return information on all group policy objects on a DC.
Aborted earlier attempt at reconciliation with samba 3. Did not work out due to lack of ldb support in samba 3, also the different registry libraries and different libnet did not help.. Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
Diffstat (limited to 'source4/utils/net/net.c')
-rw-r--r--source4/utils/net/net.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/utils/net/net.c b/source4/utils/net/net.c
index a534957f5b..55dcca0931 100644
--- a/source4/utils/net/net.c
+++ b/source4/utils/net/net.c
@@ -201,6 +201,7 @@ static const struct net_functable net_functable[] = {
{"samdump", "dump the sam of a domain\n", net_samdump, net_samdump_usage},
{"samsync", "synchronise into the local ldb the sam of an NT4 domain\n", net_samsync_ldb, net_samsync_ldb_usage},
{"drs", "Implements functionality offered by repadmin.exe utility in Windows\n", net_drs, net_drs_usage},
+ {"gpo", "Administer group policies\n", net_gpo, net_gpo_usage},
{NULL, NULL, NULL, NULL}
};