summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2004-01-05 04:26:35 +0000
committerAndrew Bartlett <abartlet@samba.org>2004-01-05 04:26:35 +0000
commitdb44ffd3acfab9648395dc2eaa582dfabc000de7 (patch)
treef5b246bcb3159ca139518d3c0a660c94f472d917 /source3
parentb86830a7cd2e0233e34358f829fa186233194976 (diff)
downloadsamba-db44ffd3acfab9648395dc2eaa582dfabc000de7.tar.gz
samba-db44ffd3acfab9648395dc2eaa582dfabc000de7.tar.bz2
samba-db44ffd3acfab9648395dc2eaa582dfabc000de7.zip
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)
Diffstat (limited to 'source3')
-rw-r--r--source3/nsswitch/wbinfo.c2
1 files changed, 1 insertions, 1 deletions
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;
}