Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1554720 - "Truncated search results" pop-up appears in user details in WebUI [rhel-7.5.z]
"Truncated search results" pop-up appears in user details in WebUI [rhel-7.5.z]
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: 389-ds-base (Show other bugs)
7.4
All Linux
urgent Severity urgent
: rc
: ---
Assigned To: mreynolds
Viktor Ashirov
Marc Muehlfeld
: Reopened, ZStream
Depends On: 1515190
Blocks:
  Show dependency treegraph
 
Reported: 2018-03-13 04:53 EDT by Oneata Mircea Teodor
Modified: 2018-05-14 12:10 EDT (History)
16 users (show)

See Also:
Fixed In Version: 389-ds-base-1.3.7.5-20
Doc Type: Bug Fix
Doc Text:
Previously, Directory Server did not remember when the first operation, bind, or a connection was started. As a consequence, the server applied in certain situations anonymous resource limits to an authenticated client. With this update, Directory Server properly marks authenticated client connections. As a result, it applies the correct resource limits, and authenticated clients no longer get randomly restricted by anonymous resource limits.
Story Points: ---
Clone Of: 1515190
Environment:
Last Closed: 2018-05-14 12:09:58 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2018:1380 None None None 2018-05-14 12:10 EDT

  None (edit)
Description Oneata Mircea Teodor 2018-03-13 04:53:28 EDT
This bug has been copied from bug #1515190 and has been proposed to be backported to 7.5 z-stream (EUS).
Comment 5 Amita Sharma 2018-04-09 09:58:04 EDT
# rpm -qa | grep 389
389-ds-base-libs-1.3.7.5-21.el7.x86_64
389-ds-base-snmp-1.3.7.5-21.el7.x86_64
389-ds-base-1.3.7.5-21.el7.x86_64
389-ds-base-debuginfo-1.3.7.5-21.el7.x86_64

Using https://bugzilla.redhat.com/show_bug.cgi?id=1515190#c23 steps to verify ::
[1]  Add 6000 users (make note of an entry and its password for step [4])

ldapadd -x -h localhost -p 389 -D "cn=Directory Manager" -w Secret123  -f output.ldif

[2]  Set up anonymous resource limits

ldapmodify -x -h localhost -p 389 -D "cn=Directory Manager" -w Secret123 << EOF
dn: cn=config
changetype: modify
add: nsslapd-anonlimitsdn
nsslapd-anonlimitsdn: cn=anonymous-limits,dc=example,dc=com

ldapmodify -x -h localhost -p 389 -D "cn=Directory Manager" -w Secret123 << EOF
dn: cn=anonymous-limits,dc=example,dc=com
changetype: add
objectclass: top
objectclass: extensibleObject
nsLookThroughLimit: 5000

[3]  Continuously issue anonymous ldapsearch's that exceed the lookthroughlimit

  # ldapsearch -xLLL -b dc=example,dc=com objectclass=top > /dev/null 

[root@qeos-32 export]# ./do-anony.sh 
Size limit exceeded (4)
Size limit exceeded (4)
Size limit exceeded (4)
Size limit exceeded (4)
Size limit exceeded (4)
Size limit exceeded (4)
Size limit exceeded (4)
Size limit exceeded (4)
Size limit exceeded (4)
Size limit exceeded (4)
Size limit exceeded (4)
Size limit exceeded (4)
Size limit exceeded (4)
Size limit exceeded (4)
Size limit exceeded (4)
Size limit exceeded (4)
Size limit exceeded (4)
Size limit exceeded (4)


[4]  Then continuously run an authenticated ldapsearch, and make sure we do not get any errors:

ldapmodify -x -h localhost -p 389 -D "cn=Directory Manager" -w Secret123 << EOF
> dn: uid=test_user,ou=people,dc=example,dc=com
> changetype: modify
> add: nsSizeLimit
> nsSizeLimit: 6000
> EOF
modifying entry "uid=test_user,ou=people,dc=example,dc=com"

  # ldapsearch -xLLL -b dc=example,dc=com -D "uid=test_user,ou=people,dc=example,dc=com" -w password objectclass=top > /dev/null 

export]# ./do-auth.sh 
Administrative limit exceeded (11)
Failed!


This is not fixed, moving to FailedQA
Comment 6 mreynolds 2018-04-09 10:31:39 EDT
These prerequisite steps were missing:

# ldapmodify -x -h localhost -p 389 -D "cn=Directory Manager" -w Secret123 << EOF
dn: cn=config
changetype: modify
replace: nssslapd-sizelimit
nsslapd-sizelimit: -1
-
dn: cn=config,cn=ldbm database,cn=plugins,cn=config
changetype: modify
replace: nsLookThroughLimit
nsLookThroughLimit: -1
Comment 7 Amita Sharma 2018-04-09 11:19:04 EDT
Configurations were missing in the steps, tried with following configurations again ::
nsslapd-sizelimit: -1
nsLookThroughLimit: -1

At global level and this is working fine now. Marking as verified.
Comment 14 errata-xmlrpc 2018-05-14 12:09:58 EDT
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://access.redhat.com/errata/RHSA-2018:1380

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