Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ipaldap: remove do_bind from LDAPClient #214

Closed
wants to merge 1 commit into from

Conversation

nicki-krizek
Copy link
Contributor

@nicki-krizek nicki-krizek commented Nov 8, 2016

Remove do_bind() method that was a relict used in IPAdmin. Replace
its uses with simple / external binds.

https://fedorahosted.org/freeipa/ticket/6461

@MartinBasti MartinBasti self-assigned this Nov 10, 2016
@MartinBasti MartinBasti added the ack Pull Request approved, can be merged label Nov 10, 2016
@MartinBasti
Copy link
Contributor

@MartinBasti MartinBasti added the pushed Pull Request has already been pushed label Nov 10, 2016
@HonzaCholasta
Copy link
Contributor

DM password may be None in dns_container_exists() and dnssec_container_exists() (for example in BindInstance.setup()), so you can't simple bind unconditionally.

@MartinBasti
Copy link
Contributor

ipaserver/install/ca.py:226: [W0612(unused-variable), install_step_1] Unused variable 'dm_password')

Previously an adhoc connection was established for checking if
dns(sec) container exists. A simple or external bind was used.
Instead, always connect with ldapi through api.Backend.ldap2.

https://fedorahosted.org/freeipa/ticket/6461
@martbab
Copy link
Contributor

martbab commented Nov 11, 2016

The fix works as expected. ACK.

Fixed upstream
master:
https://fedorahosted.org/freeipa/changeset/f183f70e0183e51d569ada972bd3ec73cad76a30

@martbab martbab closed this Nov 11, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ack Pull Request approved, can be merged pushed Pull Request has already been pushed
Projects
None yet
4 participants