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?