diff options
author | Michael Adam <obnox@samba.org> | 2013-09-21 21:03:40 +0200 |
---|---|---|
committer | Andreas Schneider <asn@samba.org> | 2013-11-13 11:40:28 +0100 |
commit | f7240932afdc1a50cdb9f43f8d3752a5717163de (patch) | |
tree | d4fcf8b9e82ffbd0ed2c5397a961b6f060bcb9cd /nsswitch | |
parent | fdf28f0898de9372dde58735e4af8e15e3536d99 (diff) | |
download | samba-f7240932afdc1a50cdb9f43f8d3752a5717163de.tar.gz |
wbinfo: fix output of "--lookup-sids" to use the configured winbind separator
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'nsswitch')
-rw-r--r-- | nsswitch/wbinfo.c | 3 |
1 files changed, 2 insertions, 1 deletions
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); } } |