Overview
Request 593976 accepted
- bsc#1085064 Add script "openldap_update_modules_path.sh" which
which removes the configuration item olcModulePath in cn=config
which is after upgrade from SLE12 to SLE15 holds inappropriate
information. If the cn=config is being used on a system, the
conflicting items in slapd.conf are ignored, despite of it, the
backend DB configuration section has been also commented out in
the default slapd.conf.
In case of correct cn=config (the olcModulePath has been already
removed), the script stops without touching anything.
sed works line-by-line and LDIF lines might be folded (default is after 76 chars as per RFC 2849).
Could you please use slapcat -o ldif-wrap=no to avoid running into issues with long path name used in the attribute?
Thanks for the hint, I've modified the script accordingly, and I also added a section checking if the olcModulePath is already set or not, to avoid stopping the slapd unnecessarily. As soon as the rpm is done in my branched home project, I am going to send the request again.
Request History
zkalmar created request
- bsc#1085064 Add script "openldap_update_modules_path.sh" which
which removes the configuration item olcModulePath in cn=config
which is after upgrade from SLE12 to SLE15 holds inappropriate
information. If the cn=config is being used on a system, the
conflicting items in slapd.conf are ignored, despite of it, the
backend DB configuration section has been also commented out in
the default slapd.conf.
In case of correct cn=config (the olcModulePath has been already
removed), the script stops without touching anything.
stroeder accepted request
Thanks.