Greetings Rails community! I am working on a Rails 1.0.0 application
that uses LDAP, and within Rails (using script/server or
script/console), I always get the message: “can’t initialise an LDAP
session”. The Ruby LDAP bindings work just fine in irb.
I am running Mac OSX 10.4 Server, with Ruby 1.8.4 (built via the
I have moved both the Ruby LDAP bindings .bundle file to my Rails app’s
lib directory, along with the libldap.dylib and libldap_r.dylib
libraries, because when this issue was mentioned on the list before, it
seemed related to the ldap libraries not binding.
Any ideas on how I can get the LDAP session to initialize? Thanks much,
Application Systems Analyst
University of Arizona