s3-dssync-passdb: add basic routines and net function.
[ira/wip.git] / source3 / libnet / libnet_dssync_passdb.c
1 /*
2    Unix SMB/CIFS implementation.
3
4    Copyright (C) Guenther Deschner <gd@samba.org> 2008
5
6    This program is free software; you can redistribute it and/or modify
7    it under the terms of the GNU General Public License as published by
8    the Free Software Foundation; either version 3 of the License, or
9    (at your option) any later version.
10
11    This program is distributed in the hope that it will be useful,
12    but WITHOUT ANY WARRANTY; without even the implied warranty of
13    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14    GNU General Public License for more details.
15
16    You should have received a copy of the GNU General Public License
17    along with this program.  If not, see <http://www.gnu.org/licenses/>.
18 */
19
20 #include "includes.h"
21 #include "libnet/libnet_dssync.h"
22
23 /****************************************************************
24 ****************************************************************/
25
26 static NTSTATUS passdb_startup(struct dssync_context *ctx, TALLOC_CTX *mem_ctx,
27                                struct replUpToDateVectorBlob **pold_utdv)
28 {
29         return NT_STATUS_NOT_SUPPORTED;
30 }
31
32 /****************************************************************
33 ****************************************************************/
34
35 static NTSTATUS passdb_finish(struct dssync_context *ctx, TALLOC_CTX *mem_ctx,
36                               struct replUpToDateVectorBlob *new_utdv)
37 {
38         return NT_STATUS_NOT_SUPPORTED;
39 }
40
41 /****************************************************************
42 ****************************************************************/
43
44 static NTSTATUS passdb_process_objects(struct dssync_context *ctx,
45                                        TALLOC_CTX *mem_ctx,
46                                        struct drsuapi_DsReplicaObjectListItemEx *cur,
47                                        struct drsuapi_DsReplicaOIDMapping_Ctr *mapping_ctr)
48 {
49         return NT_STATUS_NOT_SUPPORTED;
50 }
51
52 /****************************************************************
53 ****************************************************************/
54
55 const struct dssync_ops libnet_dssync_passdb_ops = {
56         .startup                = passdb_startup,
57         .process_objects        = passdb_process_objects,
58         .finish                 = passdb_finish,
59 };