From 7cde714cfd4c526c35ada2597c58e5e7fc02e327 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Thu, 5 Sep 2013 14:43:26 +0200 Subject: [PATCH] idmap_autorid: add a comment explaining idmap_autorid_get_domainrange() Signed-off-by: Michael Adam Reviewed-by: Volker Lendecke --- source3/include/idmap_autorid_tdb.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/source3/include/idmap_autorid_tdb.h b/source3/include/idmap_autorid_tdb.h index 6f741966d6..5bcb517164 100644 --- a/source3/include/idmap_autorid_tdb.h +++ b/source3/include/idmap_autorid_tdb.h @@ -51,6 +51,13 @@ struct autorid_range_config { uint32_t low_id; }; +/** + * Get the range for a pair consisting of the domain sid + * and a domain range. If there is no stored range for + * this pair and read_only == false, a new range is + * acquired by incrementing that range HWM counter in the + * database. + */ NTSTATUS idmap_autorid_get_domainrange(struct db_context *db, struct autorid_range_config *range, bool read_only); -- 2.34.1