summaryrefslogtreecommitdiff
path: root/source4/libgpo/gpo_s4.h
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/libgpo/gpo_s4.h
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/libgpo/gpo_s4.h')
-rw-r--r--source4/libgpo/gpo_s4.h40
1 files changed, 0 insertions, 40 deletions
diff --git a/source4/libgpo/gpo_s4.h b/source4/libgpo/gpo_s4.h
deleted file mode 100644
index f616f6bd32..0000000000
--- a/source4/libgpo/gpo_s4.h
+++ /dev/null
@@ -1,40 +0,0 @@
-
-/*
- Samba CIFS implementation
- ADS convenience functions for GPO
-
- Copyright (C) 2008 Jelmer Vernooij, jelmer@samba.org
- Copyright (C) 2008 Wilco Baan Hofman, wilco@baanhofman.nl
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
-#ifndef __LIBGPO_GPO_S4_H__
-#define __LIBGPO_GPO_S4_H__
-
-#if _SAMBA_BUILD_ == 4
-#include "source4/libcli/libcli.h"
-#endif
-
-NTSTATUS gpo_copy_file(TALLOC_CTX *mem_ctx,
- struct smbcli_state *cli,
- const char *nt_path,
- const char *unix_path);
-
-NTSTATUS gpo_sync_directories(TALLOC_CTX *mem_ctx,
- struct smbcli_state *cli,
- const char *nt_path,
- const char *local_path);
-
-#endif