summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2013-09-18 03:04:52 +0200
committerMichael Adam <obnox@samba.org>2013-10-02 00:50:14 +0200
commita6f6ad8d22e1e1030681e98c10fdd08b8f319d98 (patch)
tree9edb594a028c0d18db48d232fa3a6ae5dd511293 /source3/include
parentfe8a8b50b59e6ca14c799f25635a5c2b43c0962a (diff)
downloadsamba-a6f6ad8d22e1e1030681e98c10fdd08b8f319d98.tar.gz
samba-a6f6ad8d22e1e1030681e98c10fdd08b8f319d98.tar.bz2
samba-a6f6ad8d22e1e1030681e98c10fdd08b8f319d98.zip
idmap_autorid: add idmap_autorid_delete_domain_ranges()
This uses the new idmap_autorid_iterate_domain_ranges() function. Based on earlier patch by Atul Kulkarni <atul.kulkarni@in.ibm.com>. Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org>
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/idmap_autorid_tdb.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/source3/include/idmap_autorid_tdb.h b/source3/include/idmap_autorid_tdb.h
index 7a6be7d55f..acf402690c 100644
--- a/source3/include/idmap_autorid_tdb.h
+++ b/source3/include/idmap_autorid_tdb.h
@@ -188,4 +188,12 @@ NTSTATUS idmap_autorid_iterate_domain_ranges_read(struct db_context *db,
void *private_data,
int *count);
+/**
+ * delete all range mappings for a given domain
+ */
+NTSTATUS idmap_autorid_delete_domain_ranges(struct db_context *db,
+ const char *domsid,
+ bool force,
+ int *count);
+
#endif /* _IDMAP_AUTORID_H_ */