diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2012-03-07 19:56:21 +0100 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2012-03-08 14:25:48 -0500 |
commit | 4859f3522a017ec998c324d8310c2dd24741ea9e (patch) | |
tree | 75f41dac8a50894bdd45ec110e8539f93667af6a /src/responder | |
parent | cc751fbea9f05c7ce151f4c82afb6585d4b846bb (diff) | |
download | sssd-4859f3522a017ec998c324d8310c2dd24741ea9e.tar.gz sssd-4859f3522a017ec998c324d8310c2dd24741ea9e.tar.xz sssd-4859f3522a017ec998c324d8310c2dd24741ea9e.zip |
Save original name into the in-memory cache
Diffstat (limited to 'src/responder')
-rw-r--r-- | src/responder/nss/nsssrv_netgroup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/responder/nss/nsssrv_netgroup.c b/src/responder/nss/nsssrv_netgroup.c index 9cb3422f2..bce1d4775 100644 --- a/src/responder/nss/nsssrv_netgroup.c +++ b/src/responder/nss/nsssrv_netgroup.c @@ -510,7 +510,7 @@ static errno_t lookup_netgr_step(struct setent_step_ctx *step_ctx) netgr->found = false; netgr->entries = NULL; netgr->lookup_table = step_ctx->nctx->netgroups; - netgr->name = talloc_strdup(netgr, name); + netgr->name = talloc_strdup(netgr, step_ctx->name); if (netgr->name == NULL) { DEBUG(1, ("talloc_strdup failed.\n")); talloc_free(netgr); |