Bug 1371706 - Server Side Sorting crashes the server.
Summary: Server Side Sorting crashes the server.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: 389-ds-base
Version: 6.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: rc
: ---
Assignee: Noriko Hosoi
QA Contact: Viktor Ashirov
Marc Muehlfeld
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-08-30 21:33 UTC by Noriko Hosoi
Modified: 2020-09-13 21:50 UTC (History)
6 users (show)

Fixed In Version: 389-ds-base-1.2.11.15-83.el6
Doc Type: Bug Fix
Doc Text:
Directory Server no longer terminates unexpectedly when using server side sorting Previously, when using a matching rule and server side sorting, Directory Server incorrectly frees memory multiple times and terminates unexpectedly. This update fixes the bug, and as a result Directory Server no longer fails when using server side sorting.
Clone Of: 1371283
Environment:
Last Closed: 2017-03-21 10:22:55 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github 389ds 389-ds-base issues 2029 0 None None None 2020-09-13 21:50:23 UTC
Red Hat Product Errata RHBA-2017:0667 0 normal SHIPPED_LIVE 389-ds-base bug fix update 2017-03-21 12:35:05 UTC

Comment 3 Amita Sharma 2016-11-23 07:11:53 UTC
[root@spider ~]# rpm -qa | grep 389
389-ds-base-libs-1.2.11.15-85.el6.x86_64
389-ds-base-1.2.11.15-85.el6.x86_64

Added index
[root@spider yum.repos.d]# ldapadd -x -h localhost -p 389 -D "cn=Directory Manager" -w Secret123  << EOF
> dn: cn=title,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config
> objectClass: top
> objectClass: nsIndex
> cn: title
> nsSystemIndex: false
> nsIndexType: pres
> nsIndexType: eq
> nsIndexType: sub
> nsMatchingRule: 2.16.840.1.113730.3.3.2.28.1
> EOF
adding new entry "cn=title,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config"

[root@spider yum.repos.d]# ldapadd -x -h localhost -p 389 -D "cn=Directory Manager" -w Secret123  << EOF
> dn: uid=amita2,dc=example,dc=com
> cn: amita2
> sn: amita2
> givenname: amita2
> objectclass: top
> objectclass: person
> objectclass: organizationalPerson
> objectclass: inetOrgPerson
> uid: amita2
> mail: amita2
> userpassword: Secret123
> title: Mrs
> EOF
adding new entry "uid=amita2,dc=example,dc=com"

[root@spider yum.repos.d]# ldapsearch -xLLL -D "cn=Directory Manager" -w Secret123 -b dc=example,dc=com  -E sss=title:2.16.840.1.113730.3.3.2.28.1.6 '(title=*)' title 
dn: uid=amita2,dc=example,dc=com
title: Mrs

[root@spider yum.repos.d]# ps -aef | grep slapd
nobody    8712     1  0 01:31 ?        00:00:01 ./ns-slapd -D /etc/dirsrv/slapd-spider -i /var/run/dirsrv/slapd-spider.pid -w /var/run/dirsrv/slapd-spider.startpid

No Crash found, hence VERIFIED.

Comment 7 errata-xmlrpc 2017-03-21 10:22:55 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2017-0667.html


Note You need to log in before you can comment on or make changes to this bug.