diff options
author | Petr Viktorin <pviktori@redhat.com> | 2012-11-20 07:18:08 -0500 |
---|---|---|
committer | Martin Kosek <mkosek@redhat.com> | 2012-11-23 12:19:20 +0100 |
commit | 994563bfe9df3ee37f1ccc54ec0f26ccb11f39fe (patch) | |
tree | 15211897de914745c84894036fa3e8ad3a7f3ed5 /ipaserver/install/replication.py | |
parent | 83ef2e251fa0550ebecc68c4c54406b1cef7f3b3 (diff) | |
download | freeipa-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