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 ba1948a798e..0904179da7a 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 @@ -131,7 +131,7 @@ def generate_configuration(self): continue if not scope['name'] in scopes: - scope_dn = 'inum={},ou=scopes,o=jans'.format(inum) + scope_dn = 'inum={},ou=scopes,o=jans'.format(scope['inum']) scopes[scope['name']] = {'dn': scope_dn} display_name = 'Config API scope {}'.format(scope['name']) description = 'Config API {} scope {}'.format(scope_level, scope['name']) @@ -139,7 +139,7 @@ def generate_configuration(self): 'objectclass': ['top', 'jansScope'], 'description': [description], 'displayName': [display_name], - 'inum': [inum], + 'inum': [scope['inum']], 'jansDefScope': ['false'], 'jansId': [scope['name']], 'jansScopeTyp': [scope_type],