s3-winbind: Improve performance of wb_fill_pwent_sid2uid_done().
authorVolker Lendecke <vl@samba.org>
Thu, 16 Jan 2014 15:10:25 +0000 (16:10 +0100)
committerKarolin Seeger <kseeger@samba.org>
Thu, 13 Feb 2014 23:04:34 +0000 (00:04 +0100)
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

(cherry picked from commit 1a43778433934530d77791edd1af538de8b1d8a3)
Signed-off-by: Andreas Schneider <asn@samba.org>
Autobuild-User(v4-0-test): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(v4-0-test): Fri Feb 14 00:04:34 CET 2014 on sn-devel-104

source3/winbindd/wb_fill_pwent.c

index 9d0abbd9e36f211e4958657c1763c55b86a1dcae..cd0ca500b34f8b499b79d289ff5a5d237234668e 100644 (file)
@@ -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;
        }