summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2011-07-26 11:05:38 +1000
committerMichael Adam <obnox@samba.org>2011-09-23 00:16:41 +0200
commitdbbb69e5722075e6c791d350484add378079b1ff (patch)
tree2afcf722af87d3c09c01c0306f6b0aaa3a4f21bf
parent79459491773205f80b440468b7dba404c6d751b8 (diff)
downloadsamba-dbbb69e5722075e6c791d350484add378079b1ff.tar.gz
samba-dbbb69e5722075e6c791d350484add378079b1ff.tar.bz2
samba-dbbb69e5722075e6c791d350484add378079b1ff.zip
wbclient: added support for handling WBC_ID_TYPE_BOTH mappings
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Signed-off-by: Michael Adam <obnox@samba.org>
-rw-r--r--nsswitch/wbinfo.c3
1 files changed, 3 insertions, 0 deletions
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;