From 4deba6090b1d8c7bc2b8ff85e196905ad3a8ec43 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Thu, 5 Sep 2013 14:47:43 +0200 Subject: idmap_autorid: add a comment explaining idmap_autorid_db_init() Signed-off-by: Michael Adam Reviewed-by: Volker Lendecke --- source3/include/idmap_autorid_tdb.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'source3/include') diff --git a/source3/include/idmap_autorid_tdb.h b/source3/include/idmap_autorid_tdb.h index bf96d765d1..f1808d2110 100644 --- a/source3/include/idmap_autorid_tdb.h +++ b/source3/include/idmap_autorid_tdb.h @@ -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); -- cgit