mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
merge initial radius work
This commit is contained in:
@@ -47,6 +47,7 @@ import ipaserver.krbinstance
|
||||
import ipaserver.bindinstance
|
||||
import ipaserver.httpinstance
|
||||
import ipaserver.ntpinstance
|
||||
import ipaserver.radiusinstance
|
||||
|
||||
from ipa.ipautil import run
|
||||
|
||||
@@ -526,6 +527,11 @@ def main():
|
||||
http = ipaserver.httpinstance.HTTPInstance()
|
||||
http.create_instance()
|
||||
|
||||
# Create a radius instance
|
||||
radius = ipaserver.radiusinstance.RadiusInstance()
|
||||
# FIXME: ldap_server should be derived, not hardcoded to localhost, also should it be a URL?
|
||||
radius.create_instance(realm_name, host_name, 'localhost')
|
||||
|
||||
bind.setup(host_name, ip_address, realm_name)
|
||||
if options.setup_bind:
|
||||
skipbind = False
|
||||
|
||||
Reference in New Issue
Block a user