git.samba.org
/
mat
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d2fdaa
)
idmap_autorid: improve a debug message in idmap_autorid_getrange_int()
author
Michael Adam
<obnox@samba.org>
Sun, 15 Sep 2013 11:07:21 +0000
(13:07 +0200)
committer
Michael Adam
<obnox@samba.org>
Tue, 1 Oct 2013 22:06:21 +0000
(
00:06
+0200)
Add output of status code.
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
source3/winbindd/idmap_autorid_tdb.c
patch
|
blob
|
history
diff --git
a/source3/winbindd/idmap_autorid_tdb.c
b/source3/winbindd/idmap_autorid_tdb.c
index 2126a67e1bb7cff610a6df08218fe06e946b509f..cb45e838148e198f51b0a77c5acbe8ae9d32c10d 100644
(file)
--- a/
source3/winbindd/idmap_autorid_tdb.c
+++ b/
source3/winbindd/idmap_autorid_tdb.c
@@
-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;
}