My Oracle Support Banner

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.


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

This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process, and therefore has not been subject to an independent technical review.

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.