debug: Add new debug class "drs_repl" for DRS replication processing
[samba.git] / source4 / dsdb / repl / drepl_replica.c
1 /*
2    Unix SMB/CIFS mplementation.
3
4    DSDB replication service - DsReplica{Add,Del,Mod} handling
5
6    Copyright (C) Andrew Tridgell 2010
7
8    This program is free software; you can redistribute it and/or modify
9    it under the terms of the GNU General Public License as published by
10    the Free Software Foundation; either version 3 of the License, or
11    (at your option) any later version.
12
13    This program is distributed in the hope that it will be useful,
14    but WITHOUT ANY WARRANTY; without even the implied warranty of
15    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16    GNU General Public License for more details.
17
18    You should have received a copy of the GNU General Public License
19    along with this program.  If not, see <http://www.gnu.org/licenses/>.
20
21 */
22
23 #include "includes.h"
24 #include "ldb_module.h"
25 #include "dsdb/samdb/samdb.h"
26 #include "smbd/service.h"
27 #include "dsdb/repl/drepl_service.h"
28 #include "param/param.h"
29 #include "librpc/gen_ndr/ndr_drsuapi.h"
30
31 #undef DBGC_CLASS
32 #define DBGC_CLASS            DBGC_DRS_REPL
33
34 /*
35   implement DsReplicaAdd (forwarded from DRS server)
36  */
37 NTSTATUS drepl_replica_add(struct dreplsrv_service *service,
38                            struct drsuapi_DsReplicaAdd *r)
39 {
40         NDR_PRINT_FUNCTION_DEBUG(drsuapi_DsReplicaAdd, NDR_IN, r);
41         return NT_STATUS_NOT_IMPLEMENTED;
42 }
43
44 /*
45   implement DsReplicaDel (forwarded from DRS server)
46  */
47 NTSTATUS drepl_replica_del(struct dreplsrv_service *service,
48                            struct drsuapi_DsReplicaDel *r)
49 {
50         NDR_PRINT_FUNCTION_DEBUG(drsuapi_DsReplicaDel, NDR_IN, r);
51         return NT_STATUS_NOT_IMPLEMENTED;
52 }
53
54 /*
55   implement DsReplicaMod (forwarded from DRS server)
56  */
57 NTSTATUS drepl_replica_mod(struct dreplsrv_service *service,
58                            struct drsuapi_DsReplicaMod *r)
59 {
60         NDR_PRINT_FUNCTION_DEBUG(drsuapi_DsReplicaMod, NDR_IN, r);
61         return NT_STATUS_NOT_IMPLEMENTED;
62 }