summaryrefslogtreecommitdiff
path: root/source3/include/idmap_autorid_tdb.h
diff options
context:
space:
mode:
Diffstat (limited to 'source3/include/idmap_autorid_tdb.h')
-rw-r--r--source3/include/idmap_autorid_tdb.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/source3/include/idmap_autorid_tdb.h b/source3/include/idmap_autorid_tdb.h
index 88f15f2d1e..bf18483763 100644
--- a/source3/include/idmap_autorid_tdb.h
+++ b/source3/include/idmap_autorid_tdb.h
@@ -82,6 +82,17 @@ NTSTATUS idmap_autorid_setrange(struct db_context *db,
uint32_t rangenum);
/**
+ * Delete a domain#index <-> range maping from the database.
+ * The mapping is specified by the sid and index.
+ * If force == true, invalid mapping records are deleted as far
+ * as possible, otherwise they are left untouched.
+ */
+NTSTATUS idmap_autorid_delete_range_by_sid(struct db_context *db,
+ const char *domsid,
+ uint32_t domain_range_index,
+ bool force);
+
+/**
* Initialize a specified HWM value to 0 if it is not
* yet present in the database.
*/