mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Remove unused bindcert and bindkey arguments to IPAdmin
Part of the work for: https://fedorahosted.org/freeipa/ticket/2660
This commit is contained in:
parent
334ba2e79f
commit
d11c337541
@ -1554,8 +1554,7 @@ class IPAdmin(LDAPConnection):
|
|||||||
else:
|
else:
|
||||||
return 'ldap'
|
return 'ldap'
|
||||||
|
|
||||||
def __init__(self, host='', port=389, cacert=None, bindcert=None,
|
def __init__(self, host='', port=389, cacert=None, debug=None, ldapi=False,
|
||||||
bindkey=None, debug=None, ldapi=False,
|
|
||||||
realm=None, protocol=None, force_schema_updates=True):
|
realm=None, protocol=None, force_schema_updates=True):
|
||||||
self.conn = None
|
self.conn = None
|
||||||
log_mgr.get_logger(self, True)
|
log_mgr.get_logger(self, True)
|
||||||
@ -1563,16 +1562,10 @@ class IPAdmin(LDAPConnection):
|
|||||||
ldap.set_option(ldap.OPT_DEBUG_LEVEL,255)
|
ldap.set_option(ldap.OPT_DEBUG_LEVEL,255)
|
||||||
if cacert is not None:
|
if cacert is not None:
|
||||||
ldap.set_option(ldap.OPT_X_TLS_CACERTFILE, cacert)
|
ldap.set_option(ldap.OPT_X_TLS_CACERTFILE, cacert)
|
||||||
if bindcert is not None:
|
|
||||||
ldap.set_option(ldap.OPT_X_TLS_CERTFILE,bindcert)
|
|
||||||
if bindkey is not None:
|
|
||||||
ldap.set_option(ldap.OPT_X_TLS_KEYFILE,bindkey)
|
|
||||||
|
|
||||||
self.port = port
|
self.port = port
|
||||||
self.host = host
|
self.host = host
|
||||||
self.cacert = cacert
|
self.cacert = cacert
|
||||||
self.bindcert = bindcert
|
|
||||||
self.bindkey = bindkey
|
|
||||||
self.ldapi = ldapi
|
self.ldapi = ldapi
|
||||||
self.realm = realm
|
self.realm = realm
|
||||||
self.suffixes = {}
|
self.suffixes = {}
|
||||||
|
Loading…
Reference in New Issue
Block a user