summaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
authorJan Zeleny <jzeleny@redhat.com>2012-03-29 04:39:42 -0400
committerStephen Gallagher <sgallagh@redhat.com>2012-04-24 09:19:42 -0400
commitd3f2fd9cb21cc10dce663a2f7d0deda07074e44e (patch)
treed67ea0f96ea4b0878577c304ccf5b5d1bab515d0 /src/util
parent20d0bc6d587f346238062df4da5edfde815e59b1 (diff)
downloadsssd-d3f2fd9cb21cc10dce663a2f7d0deda07074e44e.tar.gz
sssd-d3f2fd9cb21cc10dce663a2f7d0deda07074e44e.tar.bz2
sssd-d3f2fd9cb21cc10dce663a2f7d0deda07074e44e.zip
Add conn_name to allow different names for domains and connections
Diffstat (limited to 'src/util')
-rw-r--r--src/util/domain_info_utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/domain_info_utils.c b/src/util/domain_info_utils.c
index 5ee0aece..e66bb154 100644
--- a/src/util/domain_info_utils.c
+++ b/src/util/domain_info_utils.c
@@ -50,8 +50,8 @@ struct sss_domain_info *new_subdomain(TALLOC_CTX *mem_ctx,
goto fail;
}
- dom->name = talloc_strdup(dom, parent->name);
- if (dom->name == NULL) {
+ dom->conn_name = talloc_strdup(dom, parent->conn_name);
+ if (dom->conn_name == NULL) {
DEBUG(SSSDBG_OP_FAILURE, ("Failed to copy connection name.\n"));
goto fail;
}