summaryrefslogtreecommitdiff
path: root/source3/winbindd
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2013-09-04 13:13:15 +0200
committerMichael Adam <obnox@samba.org>2013-10-02 00:06:24 +0200
commit11ea83e9ae3b90fdd6c9b097256958683d473105 (patch)
treee2b2fb342373087c6e4f1cb557316082630fee78 /source3/winbindd
parent85a15cac4495d7be5155e8c0bd6a6c60bd3eee51 (diff)
downloadsamba-11ea83e9ae3b90fdd6c9b097256958683d473105.tar.gz
samba-11ea83e9ae3b90fdd6c9b097256958683d473105.tar.bz2
samba-11ea83e9ae3b90fdd6c9b097256958683d473105.zip
idmap_autorid: improve two debug messages by printing NT error codes
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.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/winbindd/idmap_autorid_tdb.c b/source3/winbindd/idmap_autorid_tdb.c
index 419d7553d0..23b4bc9fb0 100644
--- a/source3/winbindd/idmap_autorid_tdb.c
+++ b/source3/winbindd/idmap_autorid_tdb.c
@@ -184,7 +184,7 @@ static NTSTATUS idmap_autorid_addrange_action(struct db_context *db,
ret = dbwrap_store_uint32_bystring(db, keystr, requested_rangenum);
if (!NT_STATUS_IS_OK(ret)) {
DEBUG(1, ("Fatal error while storing new "
- "domain->range assignment!\n"));
+ "domain->range assignment: %s\n", nt_errstr(ret)));
goto error;
}
@@ -199,8 +199,8 @@ static NTSTATUS idmap_autorid_addrange_action(struct db_context *db,
talloc_free(numstr);
if (!NT_STATUS_IS_OK(ret)) {
- DEBUG(1, ("Fatal error while storing "
- "new domain->range assignment!\n"));
+ DEBUG(1, ("Fatal error while storing new "
+ "domain->range assignment: %s\n", nt_errstr(ret)));
goto error;
}
DEBUG(5, ("Acquired new range #%d for domain %s "