From 69dbc1577b113918e0ac7ffbfcfa1b54f51daf71 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Wed, 11 Sep 2013 01:04:13 +0200 Subject: idmap_autorid: add idmap_autorid_getrange() Wrapper to idmap_autorid_getrange_int(). Signed-off-by: Michael Adam Reviewed-by: Volker Lendecke --- source3/include/idmap_autorid_tdb.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'source3/include') diff --git a/source3/include/idmap_autorid_tdb.h b/source3/include/idmap_autorid_tdb.h index f39062f0e4..6ac56b31b9 100644 --- a/source3/include/idmap_autorid_tdb.h +++ b/source3/include/idmap_autorid_tdb.h @@ -55,6 +55,16 @@ NTSTATUS idmap_autorid_get_domainrange(struct db_context *db, struct autorid_range_config *range, bool read_only); +/** + * get the domain range and low_id for the domain + * identified by domsid and domain_range_index + */ +NTSTATUS idmap_autorid_getrange(struct db_context *db, + const char *domsid, + uint32_t domain_range_index, + uint32_t *rangenum, + uint32_t *low_id); + NTSTATUS idmap_autorid_init_hwm(struct db_context *db, const char *hwm); NTSTATUS idmap_autorid_db_init(const char *path, -- cgit