diff options
author | Andrew Bartlett <abartlet@samba.org> | 2010-05-24 15:03:17 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2010-05-24 23:08:57 +1000 |
commit | 1d66cb0e204fa5527f35f58d82bda8b7850e7118 (patch) | |
tree | 3c920b0e76b0ac86fbe0aecc6d311febb4db849e | |
parent | dceca3d8ae0220bb8d23325a0a771533bf946217 (diff) | |
download | samba-1d66cb0e204fa5527f35f58d82bda8b7850e7118.tar.gz samba-1d66cb0e204fa5527f35f58d82bda8b7850e7118.tar.bz2 samba-1d66cb0e204fa5527f35f58d82bda8b7850e7118.zip |
s4:winbind Give more detail on the parameters when reporting idmap failure
-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; } |