An application is receiving unsupported critical extensions from LDAP. It is trying to use extension "1.2.840.113556.1.4.319", which is noticed is also used by the Solaris Naming client. When I check to see if the extension is supported, it doesn't appear on the list
ldapsearch -h sun79 -p 3890 -b "" -s base 'objectclass=*'
The documentation tells me to check for it's support, but not how to add it if it's missing. How do I add it?
We are running Sun Java(TM) System Directory Server/5.2_Patch_4 B2005.230.0041 (64-bit) on Solaris 9 (Generic_112233-12 sun4u sparc SUNW,Sun-Fire-480R)
Simple pages results are not supported in Sun Directory Server 5.x or 6.x.
We have a more powerful mechanism : VLV which allow paging up and down, like a scroll list.
Solaris Naming Client knows how to handle either Simple Page or VLV.
Re: How do I add support for paged-results "1.2.840.113556.1.4.319"
Oct 26, 2007 6:47 AM
(reply 2
of 5) (In reply to
#1 )
Then how do I get our LDAP server to respond properly to the application (see their response below)?
{
R&D checked the code and they see that we do use the extension "1.2.840.113556.1.4.319", but it is being used as NOT a critical extension.
That means the LDAP server should ignore this extension and not give an error.
( see http://www3.ietf.org/proceedings/02mar/I-D/draft-ietf-ldapbis-url-01.txt )
For some reason, it seems that the LDAP server at your end thinks that its a critical extension and hence it gives the ?unsupported critical extension" error.
Please ask your LDAP admin why this particular behavior is shown by the LDAP.
}
Re: How do I add support for paged-results "1.2.840.113556.1.4.319"
Oct 26, 2007 7:02 AM
(reply 3
of 5) (In reply to
#2 )
If the control is truely mark as non critical, the server will ignore it and reply to the request.
If the server returns the error "unsupported critical extension" it means the control is stated as critical. There is no code in our server detecting the Simple Page Control and rejecting it (regardless of the criticality).
Re: How do I add support for paged-results "1.2.840.113556.1.4.319"
Jun 3, 2008 4:09 PM
(reply 4
of 5) (In reply to
#3 )
Hi Ludovic,
Can you tell me why Sun is bypassing RFC 2696 which is support for "simple paged results"? When I configure paging, I get an "unsupported critical extension" from SUN. Is VLV/scrolling Sun's replacing for paging and how does that adhere to the rfc?
Re: How do I add support for paged-results "1.2.840.113556.1.4.319"
Jun 4, 2008 9:48 AM
(reply 5
of 5) (In reply to
#4 )
Please disregard my previous post. I've reread the RFC 2696 and interpreted the following:
The RFC references the guidelines for the ldap client that is using the page control. There is some references as to what the server MUST do (return unsupportedCriticalExtension error when the situation suits) but no where does the RFC indicate that support for paging is a requirement for ldapv3.