mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2026-11-02 20:30:26 -06:00
config: provide defaults for xmlrpc_uri, ldap_uri and basedn
Derive the default value of `xmlrpc_uri` and `ldap_uri` from `server`. Derive the default value of `basedn` from `domain`. Reviewed-By: Martin Babinsky <mbabinsk@redhat.com> Reviewed-By: Christian Heimes <cheimes@redhat.com>
This commit is contained in:
1 parent
3f6411a49c
commit
ba3963b4dc
5 files changed
+19
-10
No files matched your search
@@ -40,7 +40,6 @@ from ipalib.parameters import Param
|
||||
from ipalib.output import Output
|
||||
from ipalib.text import Gettext, NGettext, ConcatenatedLazyText
|
||||
from ipalib.capabilities import capabilities
|
||||
from ipapython.dn import DN
|
||||
|
||||
API_FILE='API.txt'
|
||||
|
||||
@@ -514,11 +513,8 @@ def main():
|
||||
enable_ra=True,
|
||||
mode='developer',
|
||||
plugins_on_demand=False,
|
||||
basedn=DN(('dc', 'example'), ('dc', 'com')),
|
||||
realm="EXAMPLE.COM",
|
||||
domain="example.com",
|
||||
xmlrpc_uri="http://localhost:8888/ipa/xml",
|
||||
ldap_uri="ldap://localhost:389",
|
||||
)
|
||||
|
||||
api.bootstrap(**cfg)
|
||||
|
||||
Reference in new issue
Block a user