dsdb: don't allow a missing nTSecurityDescriptor in dsdb_get_sd_from_ldb_message()
[Samba/id10ts.git] / source4 / dsdb / repl / drepl_replica.c
blob2f344a4b93a36536ff719e8cb1e21653399f1eb2
1 /*
2 Unix SMB/CIFS mplementation.
4 DSDB replication service - DsReplica{Add,Del,Mod} handling
6 Copyright (C) Andrew Tridgell 2010
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.
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.
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/>.
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"
32 implement DsReplicaAdd (forwarded from DRS server)
34 NTSTATUS drepl_replica_add(struct dreplsrv_service *service,
35 struct drsuapi_DsReplicaAdd *r)
37 NDR_PRINT_FUNCTION_DEBUG(drsuapi_DsReplicaAdd, NDR_IN, r);
38 return NT_STATUS_NOT_IMPLEMENTED;
42 implement DsReplicaDel (forwarded from DRS server)
44 NTSTATUS drepl_replica_del(struct dreplsrv_service *service,
45 struct drsuapi_DsReplicaDel *r)
47 NDR_PRINT_FUNCTION_DEBUG(drsuapi_DsReplicaDel, NDR_IN, r);
48 return NT_STATUS_NOT_IMPLEMENTED;
52 implement DsReplicaMod (forwarded from DRS server)
54 NTSTATUS drepl_replica_mod(struct dreplsrv_service *service,
55 struct drsuapi_DsReplicaMod *r)
57 NDR_PRINT_FUNCTION_DEBUG(drsuapi_DsReplicaMod, NDR_IN, r);
58 return NT_STATUS_NOT_IMPLEMENTED;