search for: as_anonymous

Displaying 1 result from an estimated 1 matches for "as_anonymous".

Did you mean: a7anonymous
2012 Aug 07
0
spatial_adapter and ruby_ldap
...ails. The perror-command reports the success of bind towards LDAP, but hangs during search. users = [] unless login.blank? filter = "(&(objectClass=#{user_object_class})" + "(#{user_login_attribute}=#{login}))" Comp::Directory::LdapServer.as_anonymous do | conn | puts conn.perror("bind") conn.search(userbase, LDAP::LDAP_SCOPE_SUBTREE, filter) do |e| users << LdapUser.new(e.to_hash) end puts conn.perror("search") end end Rails reports error "failed to allocate me...