Problems logging into RHEVM or searching for users within the Admin Portal and seeing the error 'No matching response control found for paged results - looking for 'class javax.naming.ldap.PagedResultsResponseControl' in the rhevm.log
Issue
- Unable to login to the RHEVM UI with specific users
- Or having problems searching for specific users within the RHEVM Admin Portal
- Seeing this error in the /var/log/rhevm/rhevm.log:
2012-07-11 10:45:32,094 FATAL [org.springframework.ldap.control.AbstractRequestControlDirContextProcessor] (http-0.0.0.0-8443-2) No matching response control found for paged results - looking for 'class javax.naming.ldap.PagedResultsResponseControl
2012-07-11 10:45:32,094 ERROR [org.ovirt.engine.core.bll.adbroker.LDAPTemplateWrapper] (http-0.0.0.0-8443-2) Error in running LDAP query. BaseDN is , filter is (cn=*). Exception message is: [LDAP: error code 32 - 0000208D: NameErr: DSID-0310020A, problem 2001 (NO_OBJECT), data 0, best match of:
'CN=Exchange Recipients,CN=Users,DC=ad,DC=example,DC=com'
^@]; nested exception is javax.naming.NameNotFoundException: [LDAP: error code 32 - 0000208D: NameErr: DSID-0310020A, problem 2001 (NO_OBJECT), data 0, best match of:
'CN=Exchange Recipients,CN=Users,DC=ad,DC=example,DC=com'
^@]; remaining name ''
2012-07-11 10:45:32,110 ERROR [org.ovirt.engine.core.bll.adbroker.DirectorySearcher] (http-0.0.0.0-8443-2) Failed ldap search server LDAP://server1.ad.example.com:389 due to org.springframework.ldap.NameNotFoundException: [LDAP: error code 32 - 0000208D: NameErr: DSID-0310020A, problem 2001 (NO_OBJECT), data 0, best match of:
'CN=Exchange Recipients,CN=Users,DC=ad,DC=example,DC=com'
^@]; nested exception is javax.naming.NameNotFoundException: [LDAP: error code 32 - 0000208D: NameErr: DSID-0310020A, problem 2001 (NO_OBJECT), data 0, best match of:
'CN=Exchange Recipients,CN=Users,DC=ad,DC=example,DC=com'
^@]; remaining name ''. We should try the next server
org.springframework.ldap.NameNotFoundException: [LDAP: error code 32 - 0000208D: NameErr: DSID-0310020A, problem 2001 (NO_OBJECT), data 0, best match of:
'CN=Exchange Recipients,CN=Users,DC=ad,DC=example,DC=com'
^@]; nested exception is javax.naming.NameNotFoundException: [LDAP: error code 32 - 0000208D: NameErr: DSID-0310020A, problem 2001 (NO_OBJECT), data 0, best match of:
'CN=Exchange Recipients,CN=Users,DC=ad,DC=example,DC=com'
^@]; remaining name ''
at org.springframework.ldap.support.LdapUtils.convertLdapException(LdapUtils.java:172)
at org.springframework.ldap.core.LdapTemplate.search(LdapTemplate.java:306)
at org.springframework.ldap.core.LdapTemplate.search(LdapTemplate.java:259)
at org.ovirt.engine.core.bll.adbroker.LDAPTemplateWrapper.pagedSearch(LDAPTemplateWrapper.java:135)
at org.ovirt.engine.core.bll.adbroker.GSSAPILdapTemplateWrapper$SearchAction.run(GSSAPILdapTemplateWrapper.java:64)
at org.ovirt.engine.core.bll.adbroker.GSSAPILdapTemplateWrapper$SearchAction.run(GSSAPILdapTemplateWrapper.java:45)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:337)
at org.ovirt.engine.core.bll.adbroker.GSSAPILdapTemplateWrapper.search(GSSAPILdapTemplateWrapper.java:41)
at org.ovirt.engine.core.bll.adbroker.DirectorySearchTask.call(DirectorySearchTask.java:40)
at org.ovirt.engine.core.bll.adbroker.DirectorySearcher.find(DirectorySearcher.java:103)
at org.ovirt.engine.core.bll.adbroker.DirectorySearcher.FindAll(DirectorySearcher.java:48)
at org.ovirt.engine.core.bll.adbroker.LdapBrokerUtils.performGroupQuery(LdapBrokerUtils.java:215)
at org.ovirt.engine.core.bll.adbroker.LdapBrokerCommandBase.PopulateGroup(LdapBrokerCommandBase.java:108)
at org.ovirt.engine.core.bll.adbroker.LdapGetAdUserByUserIdCommand.executeQuery(LdapGetAdUserByUserIdCommand.java:37)
at org.ovirt.engine.core.bll.adbroker.LdapBrokerCommandBase.Execute(LdapBrokerCommandBase.java:68)
at org.ovirt.engine.core.bll.adbroker.LdapBrokerBase.RunAdAction(LdapBrokerBase.java:18)
at org.ovirt.engine.core.bll.AddUserCommand.canDoAction(AddUserCommand.java:36)
at org.ovirt.engine.core.bll.CommandBase.InternalCanDoAction(CommandBase.java:396)
at org.ovirt.engine.core.bll.CommandBase.CanDoActionOnly(CommandBase.java:192)
Environment
- Red Hat Enterprise Virtualization Manager (RHEVM) 3.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.