diff options
-rw-r--r-- | source4/winbind/idmap.c | 3 |
1 files changed, 2 insertions, 1 deletions
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; } |