summaryrefslogtreecommitdiff
path: root/source3/winbindd
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2013-09-15 13:07:21 +0200
committerMichael Adam <obnox@samba.org>2013-10-02 00:06:21 +0200
commite598ed1698c1c2e23cae7c2eecb56e973e6cf5f7 (patch)
tree694314cdf9c34df226f35e86d25dab02bedb3262 /source3/winbindd
parent7d2fdaac6e9b04c0d738b6f682d384149ae0d165 (diff)
downloadsamba-e598ed1698c1c2e23cae7c2eecb56e973e6cf5f7.tar.gz
samba-e598ed1698c1c2e23cae7c2eecb56e973e6cf5f7.tar.bz2
samba-e598ed1698c1c2e23cae7c2eecb56e973e6cf5f7.zip
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>
Diffstat (limited to 'source3/winbindd')
-rw-r--r--source3/winbindd/idmap_autorid_tdb.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/winbindd/idmap_autorid_tdb.c b/source3/winbindd/idmap_autorid_tdb.c
index 2126a67e1b..cb45e83814 100644
--- 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;
}