[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Setting illegal LDAP_OPT_PROTOCOL_VERSION
- To: openldap-devel@OpenLDAP.org
- Subject: Setting illegal LDAP_OPT_PROTOCOL_VERSION
- From: Michael Ströder <michael@stroeder.com>
- Date: Thu, 27 Oct 2005 16:17:19 +0200
- User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050920
HI!
Some interoperability test cases require to set an illegal value for
LDAP protocol version used. E.g. BLITS 3.0 sets it to 4 to make the
server fail.
Now setting LDAP_OPT_PROTOCOL_VERSION to e.g. 4 is denied in options.c:
if (vers < LDAP_VERSION_MIN || vers > LDAP_VERSION_MAX) {
/* not supported */
break;
}
Ok, I have to admit that this does make sense. ;-)
But how to set an illegal protocol version value with libldap for a test
case like above?
Ciao, Michael.