Hi all,

I'm using RubyLDAP all over the place in my Rails app.  I'm curious,
though, if I'm not specifically unbinding in certain places, are the
connections kept open?

Also, assuming I've subclassed LDAP::Conn to provide a class specific
to our LDAP here, will this leave a bound connection hanging?

def check_password(userdn, password)
  return OurLDAP.new.bind.compare(userdn, "userpassword", password)
end

Basically, I just want to check and make sure the password is valid. 
OurLDAP.new.bind binds as a user that can compare on that attribute. 
Am I leaving a connection open?

Thanks!

Sean