How to disable ldap pagination in RH-SSO

Solution Verified - Updated -

Issue

  • How to disable pagination in my ldap User provider
  • Does my LDAP server support pagination for RH-SSO?
  • When doing a sync import from Active Directory the following exception is thrown in RH-SSO:

    ERROR [org.keycloak.storage.ldap.idm.store.ldap.LDAPOperationManager] (default task-4) Could not query server using DN [dc=sample,dc=com] and filter [(&(objectclass=group))]: javax.naming.OperationNotSupportedException: [LDAP: error code 12 - 00000057: LdapErr: DSID-0C090753, comment: Error processing control, data 0, v1db1]; remaining name 'dc=sample,dc=com'
    
  • When doing a sync import from LDAP the following exception is thrown in RH-SSO:

    ERROR [org.keycloak.storage.ldap.idm.store.ldap.LDAPOperationManager] (default task-4) Could not query server using DN [dc=sample,dc=com] and filter [(&(objectclass=groupofuniquenames))]: [LDAP: error code 12 - Simple Paged Results Search failed]; remaining name 'dc=sample,dc=com'
    

Environment

  • Red Hat Single Sign-On (RH-SSO)
    • 7
  • LDAP or Active Directory (AD) User Federation configured

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.