Bug 1027284 - Fail to search empty string in OpenLdap domain.
Summary: Fail to search empty string in OpenLdap domain.
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 3.3.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 3.4.0
Assignee: Martin Perina
QA Contact:
URL:
Whiteboard: infra
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-06 13:23 UTC by Ondra Machacek
Modified: 2016-02-10 19:19 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-11-18 11:46:56 UTC
oVirt Team: Infra
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Ondra Machacek 2013-11-06 13:23:42 UTC
Description of problem:
Error appears when trying to search an empty string in OpenLdap domain.

Version-Release number of selected component (if applicable):
is21

How reproducible:
always

Steps to Reproduce:
1. via rhevm-manage-domains add OpenLDAP
2. via REST or via webadmin try to search an emptry string in OpenLDAP
   (api/domains/6272712d-6f70-656e-6c64-61702e726865/users?search=)

Actual results:
Failed to run LDAP query, please check server logs for more info.

Expected results:
list of users

Additional info:
2013-11-06 14:22:19,330 ERROR [org.ovirt.engine.core.bll.adbroker.LDAPTemplateWrapper] (ajp-/127.0.0.1:8702-4) Error in running LDAP query. BaseDN is , filter is (&(&(objectClass=person)) (|(givenname=*)(sn=*)(uid=*)(uid=*))). Exception message is: [LDAP: error code 4 - Sizelimit Exceeded]; nested exception is javax.naming.SizeLimitExceededException: [LDAP: error code 4 - Sizelimit Exceeded]; remaining name ''
2013-11-06 14:22:19,334 ERROR [org.ovirt.engine.core.bll.adbroker.DirectorySearcher] (ajp-/127.0.0.1:8702-4) Failed ldap search server LDAP://brq-openldap.rhev.lab.eng.brq.redhat.com:389 using user test_admin.LAB.ENG.BRQ.REDHAT.COM due to [LDAP: error code 4 - Sizelimit Exceeded]; nested exception is javax.naming.SizeLimitExceededException: [LDAP: error code 4 - Sizelimit Exceeded]; remaining name ''. We should try the next server

Comment 3 Ondra Machacek 2013-11-18 11:46:56 UTC
This error appears when there is set bigger limit on openldap server, then
on rhevm-engine side. So closing as not a bug, because it's configuration issue
and it's correct behaviour.


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