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

oid="1.2.826.0.1.334810.2.3" (noncritical) failed (ITS#2219)



Full_Name: Igor Osin
Version: openldap-2.1.8
OS: linux
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (195.239.144.58)


Using Softerra LDAP Browser 2.4 (http://www.ldapadministrator.com) with option
"Server Controls: oid=1.2.826.0.1.334810.2.3 (noncritical)", it is possible to
cause slapd to exit:

str2filter "(objectclass=*)"
put_filter: "(objectclass=*)"
put_filter: simple
put_simple_filter: "objectclass=*"
begin get_filter
PRESENT
ber_scanf fmt (m) ber:
ber_dump: buf=0x08194418 ptr=0x08194418 end=0x08194425 len=13
  0000:  87 0b 6f 62 6a 65 63 74  63 6c 61 73 73            ..objectclass     
end get_filter 0
daemon: conn=0 fd=16 connection from IP=192.168.1.4:4164 (IP=0.0.0.0:389)
accepted.
daemon: added 16r
daemon: activity on:
daemon: select: listen=9 active_threads=0 tvp=NULL
daemon: select: listen=10 active_threads=0 tvp=NULL
daemon: activity on 1 descriptors
daemon: activity on: 16r
daemon: read activity on 16
connection_get(16)
connection_get(16): got connid=0
connection_read(16): checking for input on id=0
ber_get_next
ldap_read: want=9, got=9
  0000:  30 28 02 01 01 60 07 02  01                        0(...`...         
ldap_read: want=33, got=33
  0000:  03 04 00 80 00 a0 1a 30  18 04 16 31 2e 32 2e 38   .......0...1.2.8  
  0010:  32 36 2e 30 2e 31 2e 33  33 34 38 31 30 2e 32 2e   26.0.1.334810.2.  
  0020:  33                                                 3                 
ber_get_next: tag 0x30 len 40 contents:
ber_dump: buf=0x08194788 ptr=0x08194788 end=0x081947b0 len=40
  0000:  02 01 01 60 07 02 01 03  04 00 80 00 a0 1a 30 18   ...`..........0.  
  0010:  04 16 31 2e 32 2e 38 32  36 2e 30 2e 31 2e 33 33   ..1.2.826.0.1.33  
  0020:  34 38 31 30 2e 32 2e 33                            4810.2.3          
do_bind
ber_get_next
ldap_read: want=9 error=Resource temporarily unavailable
ber_get_next on fd 16 failed errno=11 (Resource temporarily unavailable)
ber_scanf fmt ({imt) ber:
ber_dump: buf=0x08194788 ptr=0x0819478b end=0x081947b0 len=37
  0000:  60 07 02 01 03 04 00 80  00 a0 1a 30 18 04 16 31   `..........0...1  
  0010:  2e 32 2e 38 32 36 2e 30  2e 31 2e 33 33 34 38 31   .2.826.0.1.33481  
  0020:  30 2e 32 2e 33                                     0.2.3             
ber_scanf fmt (m}) ber:
ber_dump: buf=0x08194788 ptr=0x08194792 end=0x081947b0 len=30
  0000:  00 00 a0 1a 30 18 04 16  31 2e 32 2e 38 32 36 2e   ....0...1.2.826.  
  0010:  30 2e 31 2e 33 33 34 38  31 30 2e 32 2e 33         0.1.334810.2.3    
=> get_ctrls
ber_scanf fmt ({a) ber:
ber_dump: buf=0x08194788 ptr=0x08194796 end=0x081947b0 len=26
  0000:  30 18 04 16 31 2e 32 2e  38 32 36 2e 30 2e 31 2e   0...1.2.826.0.1.  
  0010:  33 33 34 38 31 30 2e 32  2e 33                     334810.2.3        
=> get_ctrls: oid="1.2.826.0.1.334810.2.3" (noncritical)
<= get_ctrls: n=1 rc=0 err=
>>> dnPrettyNormal: <>
<<< dnPrettyNormal: <>, <>
do_bind: version=3 dn="" method=128
conn=0 op=0 BIND dn="" method=128
daemon: select: listen=9 active_threads=1 tvp=NULL
daemon: select: listen=10 active_threads=1 tvp=NULL
send_ldap_result: conn=0 op=0 p=3
send_ldap_result: err=0 matched="" text=""
send_ldap_response: msgid=1 tag=97 err=0
ber_flush: 14 bytes to sd 16
  0000:  30 0c 02 01 01 61 07 0a  01 00 04 00 04 00         0....a........    
ldap_write: want=14, written=14
  0000:  30 0c 02 01 01 61 07 0a  01 00 04 00 04 00         0....a........    
conn=0 op=0 RESULT tag=97 err=0 text=
do_bind: v3 anonymous bind
daemon: activity on 1 descriptors
daemon: activity on: 16r
daemon: read activity on 16
connection_get(16)
connection_get(16): got connid=0
connection_read(16): checking for input on id=0
ber_get_next
ldap_read: want=9, got=9
  0000:  30 56 02 01 02 63 35 04  10                        0V...c5..         
ldap_read: want=79, got=79
  0000:  6f 3d 6d 65 6b 68 61 6e  69 6b 61 2c 63 3d 72 75   o=mekhanika,c=ru  
  0010:  0a 01 01 0a 01 00 02 01  64 02 01 0a 01 01 00 87   ........d.......  
  0020:  0b 6f 62 6a 65 63 74 63  6c 61 73 73 30 05 04 03   .objectclass0...  
  0030:  31 2e 31 a0 1a 30 18 04  16 31 2e 32 2e 38 32 36   1.1..0...1.2.826  
  0040:  2e 30 2e 31 2e 33 33 34  38 31 30 2e 32 2e 33      .0.1.334810.2.3   
ber_get_next: tag 0x30 len 86 contents:
ber_dump: buf=0x081967a8 ptr=0x081967a8 end=0x081967fe len=86
  0000:  02 01 02 63 35 04 10 6f  3d 6d 65 6b 68 61 6e 69   ...c5..o=mekhani  
  0010:  6b 61 2c 63 3d 72 75 0a  01 01 0a 01 00 02 01 64   ka,c=ru........d  
  0020:  02 01 0a 01 01 00 87 0b  6f 62 6a 65 63 74 63 6c   ........objectcl  
  0030:  61 73 73 30 05 04 03 31  2e 31 a0 1a 30 18 04 16   ass0...1.1..0...  
  0040:  31 2e 32 2e 38 32 36 2e  30 2e 31 2e 33 33 34 38   1.2.826.0.1.3348  
  0050:  31 30 2e 32 2e 33                                  10.2.3            
ber_get_next
ldap_read: want=9 error=Resource temporarily unavailable
ber_get_next on fd 16 failed errno=11 (Resource temporarily unavailable)
do_search
ber_scanf fmt ({miiiib) ber:
ber_dump: buf=0x081967a8 ptr=0x081967ab end=0x081967fe len=83
  0000:  63 35 04 10 6f 3d 6d 65  6b 68 61 6e 69 6b 61 2c   c5..o=mekhanika,  
  0010:  63 3d 72 75 0a 01 01 0a  01 00 02 01 64 02 01 0a   c=ru........d...  
  0020:  01 01 00 87 0b 6f 62 6a  65 63 74 63 6c 61 73 73   .....objectclass  
  0030:  30 05 04 03 31 2e 31 a0  1a 30 18 04 16 31 2e 32   0...1.1..0...1.2  
  0040:  2e 38 32 36 2e 30 2e 31  2e 33 33 34 38 31 30 2e   .826.0.1.334810.  
  0050:  32 2e 33                                           2.3               
>>> dnPrettyNormal: <o=mekhanika,c=ru>
=> ldap_bv2dn(o=mekhanika,c=ru,0)
<= ldap_bv2dn(o=mekhanika,c=ru,0)=0
=> ldap_dn2bv(272)
<= ldap_dn2bv(o=mekhanika,c=ru,272)=0
=> ldap_dn2bv(272)
<= ldap_dn2bv(o=mekhanika,c=ru,272)=0
<<< dnPrettyNormal: <o=mekhanika,c=ru>, <o=mekhanika,c=ru>
SRCH "o=mekhanika,c=ru" 1 0    100 10 0
begin get_filter
PRESENT
ber_scanf fmt (m) ber:
ber_dump: buf=0x081967a8 ptr=0x081967ce end=0x081967fe len=48
  0000:  87 0b 6f 62 6a 65 63 74  63 6c 61 73 73 30 05 04   ..objectclass0..  
  0010:  03 31 2e 31 a0 1a 30 18  04 16 31 2e 32 2e 38 32   .1.1..0...1.2.82  
  0020:  36 2e 30 2e 31 2e 33 33  34 38 31 30 2e 32 2e 33   6.0.1.334810.2.3  
end get_filter 0
    filter: (objectClass=*)
ber_scanf fmt ({M}}) ber:
ber_dump: buf=0x081967a8 ptr=0x081967db end=0x081967fe len=35
  0000:  00 05 04 03 31 2e 31 a0  1a 30 18 04 16 31 2e 32   ....1.1..0...1.2  
  0010:  2e 38 32 36 2e 30 2e 31  2e 33 33 34 38 31 30 2e   .826.0.1.334810.  
  0020:  32 2e 33                                           2.3               
=> get_ctrls
ber_scanf fmt ({a) ber:
ber_dump: buf=0x081967a8 ptr=0x081967e4 end=0x081967fe len=26
  0000:  30 18 04 16 31 2e 32 2e  38 32 36 2e 30 2e 31 2e   0...1.2.826.0.1.  
  0010:  33 33 34 38 31 30 2e 32  2e 33                     334810.2.3        
=> get_ctrls: oid="1.2.826.0.1.334810.2.3" (noncritical)
slapd: io.c:69: ber_write: Assertion `buf != ((void *)0)' failed.
daemon: select: listen=9 active_threads=1 tvp=NULL
daemon: select: listen=10 active_threads=1 tvp=NULL