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

RE: paged results gives invalid cookie (ITS#3089)



 I'm probably going to error on the side of providing too much information, but here goes.

Here are the last 2 entries that were returned (doing the same manual search as the previous post)

# search result
search: 72
result: 0 Success
control: 1.2.840.113556.1.4.319 false MAsCAwqUMwQESwAAAA==
Estimate entries: 693299
Press [size] Enter for the next {1|size} entries.
# extended LDIF
#
# LDAPv3
# base <dc=concepts,codingScheme=RXNorm,dc=codingSchemes,service=RXNorm,dc=LexGrid,dc=org> with scope sub
# filter: (objectclass=*)
# requesting: ALL
# with pagedResults critical control: size=1
#
 
# C0002421, concepts, RXNorm, codingSchemes, RXNorm, LexGrid.org
dn: conceptCode=C0002421,dc=concepts,codingScheme=RXNorm,dc=codingSchemes,serv
 ice=RXNorm,dc=LexGrid,dc=org
objectClass: codedEntry
conceptCode: C0002421
entityDescription: Ambroxol
 
# search result
search: 73
result: 0 Success
control: 1.2.840.113556.1.4.319 false MAsCAwqUMwQETAAAAA==
Estimate entries: 693299
Press [size] Enter for the next {1|size} entries.
# extended LDIF
#
# LDAPv3
# base <dc=concepts,codingScheme=RXNorm,dc=codingSchemes,service=RXNorm,dc=LexGrid,dc=org> with scope sub
# filter: (objectclass=*)
# requesting: ALL
# with pagedResults critical control: size=1
#
 
# search result
search: 74
result: 53 Server is unwilling to perform
text: paged results cookie is invalid or old
Server is unwilling to perform (53)
 
# numResponses: 145



Here is the end of the server log for the last couple of results that worked:


do_search
ber_scanf fmt ({miiiib) ber:
ber_dump: buf=0x086dd6c8 ptr=0x086dd6cb end=0x086dd76a len=159
  0000:  63 71 04 51 64 63 3d 63  6f 6e 63 65 70 74 73 2c   cq.Qdc=concepts,  
  0010:  63 6f 64 69 6e 67 53 63  68 65 6d 65 3d 52 58 4e   codingScheme=RXN  
  0020:  6f 72 6d 2c 64 63 3d 63  6f 64 69 6e 67 53 63 68   orm,dc=codingSch  
  0030:  65 6d 65 73 2c 73 65 72  76 69 63 65 3d 52 58 4e   emes,service=RXN  
  0040:  6f 72 6d 2c 64 63 3d 4c  65 78 47 72 69 64 2c 64   orm,dc=LexGrid,d  
  0050:  63 3d 6f 72 67 0a 01 02  0a 01 00 02 01 00 02 01   c=org...........  
  0060:  00 01 01 00 87 0b 6f 62  6a 65 63 74 63 6c 61 73   ......objectclas  
  0070:  73 30 00 a0 2a 30 28 04  16 31 2e 32 2e 38 34 30   s0..*0(..1.2.840  
  0080:  2e 31 31 33 35 35 36 2e  31 2e 34 2e 33 31 39 01   .113556.1.4.319.  
  0090:  01 ff 04 0b 30 09 02 01  01 04 04 4b 00 00 00      ....0......K...   
>>> dnPrettyNormal: <dc=concepts,codingScheme=RXNorm,dc=codingSchemes,service=RXNorm,dc=LexGrid,dc=org>
=> ldap_bv2dn(dc=concepts,codingScheme=RXNorm,dc=codingSchemes,service=RXNorm,dc=LexGrid,dc=org,0)
<= ldap_bv2dn(dc=concepts,codingScheme=RXNorm,dc=codingSchemes,service=RXNorm,dc=LexGrid,dc=org,0)=0
=> ldap_dn2bv(272)
<= ldap_dn2bv(dc=concepts,codingScheme=RXNorm,dc=codingSchemes,service=RXNorm,dc=LexGrid,dc=org,272)=0
=> ldap_dn2bv(272)
<= ldap_dn2bv(dc=concepts,codingScheme=rxnorm,dc=codingschemes,service=rxnorm,dc=lexgrid,dc=org,272)=0
<<< dnPrettyNormal: <dc=concepts,codingScheme=RXNorm,dc=codingSchemes,service=RXNorm,dc=LexGrid,dc=org>, <dc=concepts,codingScheme=rxnorm,dc=codingschemes,service=rxnorm,dc=lexgrid,dc=org>
SRCH "dc=concepts,codingScheme=RXNorm,dc=codingSchemes,service=RXNorm,dc=LexGrid,dc=org" 2 0    0 0 0
begin get_filter
PRESENT
ber_scanf fmt (m) ber:
ber_dump: buf=0x086dd6c8 ptr=0x086dd72f end=0x086dd76a len=59
  0000:  87 0b 6f 62 6a 65 63 74  63 6c 61 73 73 30 00 a0   ..objectclass0..  
  0010:  2a 30 28 04 16 31 2e 32  2e 38 34 30 2e 31 31 33   *0(..1.2.840.113  
  0020:  35 35 36 2e 31 2e 34 2e  33 31 39 01 01 ff 04 0b   556.1.4.319.....  
  0030:  30 09 02 01 01 04 04 4b  00 00 00                  0......K...       
end get_filter 0
    filter: (objectClass=*)
ber_scanf fmt ({M}}) ber:
ber_dump: buf=0x086dd6c8 ptr=0x086dd73c end=0x086dd76a len=46
  0000:  00 00 a0 2a 30 28 04 16  31 2e 32 2e 38 34 30 2e   ...*0(..1.2.840.  
  0010:  31 31 33 35 35 36 2e 31  2e 34 2e 33 31 39 01 01   113556.1.4.319..  
  0020:  ff 04 0b 30 09 02 01 01  04 04 4b 00 00 00         ...0......K...    
=> get_ctrls
ber_scanf fmt ({m) ber:
ber_dump: buf=0x086dd6c8 ptr=0x086dd740 end=0x086dd76a len=42
  0000:  30 28 04 16 31 2e 32 2e  38 34 30 2e 31 31 33 35   0(..1.2.840.1135  
  0010:  35 36 2e 31 2e 34 2e 33  31 39 01 01 ff 04 0b 30   56.1.4.319.....0  
  0020:  09 02 01 01 04 04 4b 00  00 00                     ......K...        
ber_scanf fmt (b) ber:
ber_dump: buf=0x086dd6c8 ptr=0x086dd75a end=0x086dd76a len=16
  0000:  00 01 ff 04 0b 30 09 02  01 01 04 04 4b 00 00 00   .....0......K...  
ber_scanf fmt (m) ber:
ber_dump: buf=0x086dd6c8 ptr=0x086dd75d end=0x086dd76a len=13
  0000:  04 0b 30 09 02 01 01 04  04 4b 00 00 00            ..0......K...     
=> get_ctrls: oid="1.2.840.113556.1.4.319" (critical)
ber_scanf fmt ({im}) ber:
ber_dump: buf=0x086f2ed0 ptr=0x086f2ed0 end=0x086f2edb len=11
  0000:  30 09 02 01 01 04 04 4b  00 00 00                  0......K...       
<= get_ctrls: n=1 rc=0 err=""
    attrs:
conn=0 op=72 SRCH base="dc=concepts,codingScheme=RXNorm,dc=codingSchemes,service=RXNorm,dc=LexGrid,dc=org" scope=2 deref=0 filter="(objectClass=*)"
==> limits_get: conn=0 op=72 dn="[anonymous]"
=> bdb_search
bdb_dn2entry("dc=concepts,codingScheme=rxnorm,dc=codingschemes,service=rxnorm,dc=lexgrid,dc=org")
search_candidates: base="dc=concepts,codingScheme=rxnorm,dc=codingschemes,service=rxnorm,dc=lexgrid,dc=org" (0x00000005) scope=2
=> bdb_dn2idl( "dc=concepts,codingScheme=rxnorm,dc=codingschemes,service=rxnorm,dc=lexgrid,dc=org" )
bdb_idl_fetch_key: @dc=concepts,codingScheme=rxnorm,dc=codingschemes,service=rxnorm,dc=lexgrid,dc=org
<= bdb_dn2idl: id=-1 first=5 last=693303
=> bdb_filter_candidates
	AND
=> bdb_list_candidates 0xa0
=> bdb_filter_candidates
	PRESENT
=> bdb_presence_candidates (objectClass)
<= bdb_filter_candidates: id=-1 first=1 last=694184
<= bdb_list_candidates: id=-1 first=5 last=693303
<= bdb_filter_candidates: id=-1 first=5 last=693303
bdb_search_candidates: id=-1 first=5 last=693303
=> test_filter
    PRESENT
=> access_allowed: search access to "conceptCode=C0002421,dc=concepts,codingScheme=RXNorm,dc=codingSchemes,service=RXNorm,dc=LexGrid,dc=org" "objectClass" requested
=> dn: [1] dc=users,service=uservalidation,dc=lexgrid,dc=org
=> dn: [2] dc=org
=> dn: [3] service=cts,dc=lexgrid,dc=org
=> dn: [4] service=ietfterminologyservice,dc=lexgrid,dc=org
=> dn: [5] service=isoterminologyservice,dc=lexgrid,dc=org
=> dn: [6] service=nci,dc=lexgrid,dc=org
=> dn: [7] service=rxnorm,dc=lexgrid,dc=org
=> acl_get: [7] matched
=> acl_get: [7] attr objectClass
=> acl_mask: access to entry "conceptCode=C0002421,dc=concepts,codingScheme=RXNorm,dc=codingSchemes,service=RXNorm,dc=LexGrid,dc=org", attr "objectClass" requested
=> acl_mask: to all values by "", (=n) 
<= check a_dn_pat: cn=admin,dc=users,service=uservalidation,dc=lexgrid,dc=org
<= check a_dn_pat: *
<= acl_mask: [2] applying read(=rscx) (stop)
<= acl_mask: [2] mask: read(=rscx)
=> access_allowed: search access granted by read(=rscx)
<= test_filter 6
=> send_search_entry: dn="conceptCode=C0002421,dc=concepts,codingScheme=RXNorm,dc=codingSchemes,service=RXNorm,dc=LexGrid,dc=org"
=> access_allowed: read access to "conceptCode=C0002421,dc=concepts,codingScheme=RXNorm,dc=codingSchemes,service=RXNorm,dc=LexGrid,dc=org" "entry" requested
=> dn: [1] dc=users,service=uservalidation,dc=lexgrid,dc=org
=> dn: [2] dc=org
=> dn: [3] service=cts,dc=lexgrid,dc=org
=> dn: [4] service=ietfterminologyservice,dc=lexgrid,dc=org
=> dn: [5] service=isoterminologyservice,dc=lexgrid,dc=org
=> dn: [6] service=nci,dc=lexgrid,dc=org
=> dn: [7] service=rxnorm,dc=lexgrid,dc=org
=> acl_get: [7] matched
=> acl_get: [7] attr entry
=> acl_mask: access to entry "conceptCode=C0002421,dc=concepts,codingScheme=RXNorm,dc=codingSchemes,service=RXNorm,dc=LexGrid,dc=org", attr "entry" requested
=> acl_mask: to all values by "", (=n) 
<= check a_dn_pat: cn=admin,dc=users,service=uservalidation,dc=lexgrid,dc=org
<= check a_dn_pat: *
<= acl_mask: [2] applying read(=rscx) (stop)
<= acl_mask: [2] mask: read(=rscx)
=> access_allowed: read access granted by read(=rscx)
=> access_allowed: read access to "conceptCode=C0002421,dc=concepts,codingScheme=RXNorm,dc=codingSchemes,service=RXNorm,dc=LexGrid,dc=org" "objectClass" requested
=> dn: [1] dc=users,service=uservalidation,dc=lexgrid,dc=org
=> dn: [2] dc=org
=> dn: [3] service=cts,dc=lexgrid,dc=org
=> dn: [4] service=ietfterminologyservice,dc=lexgrid,dc=org
=> dn: [5] service=isoterminologyservice,dc=lexgrid,dc=org
=> dn: [6] service=nci,dc=lexgrid,dc=org
=> dn: [7] service=rxnorm,dc=lexgrid,dc=org
=> acl_get: [7] matched
=> acl_get: [7] attr objectClass
access_allowed: no res from state (objectClass)
=> acl_mask: access to entry "conceptCode=C0002421,dc=concepts,codingScheme=RXNorm,dc=codingSchemes,service=RXNorm,dc=LexGrid,dc=org", attr "objectClass" requested
=> acl_mask: to value by "", (=n) 
<= check a_dn_pat: cn=admin,dc=users,service=uservalidation,dc=lexgrid,dc=org
<= check a_dn_pat: *
<= acl_mask: [2] applying read(=rscx) (stop)
<= acl_mask: [2] mask: read(=rscx)
=> access_allowed: read access granted by read(=rscx)
=> access_allowed: read access to "conceptCode=C0002421,dc=concepts,codingScheme=RXNorm,dc=codingSchemes,service=RXNorm,dc=LexGrid,dc=org" "conceptCode" requested
=> dn: [1] dc=users,service=uservalidation,dc=lexgrid,dc=org
=> dn: [2] dc=org
=> dn: [3] service=cts,dc=lexgrid,dc=org
=> dn: [4] service=ietfterminologyservice,dc=lexgrid,dc=org
=> dn: [5] service=isoterminologyservice,dc=lexgrid,dc=org
=> dn: [6] service=nci,dc=lexgrid,dc=org
=> dn: [7] service=rxnorm,dc=lexgrid,dc=org
=> acl_get: [7] matched
=> acl_get: [7] attr conceptCode
access_allowed: no res from state (conceptCode)
=> acl_mask: access to entry "conceptCode=C0002421,dc=concepts,codingScheme=RXNorm,dc=codingSchemes,service=RXNorm,dc=LexGrid,dc=org", attr "conceptCode" requested
=> acl_mask: to value by "", (=n) 
<= check a_dn_pat: cn=admin,dc=users,service=uservalidation,dc=lexgrid,dc=org
<= check a_dn_pat: *
<= acl_mask: [2] applying read(=rscx) (stop)
<= acl_mask: [2] mask: read(=rscx)
=> access_allowed: read access granted by read(=rscx)
=> access_allowed: read access to "conceptCode=C0002421,dc=concepts,codingScheme=RXNorm,dc=codingSchemes,service=RXNorm,dc=LexGrid,dc=org" "entityDescription" requested
=> dn: [1] dc=users,service=uservalidation,dc=lexgrid,dc=org
=> dn: [2] dc=org
=> dn: [3] service=cts,dc=lexgrid,dc=org
=> dn: [4] service=ietfterminologyservice,dc=lexgrid,dc=org
=> dn: [5] service=isoterminologyservice,dc=lexgrid,dc=org
=> dn: [6] service=nci,dc=lexgrid,dc=org
=> dn: [7] service=rxnorm,dc=lexgrid,dc=org
=> acl_get: [7] matched
=> acl_get: [7] attr entityDescription
access_allowed: no res from state (entityDescription)
=> acl_mask: access to entry "conceptCode=C0002421,dc=concepts,codingScheme=RXNorm,dc=codingSchemes,service=RXNorm,dc=LexGrid,dc=org", attr "entityDescription" requested
=> acl_mask: to value by "", (=n) 
<= check a_dn_pat: cn=admin,dc=users,service=uservalidation,dc=lexgrid,dc=org
<= check a_dn_pat: *
<= acl_mask: [2] applying read(=rscx) (stop)
<= acl_mask: [2] mask: read(=rscx)
=> access_allowed: read access granted by read(=rscx)
ber_flush: 204 bytes to sd 33
  0000:  30 81 c9 02 01 49 64 81  c3 04 66 63 6f 6e 63 65   0....Id...fconce  
  0010:  70 74 43 6f 64 65 3d 43  30 30 30 32 34 32 31 2c   ptCode=C0002421,  
  0020:  64 63 3d 63 6f 6e 63 65  70 74 73 2c 63 6f 64 69   dc=concepts,codi  
  0030:  6e 67 53 63 68 65 6d 65  3d 52 58 4e 6f 72 6d 2c   ngScheme=RXNorm,  
  0040:  64 63 3d 63 6f 64 69 6e  67 53 63 68 65 6d 65 73   dc=codingSchemes  
  0050:  2c 73 65 72 76 69 63 65  3d 52 58 4e 6f 72 6d 2c   ,service=RXNorm,  
  0060:  64 63 3d 4c 65 78 47 72  69 64 2c 64 63 3d 6f 72   dc=LexGrid,dc=or  
  0070:  67 30 59 30 1b 04 0b 6f  62 6a 65 63 74 43 6c 61   g0Y0...objectCla  
  0080:  73 73 31 0c 04 0a 63 6f  64 65 64 45 6e 74 72 79   ss1...codedEntry  
  0090:  30 19 04 0b 63 6f 6e 63  65 70 74 43 6f 64 65 31   0...conceptCode1  
  00a0:  0a 04 08 43 30 30 30 32  34 32 31 30 1f 04 11 65   ...C00024210...e  
  00b0:  6e 74 69 74 79 44 65 73  63 72 69 70 74 69 6f 6e   ntityDescription  
  00c0:  31 0a 04 08 41 6d 62 72  6f 78 6f 6c               1...Ambroxol      
ldap_write: want=204, written=204
  0000:  30 81 c9 02 01 49 64 81  c3 04 66 63 6f 6e 63 65   0....Id...fconce  
  0010:  70 74 43 6f 64 65 3d 43  30 30 30 32 34 32 31 2c   ptCode=C0002421,  
  0020:  64 63 3d 63 6f 6e 63 65  70 74 73 2c 63 6f 64 69   dc=concepts,codi  
  0030:  6e 67 53 63 68 65 6d 65  3d 52 58 4e 6f 72 6d 2c   ngScheme=RXNorm,  
  0040:  64 63 3d 63 6f 64 69 6e  67 53 63 68 65 6d 65 73   dc=codingSchemes  
  0050:  2c 73 65 72 76 69 63 65  3d 52 58 4e 6f 72 6d 2c   ,service=RXNorm,  
  0060:  64 63 3d 4c 65 78 47 72  69 64 2c 64 63 3d 6f 72   dc=LexGrid,dc=or  
  0070:  67 30 59 30 1b 04 0b 6f  62 6a 65 63 74 43 6c 61   g0Y0...objectCla  
  0080:  73 73 31 0c 04 0a 63 6f  64 65 64 45 6e 74 72 79   ss1...codedEntry  
  0090:  30 19 04 0b 63 6f 6e 63  65 70 74 43 6f 64 65 31   0...conceptCode1  
  00a0:  0a 04 08 43 30 30 30 32  34 32 31 30 1f 04 11 65   ...C00024210...e  
  00b0:  6e 74 69 74 79 44 65 73  63 72 69 70 74 69 6f 6e   ntityDescription  
  00c0:  31 0a 04 08 41 6d 62 72  6f 78 6f 6c               1...Ambroxol      
conn=0 op=72 ENTRY dn="conceptCode=C0002421,dc=concepts,codingScheme=RXNorm,dc=codingSchemes,service=RXNorm,dc=LexGrid,dc=org"
<= send_search_entry
entry_decode: "conceptCode=C0002435,dc=concepts,codingScheme=RXNorm,dc=codingSchemes,service=RXNorm,dc=LexGrid,dc=org"
<= entry_decode(conceptCode=C0002435,dc=concepts,codingScheme=RXNorm,dc=codingSchemes,service=RXNorm,dc=LexGrid,dc=org)
=> bdb_dn2id( "conceptCode=c0002435,dc=concepts,codingScheme=rxnorm,dc=codingschemes,service=rxnorm,dc=lexgrid,dc=org" )
<= bdb_dn2id: got id=0x0000004d
=> test_filter
    PRESENT
=> access_allowed: search access to "conceptCode=C0002435,dc=concepts,codingScheme=RXNorm,dc=codingSchemes,service=RXNorm,dc=LexGrid,dc=org" "objectClass" requested
=> dn: [1] dc=users,service=uservalidation,dc=lexgrid,dc=org
=> dn: [2] dc=org
=> dn: [3] service=cts,dc=lexgrid,dc=org
=> dn: [4] service=ietfterminologyservice,dc=lexgrid,dc=org
=> dn: [5] service=isoterminologyservice,dc=lexgrid,dc=org
=> dn: [6] service=nci,dc=lexgrid,dc=org
=> dn: [7] service=rxnorm,dc=lexgrid,dc=org
=> acl_get: [7] matched
=> acl_get: [7] attr objectClass
=> acl_mask: access to entry "conceptCode=C0002435,dc=concepts,codingScheme=RXNorm,dc=codingSchemes,service=RXNorm,dc=LexGrid,dc=org", attr "objectClass" requested
=> acl_mask: to all values by "", (=n) 
<= check a_dn_pat: cn=admin,dc=users,service=uservalidation,dc=lexgrid,dc=org
<= check a_dn_pat: *
<= acl_mask: [2] applying read(=rscx) (stop)
<= acl_mask: [2] mask: read(=rscx)
=> access_allowed: search access granted by read(=rscx)
<= test_filter 6
send_paged_response: lastid: (0x0000004c) nentries: (0x000000000000000000000000000000000000000000000000000000000000000000000000000000001)
send_ldap_result: conn=0 op=72 p=3
send_ldap_result: err=0 matched="" text=""
send_ldap_response: msgid=73 tag=101 err=0
ber_flush: 57 bytes to sd 33
  0000:  30 37 02 01 49 65 07 0a  01 00 04 00 04 00 a0 29   07..Ie.........)  
  0010:  30 27 04 16 31 2e 32 2e  38 34 30 2e 31 31 33 35   0'..1.2.840.1135  
  0020:  35 36 2e 31 2e 34 2e 33  31 39 04 0d 30 0b 02 03   56.1.4.319..0...  
  0030:  0a 94 33 04 04 4c 00 00  00                        ..3..L...         
daemon: activity on 1 descriptors
daemon: activity on: 33r
daemon: read activity on 33
connection_get(33)
ldap_write: want=57, written=57
  0000:  30 37 02 01 49 65 07 0a  01 00 04 00 04 00 a0 29   07..Ie.........)  
  0010:  30 27 04 16 31 2e 32 2e  38 34 30 2e 31 31 33 35   0'..1.2.840.1135  
  0020:  35 36 2e 31 2e 34 2e 33  31 39 04 0d 30 0b 02 03   56.1.4.319..0...  
  0030:  0a 94 33 04 04 4c 00 00  00                        ..3..L...         
connection_get(33): got connid=0
connection_read(33): checking for input on id=0
ber_get_next
ldap_read: want=8, got=8
  0000:  30 81 a2 02 01 4a 63 71                            0....Jcq          
ldap_read: want=157, got=157
  0000:  04 51 64 63 3d 63 6f 6e  63 65 70 74 73 2c 63 6f   .Qdc=concepts,co  
  0010:  64 69 6e 67 53 63 68 65  6d 65 3d 52 58 4e 6f 72   dingScheme=RXNor  
  0020:  6d 2c 64 63 3d 63 6f 64  69 6e 67 53 63 68 65 6d   m,dc=codingSchem  
  0030:  65 73 2c 73 65 72 76 69  63 65 3d 52 58 4e 6f 72   es,service=RXNor  
  0040:  6d 2c 64 63 3d 4c 65 78  47 72 69 64 2c 64 63 3d   m,dc=LexGrid,dc=  
  0050:  6f 72 67 0a 01 02 0a 01  00 02 01 00 02 01 00 01   org.............  
  0060:  01 00 87 0b 6f 62 6a 65  63 74 63 6c 61 73 73 30   ....objectclass0  
  0070:  00 a0 2a 30 28 04 16 31  2e 32 2e 38 34 30 2e 31   ..*0(..1.2.840.1  
  0080:  31 33 35 35 36 2e 31 2e  34 2e 33 31 39 01 01 ff   13556.1.4.319...  
  0090:  04 0b 30 09 02 01 01 04  04 4c 00 00 00            ..0......L...     
ber_get_next: tag 0x30 len 162 contents:
ber_dump: buf=0x086f4380 ptr=0x086f4380 end=0x086f4422 len=162
  0000:  02 01 4a 63 71 04 51 64  63 3d 63 6f 6e 63 65 70   ..Jcq.Qdc=concep  
  0010:  74 73 2c 63 6f 64 69 6e  67 53 63 68 65 6d 65 3d   ts,codingScheme=  
  0020:  52 58 4e 6f 72 6d 2c 64  63 3d 63 6f 64 69 6e 67   RXNorm,dc=coding  
  0030:  53 63 68 65 6d 65 73 2c  73 65 72 76 69 63 65 3d   Schemes,service=  
  0040:  52 58 4e 6f 72 6d 2c 64  63 3d 4c 65 78 47 72 69   RXNorm,dc=LexGri  
  0050:  64 2c 64 63 3d 6f 72 67  0a 01 02 0a 01 00 02 01   d,dc=org........  
  0060:  00 02 01 00 01 01 00 87  0b 6f 62 6a 65 63 74 63   .........objectc  
  0070:  6c 61 73 73 30 00 a0 2a  30 28 04 16 31 2e 32 2e   lass0..*0(..1.2.  
  0080:  38 34 30 2e 31 31 33 35  35 36 2e 31 2e 34 2e 33   840.113556.1.4.3  
  0090:  31 39 01 01 ff 04 0b 30  09 02 01 01 04 04 4c 00   19.....0......L.  
  00a0:  00 00                                              ..                
ber_get_next
ldap_read: want=8 error=Resource temporarily unavailable
ber_get_next on fd 33 failed errno=11 (Resource temporarily unavailable)
conn=0 op=72 SEARCH RESULT tag=101 err=0 nentries=1 text=
do_search
ber_scanf fmt ({miiiib) ber:
ber_dump: buf=0x086f4380 ptr=0x086f4383 end=0x086f4422 len=159
  0000:  63 71 04 51 64 63 3d 63  6f 6e 63 65 70 74 73 2c   cq.Qdc=concepts,  
  0010:  63 6f 64 69 6e 67 53 63  68 65 6d 65 3d 52 58 4e   codingScheme=RXN  
  0020:  6f 72 6d 2c 64 63 3d 63  6f 64 69 6e 67 53 63 68   orm,dc=codingSch  
  0030:  65 6d 65 73 2c 73 65 72  76 69 63 65 3d 52 58 4e   emes,service=RXN  
  0040:  6f 72 6d 2c 64 63 3d 4c  65 78 47 72 69 64 2c 64   orm,dc=LexGrid,d  
  0050:  63 3d 6f 72 67 0a 01 02  0a 01 00 02 01 00 02 01   c=org...........  
  0060:  00 01 01 00 87 0b 6f 62  6a 65 63 74 63 6c 61 73   ......objectclas  
  0070:  73 30 00 a0 2a 30 28 04  16 31 2e 32 2e 38 34 30   s0..*0(..1.2.840  
  0080:  2e 31 31 33 35 35 36 2e  31 2e 34 2e 33 31 39 01   .113556.1.4.319.  
  0090:  01 ff 04 0b 30 09 02 01  01 04 04 4c 00 00 00      ....0......L...   
>>> dnPrettyNormal: <dc=concepts,codingScheme=RXNorm,dc=codingSchemes,service=RXNorm,dc=LexGrid,dc=org>
=> ldap_bv2dn(dc=concepts,codingScheme=RXNorm,dc=codingSchemes,service=RXNorm,dc=LexGrid,dc=org,0)
<= ldap_bv2dn(dc=concepts,codingScheme=RXNorm,dc=codingSchemes,service=RXNorm,dc=LexGrid,dc=org,0)=0
=> ldap_dn2bv(272)
<= ldap_dn2bv(dc=concepts,codingScheme=RXNorm,dc=codingSchemes,service=RXNorm,dc=LexGrid,dc=org,272)=0
=> ldap_dn2bv(272)
<= ldap_dn2bv(dc=concepts,codingScheme=rxnorm,dc=codingschemes,service=rxnorm,dc=lexgrid,dc=org,272)=0
<<< dnPrettyNormal: <dc=concepts,codingScheme=RXNorm,dc=codingSchemes,service=RXNorm,dc=LexGrid,dc=org>, <dc=concepts,codingScheme=rxnorm,dc=codingschemes,service=rxnorm,dc=lexgrid,dc=org>
SRCH "dc=concepts,codingScheme=RXNorm,dc=codingSchemes,service=RXNorm,dc=LexGrid,dc=org" 2 0    0 0 0
begin get_filter
PRESENT
ber_scanf fmt (m) ber:
ber_dump: buf=0x086f4380 ptr=0x086f43e7 end=0x086f4422 len=59
  0000:  87 0b 6f 62 6a 65 63 74  63 6c 61 73 73 30 00 a0   ..objectclass0..  
  0010:  2a 30 28 04 16 31 2e 32  2e 38 34 30 2e 31 31 33   *0(..1.2.840.113  
  0020:  35 35 36 2e 31 2e 34 2e  33 31 39 01 01 ff 04 0b   556.1.4.319.....  
  0030:  30 09 02 01 01 04 04 4c  00 00 00                  0......L...       
end get_filter 0
    filter: (objectClass=*)
ber_scanf fmt ({M}}) ber:
ber_dump: buf=0x086f4380 ptr=0x086f43f4 end=0x086f4422 len=46
  0000:  00 00 a0 2a 30 28 04 16  31 2e 32 2e 38 34 30 2e   ...*0(..1.2.840.  
  0010:  31 31 33 35 35 36 2e 31  2e 34 2e 33 31 39 01 01   113556.1.4.319..  
  0020:  ff 04 0b 30 09 02 01 01  04 04 4c 00 00 00         ...0......L...    
=> get_ctrls
ber_scanf fmt ({m) ber:
ber_dump: buf=0x086f4380 ptr=0x086f43f8 end=0x086f4422 len=42
  0000:  30 28 04 16 31 2e 32 2e  38 34 30 2e 31 31 33 35   0(..1.2.840.1135  
  0010:  35 36 2e 31 2e 34 2e 33  31 39 01 01 ff 04 0b 30   56.1.4.319.....0  
  0020:  09 02 01 01 04 04 4c 00  00 00                     ......L...        
ber_scanf fmt (b) ber:
ber_dump: buf=0x086f4380 ptr=0x086f4412 end=0x086f4422 len=16
  0000:  00 01 ff 04 0b 30 09 02  01 01 04 04 4c 00 00 00   .....0......L...  
ber_scanf fmt (m) ber:
ber_dump: buf=0x086f4380 ptr=0x086f4415 end=0x086f4422 len=13
  0000:  04 0b 30 09 02 01 01 04  04 4c 00 00 00            ..0......L...     
=> get_ctrls: oid="1.2.840.113556.1.4.319" (critical)
ber_scanf fmt ({im}) ber:
ber_dump: buf=0x086f3380 ptr=0x086f3380 end=0x086f338b len=11
  0000:  30 09 02 01 01 04 04 4c  00 00 00                  0......L...       
<= get_ctrls: n=1 rc=53 err="paged results cookie is invalid or old"
send_ldap_result: conn=0 op=73 p=3
send_ldap_result: err=53 matched="" text="paged results cookie is invalid or old"
send_ldap_response: msgid=74 tag=101 err=53
ber_flush: 52 bytes to sd 33
  0000:  30 32 02 01 4a 65 2d 0a  01 35 04 00 04 26 70 61   02..Je-..5...&pa  
  0010:  67 65 64 20 72 65 73 75  6c 74 73 20 63 6f 6f 6b   ged results cook  
  0020:  69 65 20 69 73 20 69 6e  76 61 6c 69 64 20 6f 72   ie is invalid or  
  0030:  20 6f 6c 64                                         old              
ldap_write: want=52, written=52
  0000:  30 32 02 01 4a 65 2d 0a  01 35 04 00 04 26 70 61   02..Je-..5...&pa  
  0010:  67 65 64 20 72 65 73 75  6c 74 73 20 63 6f 6f 6b   ged results cook  
  0020:  69 65 20 69 73 20 69 6e  76 61 6c 69 64 20 6f 72   ie is invalid or  
  0030:  20 6f 6c 64                                         old              
conn=0 op=73 SEARCH RESULT tag=101 err=53 nentries=0 text=paged results cookie is invalid or old
do_search: get_ctrls failed
daemon: select: listen=6 active_threads=1 tvp=zero
daemon: activity on 1 descriptors
daemon: activity on: 33r
daemon: read activity on 33
connection_get(33)
connection_get(33): got connid=0
connection_read(33): checking for input on id=0
ber_get_next
ldap_read: want=8, got=8
  0000:  30 31 02 01 4b 42 00 a0                            01..KB..          
ldap_read: want=43, got=43
  0000:  2a 30 28 04 16 31 2e 32  2e 38 34 30 2e 31 31 33   *0(..1.2.840.113  
  0010:  35 35 36 2e 31 2e 34 2e  33 31 39 01 01 ff 04 0b   556.1.4.319.....  
  0020:  30 09 02 01 01 04 04 4c  00 00 00                  0......L...       
ber_get_next: tag 0x30 len 49 contents:
ber_dump: buf=0x086dd670 ptr=0x086dd670 end=0x086dd6a1 len=49
  0000:  02 01 4b 42 00 a0 2a 30  28 04 16 31 2e 32 2e 38   ..KB..*0(..1.2.8  
  0010:  34 30 2e 31 31 33 35 35  36 2e 31 2e 34 2e 33 31   40.113556.1.4.31  
  0020:  39 01 01 ff 04 0b 30 09  02 01 01 04 04 4c 00 00   9.....0......L..  
  0030:  00                                                 .                 
ber_get_next
ldap_read: want=8, got=0

ber_get_next on fd 33 failed errno=0 (Success)
connection_read(33): input error=-2 id=0, closing.
connection_closing: readying conn=0 sd=33 for close
connection_close: deferring conn=0 sd=33
do_unbind
conn=0 op=74 UNBIND
connection_resched: attempting closing conn=0 sd=33
connection_close: conn=0 sd=33
daemon: removing 33
conn=0 fd=33 closed
daemon: select: listen=6 active_threads=0 tvp=NULL
daemon: activity on 1 descriptors
daemon: select: listen=6 active_threads=0 tvp=NULL
daemon: shutdown requested and initiated.