--On Thursday, May 6, 2021 3:21 PM +0000 harklib@protonmail.com wrote:
Hi,
I am in the process of migrating away from our ancient Oracle DSEE7 directory servers to OpenLDAP 2.4.44-23.el7_9.x86_64.
Why are you migrating to a release that's over 5 years old? I'd strongly advise saving time and migrating to a current supported release. If you're on RHEL7, Symas offers free drop in replacements for the ancient cruft shipped by RH:
https://repo.symas.com/sofl/rhel7/
The LTB project also offers current builds of OpenLDAP:
https://ltb-project.org/documentation/openldap-rpm#yum_repository
One problem I'm experiencing when importing entries with attribute values encoded in base64 is:
adding new entry "cn=LastName,ou=People,dc=cs,dc=university,dc=edu" ldap_add: Invalid syntax (21) additional info: gecos: value #0 invalid per syntax
In this example, the "gecos" attribute has the first name "Jérémie", e.g., "gecos:: SsOpcsOpbWll". When I decode it using `base64 -d` it decodes just fine. Why can I not import this base64 encoded value, and others, using ldapadd? I'm binding as olcRootDN which has the appropriate permission, manage, as far as I can tell but have also used SASL EXTERNAL--same results.
Does the decoded version actually import successfully? You note it decodes just fine, but you didn't say if you can actually import it at that point.
--Quanah
--
Quanah Gibson-Mount Product Architect Symas Corporation Packaged, certified, and supported LDAP solutions powered by OpenLDAP: http://www.symas.com