WARN : LDAP : undefined syntax not ASN.1: Inconsistent lengths (54, 220) [H4sIAAAA..] or Bad length [mXT75jOg..] in Symantec Directory
search cancel

WARN : LDAP : undefined syntax not ASN.1: Inconsistent lengths (54, 220) [H4sIAAAA..] or Bad length [mXT75jOg..] in Symantec Directory

book

Article ID: 266018

calendar_today

Updated On:

Products

CA Directory

Issue/Introduction

While storing a value in an attribute, you may get a warning message "LDAP: undefined syntax not ASN.1" resulting in operation failure.

e.g.
WARN : LDAP: undefined syntax not ASN.1: Inconsistent lengths (54, 220) [H4sIXXXXAAAA..]
or
WARN : LDAP: undefined syntax not ASN.1: Bad length [mXTXXXX75jOg..]

 

 

 

Environment

Release : 14.1

Resolution

Chances are that the application is sending wrong data to intended attribute. In other words, the information being sent to be stored does not match the attribute's syntax hence the problem.

For example, an attempt is made to store a binary value in BER format or OCTET string (base64 value of binary) in an attribute with syntax of directoryString.

To find more details on this, one can 'set trace=all;' on the DSA in question and reproduce the behavior/failure. Once done, review the resulting TRACE log information that can shed some more light on where the failure is.