[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
decoding attrs error
- To: openldap-technical@openldap.org
- Subject: decoding attrs error
- From: "Angel L. Mateo" <amateo@um.es>
- Date: Mon, 12 Dec 2011 14:35:14 +0100
- Organization: ATICA, Universidad de Murcia
- User-agent: Mozilla/5.0 (X11; Linux i686; rv:8.0) Gecko/20111110 Thunderbird/8.0
Hello,
I have a web application that doesn't work with openldap 2.4.21. The
same application is working with an old openldap 2.3.30.
The problem I have is that for some reason this application performs a
search with an undefined filter, the error I get in normal run is:
Dec 12 13:26:47 canis21 slapd[29241]: get_filter: unknown filter type=48
In the older slapd, log is:
Dec 12 03:59:14 canis5 slapd[16830]: conn=3220865 op=3 SRCH
base="dc=unidades,dc=vistas,dc=um,dc=es" scope=1 deref=0
filter="(?=undefined)"
Dec 12 03:59:14 canis5 slapd[16830]: conn=3220865 op=3 SEARCH RESULT
tag=101 err=0 nentries=0 text=
If I run slapd in debug mode, I get:
ber_scanf fmt ({miiiib) ber:
ber_dump: buf=0x7f23d5a0a9d0 ptr=0x7f23d5a0a9d3 end=0x7f23d5a0aa0d len=58
0000: 63 38 04 24 64 63 3d 75 6e 69 64 61 64 65 73 2c
c8.$dc=unidades,
0010: 20 64 63 3d 76 69 73 74 61 73 2c 20 64 63 3d 75 dc=vistas,
dc=u
0020: 6d 2c 20 64 63 3d 65 73 0a 01 01 0a 01 00 02 02 m,
dc=es........
0030: 00 96 02 01 00 01 01 00 30 00 ........0.
>>> dnPrettyNormal: <dc=unidades, dc=vistas, dc=um, dc=es>
=> ldap_bv2dn(dc=unidades, dc=vistas, dc=um, dc=es,0)
<= ldap_bv2dn(dc=unidades, dc=vistas, dc=um, dc=es)=0
=> ldap_dn2bv(272)
<= ldap_dn2bv(dc=unidades,dc=vistas,dc=um,dc=es)=0
=> ldap_dn2bv(272)
<= ldap_dn2bv(dc=unidades,dc=vistas,dc=um,dc=es)=0
<<< dnPrettyNormal: <dc=unidades,dc=vistas,dc=um,dc=es>,
<dc=unidades,dc=vistas,dc=um,dc=es>
SRCH "dc=unidades, dc=vistas, dc=um, dc=es" 1 0 150 0 0
begin get_filter
ber_scanf fmt (x) ber:
ber_dump: buf=0x7f23d5a0a9d0 ptr=0x7f23d5a0aa0b end=0x7f23d5a0aa0d len=2
0000: 30 00 0.
get_filter: unknown filter type=48
end get_filter 0
filter: (?=undefined)
ber_scanf fmt ({M}}) ber:
ber_dump: buf=0x7f23d5a0a9d0 ptr=0x7f23d5a0aa0d end=0x7f23d5a0aa0d len=0
send_ldap_disconnect 2:decoding attrs error
send_ldap_response: msgid=0 tag=120 err=2
ber_flush2: 58 bytes to sd 15
0000: 30 38 02 01 00 78 33 0a 01 02 04 00 04 14 64 65
08...x3.......de
0010: 63 6f 64 69 6e 67 20 61 74 74 72 73 20 65 72 72 coding
attrs err
0020: 6f 72 8a 16 31 2e 33 2e 36 2e 31 2e 34 2e 31 2e
or..1.3.6.1.4.1.
0030: 31 34 36 36 2e 32 30 30 33 36 1466.20036
ldap_write: want=58, written=58
0000: 30 38 02 01 00 78 33 0a 01 02 04 00 04 14 64 65
08...x3.......de
0010: 63 6f 64 69 6e 67 20 61 74 74 72 73 20 65 72 72 coding
attrs err
0020: 6f 72 8a 16 31 2e 33 2e 36 2e 31 2e 34 2e 31 2e
or..1.3.6.1.4.1.
0030: 31 34 36 36 2e 32 30 30 33 36 1466.20036
conn=1000 op=3 DISCONNECT tag=120 err=2 text=decoding attrs error
connection_closing: readying conn=1000 sd=15 for close
Any idea?
--
Angel L. Mateo Martínez
Sección de Telemática
Área de Tecnologías de la Información _o)
y las Comunicaciones Aplicadas (ATICA) / \\
http://www.um.es/atica _(___V
Tfo: 868887590
Fax: 868888337