Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal packet-ldap.c

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Ronnie Sahlberg <sahlberg@xxxxxxxxxxxxxxxxx>
Date: Thu, 6 Nov 2003 22:03:44 -0600 (CST)
sahlberg    2003/11/06 22:03:44 CST

  Modified files:
    .                    packet-ldap.c 
  Log:
  In some captures we might have already established and BOUND LDAP
  session where GSS-SPNEGO is used.
  If we havent seen the BIND call ethereal would assume it is
  vanilla non-GSS-SPNEGO LDAP and would fail to decode the packet.
  
  Add heuristics to the LDAP dissector so that
  IF the first 4 bytes of the LDAP PDU looks like ity could be a length field
  and IF the fifth byte has the value 0x60
  then assume what we have is GSS-SPNEGO and assume this and all further commands on this session is GSS-SPNEGO as well.
  
  Revision  Changes    Path
  1.68      +16 -1     ethereal/packet-ldap.c