"Ldapadd Error Code 53" Error Importing Users to New OID Environment

(Doc ID 452514.1)

Last updated on AUGUST 25, 2017

Applies to:

Oracle Internet Directory - Version 10.1.2 and later
Information in this document applies to any platform.

Symptoms

Unable to add entries to target OID using ldapadd command as follows:

ldapadd -h <hostname> -p <port> -D "cn=orcladmin" -w "<password>" -f <path for ldif file>

LDAP: error code 53
ldap_add: DSA is unwilling to perform
ldap_add: additional info: You cannot add entries containing authpasswords.

Changes

The ldif file looks like for example:

cn=test,cn=Users,dc=idc,dc=oracle,dc=com
orclsamaccountname=orcladmin
givenname=orcladmin
sn=test
mail=orcladmin
objectclass=top
objectclass=person
objectclass=organizationalPerson
objectclass=inetOrgPerson
objectclass=orclUser
objectclass=orclUserV2
uid=orcladmin
cn=test
description=Seed administrative user for subscriber.
userpassword={SHA}<ENCRYPTED PASSWORD>
authpassword;oid={SASL/MD5}<ENCRYPTED PASSWORD>
authpassword;oid={SASL/MD5-DN}<ENCRYPTED PASSWORD>
authpassword;oid={SASL/MD5-U}<ENCRYPTED PASSWORD>
authpassword;orclcommonpwd={X- ORCLIFSMD5}<ENCRYPTED PASSWORD>
authpassword;orclcommonpwd={X- ORCLWEBDAV}<ENCRYPTED PASSWORD>
authpassword;orclcommonpwd={MD5}<ENCRYPTED PASSWORD>
authpassword;orclcommonpwd={X- ORCLLMV}<ENCRYPTED PASSWORD>
authpassword;orclcommonpwd={X- ORCLNTV}<ENCRYPTED PASSWORD>
orclpassword={x- orcldbpwd}1.0:<ENCRYPTED PASSWORD>

Cause

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