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

Re: (ITS#6327) ldapsearch hangs



--On Thursday, October 22, 2009 6:16 PM +0000 quanah@zimbra.com wrote:

> There's obviously some flaw in length generation somewhere.

Reverted liblber to 2.4.16's version.  Now it looks more like OpenLDAP 2.3, 
where the length of the final packet is 74, rather than 82.  Also, searches 
that previously failed work now.

For example, previously returning: "suprivilegegroup suregid" would fail, 
it now works with:

sasl_generic_read: want=4, got=4
  0000:  00 00 00 4a                                        ...J
sasl_generic_read: want=74, got=74
  0000:  05 04 07 ff 00 00 00 1c  00 00 00 00 db f9 f7 8b   ................
  0010:  3d 24 9f f9 4a fd 08 11  3e a6 77 78 7e c4 61 11   =$..J...>.wx~.a.
  0020:  06 d5 77 e0 51 3a 2d 88  9b 3b 16 6b 83 63 5e c0   ..w.Q:-..;.k.c^.
  0030:  48 b8 76 a2 18 28 81 82  30 85 4d 6e 07 5b 47 18   H.v..(..0.Mn.[G.
  0040:  9c e4 2c 5f 76 fa b9 3f  38 8b                     ..,_v..?8.


However, the original return set still fails: "suaffiliation 
suprivilegegroup mail" with
sasl_generic_read: want=4, got=4
  0000:  00 00 00 4a                                        ...J
sasl_generic_read: want=74, got=65
  0000:  05 04 07 ff 00 00 00 1c  00 00 00 00 08 f2 6b cd   ..............k.
  0010:  c0 89 eb 4f 6c 2e af a0  5e 91 62 19 07 44 af cd   ...Ol...^.b..D..
  0020:  7f 9c ea 62 62 d8 96 1a  fa 94 01 b8 27 bf 05 85   ...bb.......'...
  0030:  ed 03 a3 86 02 3a 99 4a  84 26 8d ab 28 31 65 f5   .....:.J.&..(1e.
  0040:  55                                                 U


Now now how it also is 74 wanted though, matching 2.3's behavior as well.

2.3 search has:



sasl_generic_read: want=4, got=4
  0000:  00 00 00 4a                                        ...J
sasl_generic_read: want=74, got=74
  0000:  05 04 07 ff 00 00 00 1c  00 00 00 00 a1 23 0d 48   .............#.H
  0010:  02 ab e8 9f 26 e5 78 95  7d 73 67 0e ed 3b df 47   ....&.x.}sg..;.G
  0020:  d1 5e d5 8a 15 99 8a aa  9d 79 56 6b 7e 74 5b 5a   .^.......yVk~t[Z
  0030:  23 85 a2 e5 7f 20 6e 78  67 cb 58 97 85 90 4e 91   #.... nxg.X...N.
  0040:  62 5a 81 40 af 23 6a a8  e6 ed                     bZ.@.#j...


--Quanah

--

Quanah Gibson-Mount
Principal Software Engineer
Zimbra, Inc
--------------------
Zimbra ::  the leader in open source messaging and collaboration