Feb 11th, 2012, 10:35 AM
"critical extension is unavailable" on bind
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?
Tags for this Thread