bearded / ruby-ldap

Ruby/LDAP is an extension library for Ruby. It provides the interface to some LDAP libraries (e.g. OpenLDAP, Netscape SDK and Active Directory). The common API for application development is described in RFC1823 and is supported by Ruby/LDAP.
http://rubyforge.org/projects/ruby-ldap/
Other
66 stars 34 forks source link

SASL auth - test/sample broken #42

Open Grondhammar opened 6 years ago

Grondhammar commented 6 years ago

If you have everything set up and try to run the sample code for SASL auth (test/bind-sasl.rb), it will crash with "No implicit conversion of nil into String". This is because LDAP::LDAP_SASL_SIMPLE is nil.

Does someone know what that value should be, or how to work around this?