From cfa301f40fc63ebcfa139fdb8a849d2c61f0a98e Mon Sep 17 00:00:00 2001 From: Devrim Date: Wed, 22 Jan 2025 20:05:42 +0300 Subject: [PATCH] fix(jans-linux-setup): update jansservices module post setup (#10715) Signed-off-by: Mustafa Baser --- .../jans_setup/setup_app/installers/config_api.py | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/jans-linux-setup/jans_setup/setup_app/installers/config_api.py b/jans-linux-setup/jans_setup/setup_app/installers/config_api.py index d0de1d67e05..eccb7ecfe07 100644 --- a/jans-linux-setup/jans_setup/setup_app/installers/config_api.py +++ b/jans-linux-setup/jans_setup/setup_app/installers/config_api.py @@ -250,12 +250,9 @@ def update_jansservicemodule(self): self.logIt("Updating jansServiceModule for Config Api") # find configuration dn - ldif_parser = myLdifParser(self.config_ldif_fn) - ldif_parser.parse() - for dn, _ in ldif_parser.entries: - if 'ou=configuration' in dn: - config_api_config_dn = dn - break + jans_config = base.read_properties_file(Config.jans_properties_fn) + config_api_config_dn = jans_config['configApi_ConfigurationEntryDN'] + jans_service_modules = []