wbinfo: return "NOT MAPPED" instead of "S-0-0" for unmapped id-to-sid
authorRalph Boehme <slow@samba.org>
Mon, 9 Oct 2017 11:25:21 +0000 (13:25 +0200)
committerJeremy Allison <jra@samba.org>
Tue, 10 Oct 2017 00:57:40 +0000 (02:57 +0200)
commit76a1c5a1625f3593de0feac47741a3405b4c9275
treeb10f85509319fb9ac3a5957f351f2b97209bcb3f
parent0666093cb0d820cc27a265c1f0a87bc76cd3c167
wbinfo: return "NOT MAPPED" instead of "S-0-0" for unmapped id-to-sid

Currently wbinfo --unix-ids-to-sids prints "S-0-0" for failed
mappings. Let it print "NOT MAPPED" instead.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Tue Oct 10 02:57:40 CEST 2017 on sn-devel-144
nsswitch/tests/test_idmap_rfc2307.sh
nsswitch/wbinfo.c