From f7240932afdc1a50cdb9f43f8d3752a5717163de Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Sat, 21 Sep 2013 21:03:40 +0200 Subject: [PATCH] wbinfo: fix output of "--lookup-sids" to use the configured winbind separator Signed-off-by: Michael Adam Reviewed-by: Andreas Schneider --- nsswitch/wbinfo.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nsswitch/wbinfo.c b/nsswitch/wbinfo.c index 0a7fa965be4..04478a75519 100644 --- a/nsswitch/wbinfo.c +++ b/nsswitch/wbinfo.c @@ -1398,8 +1398,9 @@ static bool wbinfo_lookup_sids(const char *arg) domains[names[i].domain_index].short_name, names[i].type); } else { - d_printf("%s -> %s\\%s %d\n", sidstr, + d_printf("%s -> %s%c%s %d\n", sidstr, domains[names[i].domain_index].short_name, + winbind_separator(), names[i].name, names[i].type); } } -- 2.11.4.GIT