Another ldap newb question.
I can’t seem to bind to the ldap server with a password. For example,
ldap_server = “ldap.foo.com”
password = “XXX”
ldap = LDAP::Conn.new(ldap_server)
However, if I try to password as the second argument to simple_bind, I
Invalid credentials (LDAP::ResultError). I’m positive the password is
My main goal is to perform ldap authentication within a Rails
thought I could just check success or failure on simple_bind, but that
seem to be the case.
What am I doing wrong?