1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-02 09:47:23 +03:00

idmap_autorid: add a comment explaining idmap_autorid_get_domainrange()

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
This commit is contained in:
Michael Adam 2013-09-05 14:43:26 +02:00
parent e8c9161a95
commit 7cde714cfd

View File

@ -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);