2
Unix SMB/CIFS mplementation.
4
The Module that loads some DSDB related things
5
into memory. E.g. it loads the dsdb_schema struture
7
Copyright (C) Stefan Metzmacher 2007
9
This program is free software; you can redistribute it and/or modify
10
it under the terms of the GNU General Public License as published by
11
the Free Software Foundation; either version 3 of the License, or
12
(at your option) any later version.
14
This program is distributed in the hope that it will be useful,
15
but WITHOUT ANY WARRANTY; without even the implied warranty of
16
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17
GNU General Public License for more details.
19
You should have received a copy of the GNU General Public License
20
along with this program. If not, see <http://www.gnu.org/licenses/>.
25
#include "lib/ldb/include/ldb.h"
26
#include "lib/ldb/include/ldb_errors.h"
27
#include "lib/ldb/include/ldb_private.h"
28
#include "dsdb/samdb/samdb.h"
29
#include "librpc/gen_ndr/ndr_misc.h"
30
#include "librpc/gen_ndr/ndr_drsuapi.h"
31
#include "librpc/gen_ndr/ndr_drsblobs.h"
33
static int dsdb_cache_init(struct ldb_module *module)
35
/* TODO: load the schema */
36
return ldb_next_init(module);
39
_PUBLIC_ const struct ldb_module_ops ldb_dsdb_cache_module_ops = {
41
.init_context = dsdb_cache_init