From db44ffd3acfab9648395dc2eaa582dfabc000de7 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Mon, 5 Jan 2004 04:26:35 +0000 Subject: Show the sid type in name->sid translatons in a way that can be easily understood by humans. Andrew Bartlett (This used to be commit 3d91b0a0060f18d49b2fdd9f93ef310e2ea7779d) --- source3/nsswitch/wbinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/nsswitch/wbinfo.c') diff --git a/source3/nsswitch/wbinfo.c b/source3/nsswitch/wbinfo.c index f779d6afb4..792af84827 100644 --- a/source3/nsswitch/wbinfo.c +++ b/source3/nsswitch/wbinfo.c @@ -482,7 +482,7 @@ static BOOL wbinfo_lookupname(char *name) /* Display response */ - d_printf("%s %d\n", response.data.sid.sid, response.data.sid.type); + d_printf("%s %s (%d)\n", response.data.sid.sid, sid_type_lookup(response.data.sid.type), response.data.sid.type); return True; } -- cgit