diff options
author | Andrew Bartlett <abartlet@samba.org> | 2016-07-18 13:10:23 +1200 |
---|---|---|
committer | Garming Sam <garming@samba.org> | 2016-09-01 05:49:14 +0200 |
commit | 4e0ac09ef6c6fadd67718f7b5aca7283fb8086b1 (patch) | |
tree | 948e65b0e59e3a8a53faf7a600e8876858764c81 /source4/dsdb/common | |
parent | 9221ce3a3237a8ded78e371fef2b8e4f03722b63 (diff) | |
download | samba-4e0ac09ef6c6fadd67718f7b5aca7283fb8086b1.tar.gz |
dsdb: Rework kcc_deleted() into dsdb_garbage_collect_tombstones()
This is so that in a future commit, we can wrap this in python and allow it to be called
from outside the samba server processs.
This requires that we rework the callers and internals to avoid reference to
private data structures of the KCC service.
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Diffstat (limited to 'source4/dsdb/common')
-rw-r--r-- | source4/dsdb/common/util.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/source4/dsdb/common/util.h b/source4/dsdb/common/util.h index f2867a2e7d7..ede6d8b0763 100644 --- a/source4/dsdb/common/util.h +++ b/source4/dsdb/common/util.h @@ -80,4 +80,14 @@ int dsdb_werror_at(struct ldb_context *ldb, int ldb_ecode, WERROR werr, dsdb_werror_at(ldb_module_get_ctx(module), ldb_ecode, werr, \ __location__, __func__, reason) + +struct dsdb_ldb_dn_list_node { + struct dsdb_ldb_dn_list_node *prev, *next; + + /* the dn of the partition */ + struct ldb_dn *dn; +}; + + + #endif /* __DSDB_COMMON_UTIL_H__ */ |