#6065 ipa-client-install should overwrite or prompt for changes in /etc/openldap/ldap.conf
Closed: wontfix 3 years ago by pcech. Opened 7 years ago by pvoborni.

Ticket was cloned from Red Hat Bugzilla (product Red Hat Enterprise Linux 7): Bug 1353969

Description of problem:
When installing an IPA server or client, any existing ldap.conf is not
overwritten but the IPA ldap servers are appended and commented out.

This can cause confusion when running ldap operations such as
ldapadd/ldapmodify and the like.


Version-Release number of selected component (if applicable):
4.2

How reproducible:
Always

Steps to Reproduce:
1. configure /etc/openldap/ldap.conf pointing to an ldap server. I.e.

BASE   dc=example,dc=com
URI    ldap://ldap.example.com


2. Run ipa-client-install
3. Finding the ldap config as follow:
BASE   dc=example,dc=com
URI    ldap://ldap.example.com

#URI ldaps://ipa1.example.com # modified by IPA
#BASE dc=ipa,dc=example,dc=com # modified by IPA



Actual results:
LDAP operations on the IPA server will fail.

Expected results:
LDAP config should comment out the original BASE and URI and put in place the
new IPA ldap config.

Additional info:
On clients, it can be a valid configuration pointing /etc/openldap/ldap.conf to
a different LDAP server used by an application on the server. A nice solution
would be adding a switch to ipa-client-install i.e --overwrite-config or
similar. This switch should be used as default when ipa-server-install triggers
the client config part.

Metadata Update from @pvoborni:
- Issue assigned to someone
- Issue set to the milestone: Future Releases

7 years ago

Metadata Update from @pcech:
- Custom field affects_doc adjusted to on
- Custom field knownissue adjusted to on
- Issue close_status updated to: wontfix
- Issue status updated to: Closed (was: Open)

3 years ago

Login to comment on this ticket.

Metadata