git.samba.org
/
mat
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7945949
)
wbclient: added support for handling WBC_ID_TYPE_BOTH mappings
author
Andrew Tridgell
<tridge@samba.org>
Tue, 26 Jul 2011 01:05:38 +0000
(11:05 +1000)
committer
Michael Adam
<obnox@samba.org>
Thu, 22 Sep 2011 22:16:41 +0000
(
00:16
+0200)
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Signed-off-by: Michael Adam <obnox@samba.org>
nsswitch/wbinfo.c
patch
|
blob
|
history
diff --git
a/nsswitch/wbinfo.c
b/nsswitch/wbinfo.c
index 30e23b6a8fb5287dc1831a2dbba0a60c5c733052..6459b8e4c29c75c736116f2a593b3d25509ece48 100644
(file)
--- 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;