mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
ipalib.constants: Remove default domain, realm, basedn, xmlrpc_uri, ldap_uri
Domain, realm, basedn, xmlrpc_uri, ldap_uri do not have any reasonable default. This patch removes hardcoded default so the so the code which depends on these values blows up early and does not do crazy stuff with default values instead of real ones. This should help to uncover issues caused by improper ipalib initialization. Reviewed-By: Martin Babinsky <mbabinsk@redhat.com> Reviewed-By: Christian Heimes <cheimes@redhat.com>
This commit is contained in:
committed by
Martin Basti
parent
4736fef6bb
commit
3f6411a49c
3
makeaci
3
makeaci
@@ -98,6 +98,9 @@ def main(options):
|
||||
plugins_on_demand=False,
|
||||
basedn=DN('dc=ipa,dc=example'),
|
||||
realm='IPA.EXAMPLE',
|
||||
domain="example.com",
|
||||
xmlrpc_uri="http://localhost:8888/ipa/xml",
|
||||
ldap_uri="ldap://localhost:389",
|
||||
)
|
||||
|
||||
from ipaserver.install.plugins import update_managed_permissions
|
||||
|
||||
Reference in New Issue
Block a user