summaryrefslogtreecommitdiffstats
path: root/src/responder
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2016-04-19 10:16:15 -0400
committerJakub Hrozek <jhrozek@redhat.com>2016-05-11 11:34:10 +0200
commit98dbaea0a00c60972b991755a44c51964dfb7877 (patch)
tree2cf01f9582f55709b8d9eb83f5923d66d6b92ce3 /src/responder
parent760a62e4aea13e3d1a428be35c4ae1547ae63afc (diff)
downloadsssd-98dbaea0a00c60972b991755a44c51964dfb7877.tar.gz
sssd-98dbaea0a00c60972b991755a44c51964dfb7877.tar.xz
sssd-98dbaea0a00c60972b991755a44c51964dfb7877.zip
Internal: Rename CONFDB_DEFAULT_CONFIG_FILE
New name is SSSD_CONFIG_FILE. This is done because we will start to ship a static default configuration in addition to the runtime configuration. Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
Diffstat (limited to 'src/responder')
-rw-r--r--src/responder/ifp/ifp_components.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/responder/ifp/ifp_components.c b/src/responder/ifp/ifp_components.c
index b143d1e4f..38707c114 100644
--- a/src/responder/ifp/ifp_components.c
+++ b/src/responder/ifp/ifp_components.c
@@ -489,7 +489,7 @@ int ifp_component_enable(struct sbus_request *dbus_req, void *data)
goto done;
}
- config_ctx = sss_config_open(dbus_req, NULL, CONFDB_DEFAULT_CONFIG_FILE);
+ config_ctx = sss_config_open(dbus_req, NULL, SSSD_CONFIG_FILE);
if (config_ctx == NULL) {
ret = ENOMEM;
goto done;
@@ -560,7 +560,7 @@ int ifp_component_disable(struct sbus_request *dbus_req, void *data)
goto done;
}
- config_ctx = sss_config_open(dbus_req, NULL, CONFDB_DEFAULT_CONFIG_FILE);
+ config_ctx = sss_config_open(dbus_req, NULL, SSSD_CONFIG_FILE);
if (config_ctx == NULL) {
ret = ENOMEM;
goto done;
@@ -651,7 +651,7 @@ int ifp_component_change_debug_level(struct sbus_request *dbus_req,
goto done;
}
- config_ctx = sss_config_open(dbus_req, NULL, CONFDB_DEFAULT_CONFIG_FILE);
+ config_ctx = sss_config_open(dbus_req, NULL, SSSD_CONFIG_FILE);
if (config_ctx == NULL) {
ret = ENOMEM;
goto done;
@@ -715,7 +715,7 @@ int ifp_component_change_debug_level_tmp(struct sbus_request *dbus_req,
}
/* Touch configuration file to make sure debug level is reloaded. */
- if (utime(CONFDB_DEFAULT_CONFIG_FILE, NULL) == -1) {
+ if (utime(SSSD_CONFIG_FILE, NULL) == -1) {
ret = errno;
goto done;
}