mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
ipaserver/plugins/trust.py; fix some indenting issues
Reviewed-By: Christian Heimes <cheimes@redhat.com> Reviewed-By: Thierry Bordaz <tbordaz@redhat.com>
This commit is contained in:
@@ -322,11 +322,13 @@ def generate_creds(trustinstance, style, **options):
|
||||
else:
|
||||
sp = admin_name.split(sep)
|
||||
if len(sp) == 1:
|
||||
sp.append(trustinstance.remote_domain.info['dns_domain'].upper())
|
||||
sp.append(trustinstance.remote_domain
|
||||
.info['dns_domain'].upper())
|
||||
creds = u"{name}%{password}".format(name=sep.join(sp),
|
||||
password=password)
|
||||
return creds
|
||||
|
||||
|
||||
def add_range(myapi, trustinstance, range_name, dom_sid, *keys, **options):
|
||||
"""
|
||||
First, we try to derive the parameters of the ID range based on the
|
||||
@@ -638,8 +640,7 @@ class trust(LDAPObject):
|
||||
add_message(
|
||||
options['version'],
|
||||
result,
|
||||
BrokenTrust(domain=entry.single_value['cn'])
|
||||
)
|
||||
BrokenTrust(domain=entry.single_value['cn']))
|
||||
|
||||
|
||||
@register()
|
||||
|
||||
Reference in New Issue
Block a user