[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Failed searches (fwd)



> ber_flush: 160 bytes to sd 5
>          0 81 9d 02 01 02  d 81 97 04  +  c  n  =  M  M
>         20  B  a  r  n  a  r  d  ,  o  =  U  n  i  v  e
>          r  s  i  t  y 20  o  f 20  P  r  e  t  o  r  i
>          a  ,  c  =  Z  A  0  h  0 12 04 02  c  n  1 0c
>         04 0a  M  M 20  B  a  r  n  a  r  d  0 0f 04 02
>          s  n  1 09 04 07  B  a  r  n  a  r  d  0  " 04
>         04  m  a  i  l  1 1a 04 18  m  b  a  r  n  a  r
>          d  @  h  a  k  u  n  a  .  u  p  .  a  c  .  z
>          a  0 1d 04 0f  t  e  l  e  p  h  o  n  e  n  u
>          m  b  e  r  1 0a 04 08  4  2  0  -  2  9  0  2

OpenLDAP bug: It sends [UNIVERSAL 1] instead of [UNIVERSAL 11] for SET
OF.  Netscape correctly aborts when it receives that.

Here is your the output translated to ASN.1-like notation:

SEQUENCE {				-- LDAPMessage
    [INTEGER] 02
    [APPLICATION 4] {			-- SearchResponse
        [OCTET STRING] "cn=MM Barnard,o=University of Pretoria,c=ZA"
        SEQUENCE OF {
	    SEQUENCE {
		[OCTET STRING] "cn"
		-- This should be SET OF AttributeValue (OCTET STRING)
		[UNIVERSAL 1] { [OCTET STRING] "MM Barnard" }
	    }
	    SEQUENCE {
		[OCTET STRING] "sn"
		[UNIVERSAL 1] { [OCTET STRING] "Barnard" }
	    }
	    SEQUENCE {
		[OCTET STRING] "mail"
		[UNIVERSAL 1] { [OCTET STRING] "mbarnard@hakuna.up.ac.za" }
	    }
	    SEQUENCE {
		[OCTET STRING] "telephonenumber"
		[UNIVERSAL 1] { [OCTET STRING] "420-2902" }
	    }
	}
    }
}

-- 
Hallvard