This is standard C debugging, so I don't think it really belongs on a
Ruby list any more.
$ find /usr/include -type f | xargs grep LDAP_OPT_X_TLS_PROTOCOL
/usr/include/ldap.h:/* #define LDAP_OPT_X_TLS_PROTOCOL 0x6007 */
So the constant exists in the openldap headers, but is commented out for
some reason. A note earlier in the file says this is an openldap private
option.
As to why ruby-ldap uses this option, but openldap doesn't provide it:
well, that's something to do with the ruby-ldap library. If you look at
the patches which the Ubuntu package applies to make it build, you'll
probably find what they do to fix it.
--
Posted via
http://www.ruby-forum.com/.