mirror of
https://github.com/samba-team/samba.git
synced 2025-03-01 04:58:35 +03:00
autorid: add debug messages to idmap_autorid_get_domainrange()
Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
parent
b2ddea94cc
commit
b1cb75a972
@ -384,7 +384,11 @@ NTSTATUS idmap_autorid_get_domainrange(struct db_context *db,
|
||||
|
||||
ret = idmap_autorid_getrange_int(db, range);
|
||||
if (!NT_STATUS_IS_OK(ret)) {
|
||||
DEBUG(10, ("Failed to read range config for '%s': %s\n",
|
||||
range->domsid, nt_errstr(ret)));
|
||||
if (read_only) {
|
||||
DEBUG(10, ("Not allocating new range for '%s' because "
|
||||
"read-only is enabled.\n", range->domsid));
|
||||
return NT_STATUS_NOT_FOUND;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user