aboutsummaryrefslogtreecommitdiffstats
path: root/asn1
diff options
context:
space:
mode:
authorRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2006-05-04 10:19:32 +0000
committerRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2006-05-04 10:19:32 +0000
commit5a8a9702fef8d587d93db6f3d416207aa8372215 (patch)
treecd20a009fe571e097fd00beacae4431ace4a7066 /asn1
parentac1721573d1c86ec49e6a5a20ee1a1d7a1f5257b (diff)
force the AssertionValue type to be displayed as a STRING instead of as hex BYTES.
Most of the time AssertionValue will contain an ascii string so make it always display as a string to make the display "correct" most of the time insterad of being "wrong" most of the time. There are situations when AssertionValue contains binary data though and in those cases the display will be "wrong" (but not more wrong than the old dissector anyway) What someone really should do (someone interested in ldap that is) to make it more correct would be to implement a dissector for AssertionValue in the template file and having the dissector check if any of the bytes of the octet string has a value <32 and if so display it in hex as 0x..... It all bytes have values >=32 then it shoudlk display it as a string "... instead. Someone interested in ldap may spend time on this refinement. svn path=/trunk/; revision=18089
Diffstat (limited to 'asn1')
-rw-r--r--asn1/ldap/ldap.cnf1
1 files changed, 1 insertions, 0 deletions
diff --git a/asn1/ldap/ldap.cnf b/asn1/ldap/ldap.cnf
index 81e41ac225..fab58b3334 100644
--- a/asn1/ldap/ldap.cnf
+++ b/asn1/ldap/ldap.cnf
@@ -26,6 +26,7 @@ LDAPString TYPE = FT_STRING DISPLAY = BASE_NONE STRINGS = NULL
LDAPURL TYPE = FT_STRING DISPLAY = BASE_NONE STRINGS = NULL
LDAPOID TYPE = FT_STRING DISPLAY = BASE_NONE STRINGS = NULL
Mechanism TYPE = FT_STRING DISPLAY = BASE_NONE STRINGS = NULL
+AssertionValue TYPE = FT_STRING DISPLAY = BASE_NONE STRINGS = NULL
#.FN_PARS LDAPOID VAL_PTR = &parameter_tvb
#.FN_HDR LDAPOID