Announcement Announcement Module
Collapse
No announcement yet.
"critical extension is unavailable" on bind Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • "critical extension is unavailable" on bind

    Hello!
    I am trying to bind a entry to ldap, and getting "critical extension is unavailable", error 12 in return.
    By stepping through the code I have narrowed it down to the following. When sending the bind request, the LdapCtx has two values in reqCtls, com.sun.jndi.ldap.ManageReferralControl and javax.naming.ldap.PagedResultsControl.
    If I remove the PagedResultsControl, values are binded.

    When listing the content of the directory and doing modifications everything is fine.

    Does anyone have any idea how I may prevent the PagedResultsControl from being used when binding?

  • #2
    Before I try to bind, I loop through the directory in order to find the highest employee number. Since I use pageing in this operation, the LdapCtx get PagedResultsControl set. To get the paging to work, I needed to set it up such that the same connection is used every time.

    So I ended up using two LdapTemplates.

    Comment

    Working...
    X