mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-25 08:21:05 -06:00
ipactl: use server API
Initialize API in ipactl with in_server=True, as this is a server-side script. https://fedorahosted.org/freeipa/ticket/4739 Reviewed-By: David Kupka <dkupka@redhat.com>
This commit is contained in:
parent
08ff248eee
commit
875801d1d9
@ -559,7 +559,7 @@ def main():
|
||||
else:
|
||||
raise e
|
||||
|
||||
api.bootstrap(context='ipactl', debug=options.debug)
|
||||
api.bootstrap(in_server=True, context='ipactl', debug=options.debug)
|
||||
api.finalize()
|
||||
|
||||
if '.' not in api.env.host:
|
||||
|
Loading…
Reference in New Issue
Block a user