From 1d66cb0e204fa5527f35f58d82bda8b7850e7118 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Mon, 24 May 2010 15:03:17 +1000 Subject: s4:winbind Give more detail on the parameters when reporting idmap failure --- source4/winbind/idmap.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source4/winbind/idmap.c b/source4/winbind/idmap.c index b5a01ae6a1..9d25a6aaf4 100644 --- a/source4/winbind/idmap.c +++ b/source4/winbind/idmap.c @@ -218,7 +218,8 @@ static NTSTATUS idmap_xid_to_sid(struct idmap_context *idmap_ctx, id_type = "ID_TYPE_GID"; break; default: - DEBUG(1, ("unixid->type must be type gid or uid\n")); + DEBUG(1, ("unixid->type must be type gid or uid (got %u) for lookup with id %lu\n", + (unsigned)unixid->type, (unsigned long)unixid->id)); status = NT_STATUS_NONE_MAPPED; goto failed; } -- cgit