summaryrefslogtreecommitdiffstats
path: root/source3/winbindd
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2014-01-16 16:10:25 +0100
committerAndreas Schneider <asn@cryptomilk.org>2014-01-16 20:17:24 +0100
commit1a43778433934530d77791edd1af538de8b1d8a3 (patch)
treefb14ae67f8a15948d9bb117b188518f545bbf06f /source3/winbindd
parent7d339dfe70217a23c2d935667084e496a5ea04f1 (diff)
downloadsamba-1a43778433934530d77791edd1af538de8b1d8a3.tar.gz
samba-1a43778433934530d77791edd1af538de8b1d8a3.tar.xz
samba-1a43778433934530d77791edd1af538de8b1d8a3.zip
s3-winbind: Improve performance of wb_fill_pwent_sid2uid_done().
BUG: https://bugzilla.samba.org/show_bug.cgi?id=2191 Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org> Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Thu Jan 16 20:17:24 CET 2014 on sn-devel-104
Diffstat (limited to 'source3/winbindd')
-rw-r--r--source3/winbindd/wb_fill_pwent.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/winbindd/wb_fill_pwent.c b/source3/winbindd/wb_fill_pwent.c
index 9d0abbd9e36..cd0ca500b34 100644
--- a/source3/winbindd/wb_fill_pwent.c
+++ b/source3/winbindd/wb_fill_pwent.c
@@ -91,7 +91,7 @@ static void wb_fill_pwent_sid2uid_done(struct tevent_req *subreq)
state->pw->pw_uid = (uid_t)xid.id;
- subreq = wb_getgrsid_send(state, state->ev, &state->info->group_sid, 1);
+ subreq = wb_getgrsid_send(state, state->ev, &state->info->group_sid, 0);
if (tevent_req_nomem(subreq, req)) {
return;
}