1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

idmap_autorid: improve a debug message in idmap_autorid_getrange_int()

Add output of status code.

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
This commit is contained in:
Michael Adam 2013-09-15 13:07:21 +02:00
parent 7d2fdaac6e
commit e598ed1698

View File

@ -156,7 +156,8 @@ static NTSTATUS idmap_autorid_getrange_int(struct db_context *db,
DEBUG(10, ("reading domain range for key %s\n", keystr));
status = dbwrap_fetch_uint32_bystring(db, keystr, &(range->rangenum));
if (!NT_STATUS_IS_OK(status)) {
DEBUG(1, ("Failed to read database for key %s\n", keystr));
DEBUG(1, ("Failed to read database for key '%s': %s\n",
keystr, nt_errstr(status)));
goto done;
}