search for: user_object_class

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

2012 Aug 07
0
spatial_adapter and ruby_ldap
...blem is if I run spatial_adapter together with ruby-ldap. The spatial adapter works but when I try to log in with LDAP it fails. 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)...