1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-22 22:04:08 +03:00

idmap_autorid: add a comment explaining idmap_autorid_db_init()

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:47:43 +02:00
parent 4c937f2dd2
commit 4deba6090b

View File

@ -87,6 +87,12 @@ NTSTATUS idmap_autorid_setrange(struct db_context *db,
*/
NTSTATUS idmap_autorid_init_hwm(struct db_context *db, const char *hwm);
/**
* Initialize an idmap_autorid database.
* After this function has successfully completed, the following are true:
* - the database exists
* - the required HWM keys exist (range, alloc-uid, alloc-gid)
*/
NTSTATUS idmap_autorid_db_init(const char *path,
TALLOC_CTX *mem_ctx,
struct db_context **db);