summaryrefslogtreecommitdiff
path: root/src/confdb
diff options
context:
space:
mode:
Diffstat (limited to 'src/confdb')
-rw-r--r--src/confdb/confdb.c1
-rw-r--r--src/confdb/confdb.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/confdb/confdb.c b/src/confdb/confdb.c
index 04f02b5c..0320797c 100644
--- a/src/confdb/confdb.c
+++ b/src/confdb/confdb.c
@@ -727,6 +727,7 @@ static int confdb_get_domain_internal(struct confdb_ctx *cdb,
ret = ENOMEM;
goto done;
}
+ domain->conn_name = domain->name;
tmp = ldb_msg_find_attr_as_string(res->msgs[0],
CONFDB_DOMAIN_ID_PROVIDER,
diff --git a/src/confdb/confdb.h b/src/confdb/confdb.h
index 370970b8..d0b383e5 100644
--- a/src/confdb/confdb.h
+++ b/src/confdb/confdb.h
@@ -170,6 +170,7 @@ struct config_file_ctx;
*/
struct sss_domain_info {
char *name;
+ char *conn_name;
char *provider;
int timeout;
bool enumerate;