summaryrefslogtreecommitdiffstats
path: root/ipaserver/install/replication.py
diff options
context:
space:
mode:
authorPetr Viktorin <pviktori@redhat.com>2012-11-20 07:18:08 -0500
committerMartin Kosek <mkosek@redhat.com>2012-11-23 12:19:20 +0100
commit994563bfe9df3ee37f1ccc54ec0f26ccb11f39fe (patch)
tree15211897de914745c84894036fa3e8ad3a7f3ed5 /ipaserver/install/replication.py
parent83ef2e251fa0550ebecc68c4c54406b1cef7f3b3 (diff)
downloadfreeipa-994563bfe9df3ee37f1ccc54ec0f26ccb11f39fe.tar.gz
freeipa-994563bfe9df3ee37f1ccc54ec0f26ccb11f39fe.tar.xz
freeipa-994563bfe9df3ee37f1ccc54ec0f26ccb11f39fe.zip
Provide 'protocol' argument to IPAdmin
The ancient IPAdmin class used some heuristics to determine the protocol to connect with (ldap, ldaps, or ldapi). In turn, some calling code used questionable mechanisms to get the correct protocol: in ipaserver/install/replication.py, the CA cert was either passed to the constructor or added to the class afterwards, to get ldap:// or ldaps://. Add an explicit protocol argument and only fall back to backwards-compatible guessing if it is not given.
Diffstat (limited to 'ipaserver/install/replication.py')
0 files changed, 0 insertions, 0 deletions