mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-01-11 00:31:56 -06:00
idp: when adding an IdP allow to override IdP options
Use of 'ipa idp-add --provider' was supposed to allow override scope and other IdP options. The defaults are provided by the IdP template and were actually not overridden. Fix this. Fixes: https://pagure.io/freeipa/issue/9421 Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com> Reviewed-By: Florence Blanc-Renaud <flo@redhat.com>
This commit is contained in:
parent
c84c59c66f
commit
69e4397421
@ -350,6 +350,9 @@ class idp_add(LDAPCreate):
|
||||
name=self.options[s].cli_name,
|
||||
error=_('value is missing'))
|
||||
points[k] = template_str(v, elements)
|
||||
elif k in elements:
|
||||
points[k] = elements[k]
|
||||
|
||||
entry_attrs.update(points)
|
||||
|
||||
def get_options(self):
|
||||
|
Loading…
Reference in New Issue
Block a user