summaryrefslogtreecommitdiff
path: root/src/responder/nss
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2012-03-07 19:56:21 +0100
committerStephen Gallagher <sgallagh@redhat.com>2012-03-08 14:25:48 -0500
commit4859f3522a017ec998c324d8310c2dd24741ea9e (patch)
tree75f41dac8a50894bdd45ec110e8539f93667af6a /src/responder/nss
parentcc751fbea9f05c7ce151f4c82afb6585d4b846bb (diff)
downloadsssd-4859f3522a017ec998c324d8310c2dd24741ea9e.tar.gz
sssd-4859f3522a017ec998c324d8310c2dd24741ea9e.tar.bz2
sssd-4859f3522a017ec998c324d8310c2dd24741ea9e.zip
Save original name into the in-memory cache
Diffstat (limited to 'src/responder/nss')
-rw-r--r--src/responder/nss/nsssrv_netgroup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/responder/nss/nsssrv_netgroup.c b/src/responder/nss/nsssrv_netgroup.c
index 9cb3422f..bce1d477 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);