diff options
author | Stephen Gallagher <sgallagh@redhat.com> | 2011-01-19 15:39:02 -0500 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2011-01-21 09:24:56 -0500 |
commit | 3ad662a4d26c0d6ee4e382758ca7b3f0c2880d20 (patch) | |
tree | b7b7f3421a1548ddc441f3affaa5f5a1bad81657 /src/providers/ldap/ldap_id.c | |
parent | fd72f761edb0b11265ce3293b56a4a4fa0d1a317 (diff) | |
download | sssd-3ad662a4d26c0d6ee4e382758ca7b3f0c2880d20.tar.gz sssd-3ad662a4d26c0d6ee4e382758ca7b3f0c2880d20.tar.xz sssd-3ad662a4d26c0d6ee4e382758ca7b3f0c2880d20.zip |
Add the user's primary group to the initgroups lookup
The user may not be a direct member of their primary group, but
we still want to make sure that group is cached on the system.
Diffstat (limited to 'src/providers/ldap/ldap_id.c')
-rw-r--r-- | src/providers/ldap/ldap_id.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/providers/ldap/ldap_id.c b/src/providers/ldap/ldap_id.c index ed27620ce..09f0026b0 100644 --- a/src/providers/ldap/ldap_id.c +++ b/src/providers/ldap/ldap_id.c @@ -588,11 +588,12 @@ static void groups_by_user_connect_done(struct tevent_req *subreq) return; } - subreq = sdap_get_initgr_send(state, state->ev, - state->ctx->be->domain, - state->ctx->be->sysdb, - state->ctx->opts, sdap_id_op_handle(state->op), - state->name, state->attrs); + subreq = sdap_get_initgr_send(state, + state->ev, + sdap_id_op_handle(state->op), + state->ctx, + state->name, + state->attrs); if (!subreq) { tevent_req_error(req, ENOMEM); return; |