config->maxranges));
}
- status = idmap_autorid_saveconfig(autorid_db, config);
-
- if (!NT_STATUS_IS_OK(status)) {
- DEBUG(1, ("Failed to store configuration data!\n"));
- goto error;
- }
-
DEBUG(5, ("%d domain ranges with a size of %d are available\n",
config->maxranges, config->rangesize));
dom->private_data = commonconfig;
+ status = idmap_autorid_saveconfig(autorid_db, config);
+ if (!NT_STATUS_IS_OK(status)) {
+ DEBUG(1, ("Failed to store configuration data!\n"));
+ goto error;
+ }
+
/* preallocate well-known SIDs in the pool */
status = idmap_autorid_preallocate_wellknown(dom);