ldapadd Error: 'Invalid Base 64 Encoding'
(Doc ID 375952.1)
Last updated on AUGUST 18, 2022
Applies to:
Oracle Internet Directory - Version 10.1.2 and laterInformation in this document applies to any platform.
Symptoms
Unable to add users to Oracle Internet Directory (OID) using an ldif file created by another LDAP utility such as LDAP Browser.
The $ORACLE_HOME/bin/ldapadd command fails with error:
invalid base 64 encoding text
ldapadd: invalid format (line 5 of entry: cn=<USERNAME>, cn=Users, dc=<COMPANY>, dc=com
The error is produced at a line that contains a base 64 encoded attribute, denoted by 2 colons after the attribute name e.g.
userpassword:: xxxxxxxxxxxxxxxxxxxxxxxxxx
NLS_LANG is set in the environment:
export NLS_LANG=AMERICAN_AMERICA.UTF8
The problem does not reproduce with ldapadd on Windows or Solaris platforms.
Changes
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |