From 04a4dc961e98cb07c9bee16513a96bebe5031153 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Mon, 17 Mar 2014 12:49:19 +0100 Subject: [PATCH] autorid: improve a debug message in idmap_autorid_map_sid_to_id() Signed-off-by: Michael Adam Reviewed-by: Stefan Metzmacher --- source3/winbindd/idmap_autorid.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source3/winbindd/idmap_autorid.c b/source3/winbindd/idmap_autorid.c index 1617bbf66e3..cf82e47fac1 100644 --- a/source3/winbindd/idmap_autorid.c +++ b/source3/winbindd/idmap_autorid.c @@ -346,8 +346,8 @@ static NTSTATUS idmap_autorid_map_sid_to_id(struct idmap_domain *dom, /* bad things happened */ if (!NT_STATUS_EQUAL(ret, NT_STATUS_NONE_MAPPED)) { - DEBUG(1, ("Looking up SID->ID mapping for %s failed\n", - sid_string_dbg(map->sid))); + DEBUG(1, ("Looking up SID->ID mapping for %s failed: %s\n", + sid_string_dbg(map->sid), nt_errstr(ret))); return ret; } -- 2.11.4.GIT