diff options
author | Michael Adam <obnox@samba.org> | 2013-09-05 14:43:26 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2013-10-02 00:06:25 +0200 |
commit | 7cde714cfd4c526c35ada2597c58e5e7fc02e327 (patch) | |
tree | 6d838db537c8a919b119d1e4b1aef4288fb25c58 /source3 | |
parent | e8c9161a95471e9bdaacbc4beb7f96607c60c3a0 (diff) | |
download | samba-7cde714cfd4c526c35ada2597c58e5e7fc02e327.tar.gz samba-7cde714cfd4c526c35ada2597c58e5e7fc02e327.tar.bz2 samba-7cde714cfd4c526c35ada2597c58e5e7fc02e327.zip |
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>
Diffstat (limited to 'source3')
-rw-r--r-- | source3/include/idmap_autorid_tdb.h | 7 |
1 files changed, 7 insertions, 0 deletions
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); |