summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2013-09-05 14:53:11 +0200
committerMichael Adam <obnox@samba.org>2013-10-02 00:06:27 +0200
commit4d0d348994e7e5322618aad891de57d223b8e10f (patch)
treec3ae3ce8eb6016da4f9293c62eb130e16a324959
parentae88bcd1f0997e6349039973bf44292b87977305 (diff)
downloadsamba-4d0d348994e7e5322618aad891de57d223b8e10f.tar.gz
samba-4d0d348994e7e5322618aad891de57d223b8e10f.tar.bz2
samba-4d0d348994e7e5322618aad891de57d223b8e10f.zip
idmap_autorid: add a comment explaining idmap_autorid_saveconfig()
Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org>
-rw-r--r--source3/include/idmap_autorid_tdb.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/source3/include/idmap_autorid_tdb.h b/source3/include/idmap_autorid_tdb.h
index 8f7219e27b..4e9b464f6a 100644
--- a/source3/include/idmap_autorid_tdb.h
+++ b/source3/include/idmap_autorid_tdb.h
@@ -104,6 +104,13 @@ NTSTATUS idmap_autorid_loadconfig(struct db_context *db,
TALLOC_CTX *ctx,
struct autorid_global_config **result);
+/**
+ * Save the global autorid configuration into the autorid database.
+ * The stored configuration consists of:
+ * - the low value of the idmap range
+ * - the rangesize
+ * - the maximum number of ranges
+ */
NTSTATUS idmap_autorid_saveconfig(struct db_context *db,
struct autorid_global_config *cfg);