From dbbb69e5722075e6c791d350484add378079b1ff Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 26 Jul 2011 11:05:38 +1000 Subject: wbclient: added support for handling WBC_ID_TYPE_BOTH mappings Pair-Programmed-With: Andrew Bartlett Signed-off-by: Michael Adam --- nsswitch/wbinfo.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nsswitch/wbinfo.c b/nsswitch/wbinfo.c index 30e23b6a8f..6459b8e4c2 100644 --- a/nsswitch/wbinfo.c +++ b/nsswitch/wbinfo.c @@ -1018,6 +1018,9 @@ static bool wbinfo_sids_to_unix_ids(const char *arg) case WBC_ID_TYPE_GID: d_printf("%s -> gid %d\n", sidstr, unix_ids[i].id.gid); break; + case WBC_ID_TYPE_BOTH: + d_printf("%s -> uid/gid %d\n", sidstr, unix_ids[i].id.uid); + break; default: d_printf("%s -> unmapped\n", sidstr); break; -- cgit