Uploaded image for project: 'RH-SSO'
  1. RH-SSO
  2. RHSSO-1698

(7.3.z) Pagination issue when syncing users from LDAP

    XMLWordPrintable

Details

    Description

      Import from LDAP can fail in some environments with:

      &amp#27;[0m&amp#27;[31m16:31:11,788 ERROR [org.keycloak.storage.ldap.idm.store.ldap.LDAPOperationManager] (default task-14) Could not query server using DN [ou=People,dc=keycloak,dc=org] and filter [(&(objectclass=inetOrgPerson)(objectclass=organizationalPerson))]: javax.naming.OperationNotSupportedException: [LDAP: error code 53 - Invalid cookie for this PagedSearch request.]; remaining name 'ou=People,dc=keycloak,dc=org'
      
      	at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3227)
      
      	at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:3100)
      
      	at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2891)
      
      	at com.sun.jndi.ldap.LdapCtx.searchAux(LdapCtx.java:1846)
      
      	at com.sun.jndi.ldap.LdapCtx.c_search(LdapCtx.java:1769)
      

      Attachments

        Activity

          People

            pdrozd1@redhat.com Pavel Drozd
            hmlnarik@redhat.com Hynek Mlnařík
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: