mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Enable importing LDIF files not shipped by IPA
This is to be able to import ACME schema provided by dogtag. https://pagure.io/freeipa/issue/8524 Signed-off-by: Rob Crittenden <rcritten@redhat.com> Reviewed-By: Fraser Tweedale <ftweedal@redhat.com> Reviewed-By: Christian Heimes <cheimes@redhat.com> Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com> Reviewed-By: Rob Crittenden <rcritten@redhat.com> Reviewed-By: Mohammad Rizwan <myusuf@redhat.com>
This commit is contained in:
@@ -347,7 +347,10 @@ class Service:
|
|||||||
ldap_uri=None, dm_password=None):
|
ldap_uri=None, dm_password=None):
|
||||||
pw_name = None
|
pw_name = None
|
||||||
fd = None
|
fd = None
|
||||||
path = os.path.join(paths.USR_SHARE_IPA_DIR, ldif)
|
if not os.path.isabs(ldif):
|
||||||
|
path = os.path.join(paths.USR_SHARE_IPA_DIR, ldif)
|
||||||
|
else:
|
||||||
|
path = ldif
|
||||||
nologlist = []
|
nologlist = []
|
||||||
|
|
||||||
if sub_dict is not None:
|
if sub_dict is not None:
|
||||||
|
|||||||
Reference in New Issue
Block a user