ldapadd Error: 'Invalid Base 64 Encoding'

(Doc ID 375952.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Internet Directory - Version:
Linux x86


Unable to add users to 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=LORD, cn=Users, dc=oracle, 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:: e1NIQX1lRGJvekhIRE84Z3hHQXF1bDlRMlZUSm03SDQ9

NLS_LANG is set in the environment:

The problem does not reproduce with ldapadd on Windows or Solaris platforms.


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms