When performing "ipa-adtrust-install" a second time the following errors get produced.
[8/15]: activating CLDAP plugin ipa : CRITICAL Failed to load ipa-cldap-conf.ldif: Command '/usr/bin/ldapmodify -v -f /tmp/tmp0iXY0J -H ldapi://%2fvar%2frun%2fslapd-TEST-INGG-COM.socket' returned non-zero exit status 68 [9/15]: activating sidgen plugin and task ipa : CRITICAL Failed to load ipa-sidgen-conf.ldif: Command '/usr/bin/ldapmodify -v -f /tmp/tmppVDi0K -H ldapi://%2fvar%2frun%2fslapd-TEST-INGG-COM.socket' returned non-zero exit status 68 ipa : CRITICAL Failed to load ipa-sidgen-task-conf.ldif: Command '/usr/bin/ldapmodify -v -f /tmp/tmpCPsM_F -H ldapi://%2fvar%2frun%2fslapd-TEST-INGG-COM.socket' returned non-zero exit status 68 [10/15]: activating extdom plugin ipa : CRITICAL Failed to load ipa-extdom-extop-conf.ldif: Command '/usr/bin/ldapmodify -v -f /tmp/tmpTTAEyi -H ldapi://%2fvar%2frun%2fslapd-TEST-INGG-COM.socket' returned non-zero exit status 68
If the entries already exist, errors do not need to be displayed.
Add a check to prevent it to run multiple times.
It would not be easy to suppress the error message, but a check can be added before ldapmodify is called.
master: 0d82862
ipa-3-0: 19c0cb7
Metadata Update from @tsunamie: - Issue assigned to sbose - Issue set to the milestone: FreeIPA 3.0 RC2
Login to comment on this ticket.