Skip to content

Commit

Permalink
feat: jans-linux-setup config-api scope creation (ref: #3097)
Browse files Browse the repository at this point in the history
  • Loading branch information
devrimyatar committed Nov 29, 2022
1 parent 46549b9 commit 749d214
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -131,15 +131,15 @@ 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'])
ldif_dict = {
'objectclass': ['top', 'jansScope'],
'description': [description],
'displayName': [display_name],
'inum': [inum],
'inum': [scope['inum']],
'jansDefScope': ['false'],
'jansId': [scope['name']],
'jansScopeTyp': [scope_type],
Expand Down

0 comments on commit 749d214

Please sign in to comment.