git.samba.org
/
obnox
/
samba
/
samba-obnox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae88bcd
)
idmap_autorid: add a comment explaining idmap_autorid_saveconfig()
author
Michael Adam
<obnox@samba.org>
Thu, 5 Sep 2013 12:53:11 +0000
(14:53 +0200)
committer
Michael Adam
<obnox@samba.org>
Tue, 1 Oct 2013 22:06:27 +0000
(
00:06
+0200)
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
source3/include/idmap_autorid_tdb.h
patch
|
blob
|
history
diff --git
a/source3/include/idmap_autorid_tdb.h
b/source3/include/idmap_autorid_tdb.h
index 8f7219e27b67ce0104b8fe64b4ca620bfee334ab..4e9b464f6a9b6f41624b9daf9759771be509449d 100644
(file)
--- 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);