search for: allow_anonymous

Displaying 6 results from an estimated 6 matches for "allow_anonymous".

2006 Mar 26
17
activeldap
...ActiveLDAP::Base.connect( :host => "srv1.azapple.com", :port => 389, :base => "dc=azapple,dc=com", :bind_format => "uid=#{username},ou=People,dc=azapple,dc=com", :password_block => Proc.new { password }, :allow_anonymous => false ) ActiveLDAP::Base.close return true rescue ActiveLDAP::AuthenticationError return false end end end which makes sense to me since this works... $ ldapsearch -x -h srv1.azapple.com -W \ -D ''uid=craig,ou=People,dc=azapple,dc=com'' \ -b...
2006 Jul 18
0
Rails Error w/ ActiveLdap
...NFIG[:bind_format] = "cn=%s,dc=<CORRECT>,dc=<CORRECT>,dc=net" DEFAULT_CONFIG[:user] = ENV[''USER''] DEFAULT_CONFIG[:password_block] = nil DEFAULT_CONFIG[:password] = "letmein" DEFAULT_CONFIG[:store_password] = true DEFAULT_CONFIG[:allow_anonymous] = false DEFAULT_CONFIG[:sasl_quiet] = false DEFAULT_CONFIG[:try_sasl] = false DEFAULT_CONFIG[:retries] = 3 DEFAULT_CONFIG[:retry_wait] = 3 DEFAULT_CONFIG[:timeout] = 0 DEFAULT_CONFIG[:retry_on_timeout] = true DEFAULT_CONFIG[:return_objects] = false DEFAULT_CONFIG...
2006 Jul 18
1
Rail w/ ActiveLdap
...NFIG[:bind_format] = "cn=%s,dc=<CORRECT>,dc=<CORRECT>,dc=net" DEFAULT_CONFIG[:user] = ENV[''USER''] DEFAULT_CONFIG[:password_block] = nil DEFAULT_CONFIG[:password] = "letmein" DEFAULT_CONFIG[:store_password] = true DEFAULT_CONFIG[:allow_anonymous] = false DEFAULT_CONFIG[:sasl_quiet] = false DEFAULT_CONFIG[:try_sasl] = false DEFAULT_CONFIG[:retries] = 3 DEFAULT_CONFIG[:retry_wait] = 3 DEFAULT_CONFIG[:timeout] = 0 DEFAULT_CONFIG[:retry_on_timeout] = true DEFAULT_CONFIG[:return_objects] = false DEFAULT_CONFIG...
2006 Mar 05
2
ActiveLDAP maintain user connection
...:port => PORT, :base => BASE, :bind_format => "uid=#{username},#{USER_PREFIX},#{BASE}", :password_block => Proc.new { password }, :allow_anonymous => false, :try_sasl => false ) #ldap = ActiveLDAP::Base.connection #ActiveLDAP::Base.close return true rescue ActiveLDAP::AuthenticationError...
2006 Mar 14
3
LDAP Authentication
I have to do user authentication for a project i''m working on. The trick is they want me to use the existing LDAP database for it. Does anyone know how to authenticate using LDAP in RoR? ~Rahul
2006 Jul 21
6
pulling information from LDAP server using Ruby on Rails
Hello, I am currently working on a project using Ruby on Rails. So far, I have a well-populated mySQL database the RoR refers to and the basic scaffolding functions implemented. I also designed views/layouts that furthers the basic scaffolding interface. No problem and no big accomplishment by any means. Now, I want to pull user information from an already existing LDAP server and put that