Skip to Main Content

Security Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

ldapdelete Result Code: 34 (Invalid DN Syntax)

happy10319Apr 12 2018 — edited Apr 15 2018

Hi,

I want to delete all entries in OUD Ldap. Then I ran:

[oracle@oamim2 bin]$ ./ldapdelete -h oamim2.localdomain -p 1389 -D "cn=Directory Manager" -w *** -f oiam.ldif

Processing DELETE request for dn: ou=People,dc=oiam,dc=com

DELETE operation failed

Result Code:  34 (Invalid DN Syntax)

Additional Information:  The provided value "dn: ou=People,dc=oiam,dc=com" could not be parsed as a valid distinguished name because character ':' at position 2 is not allowed in an attribute name

Here is oiam.ldif:

dn: ou=People,dc=oiam,dc=com

changetype: add

ou: People

objectClass: organizationalunit

objectClass: top

dn: ou=Groups,dc=oiam,dc=com

changetype: add

ou: Groups

objectClass: organizationalunit

objectClass: top

dn: ou=Reserve,dc=oiam,dc=com

changetype: add

ou: Reserve

objectClass: organizationalunit

objectClass: top

dn: ou=SystemIds,dc=oiam,dc=com

changetype: add

ou: SystemIds

objectClass: organizationalunit

objectClass: top

The same ldif file was used by ldapmodify but it did not show any syntax error.

Thanks for help.

This post has been answered by handat on Apr 14 2018
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 12 2018
Added on Apr 12 2018
1 comment
1,643 views