search for: activeldap

Displaying 20 results from an estimated 39 matches for "activeldap".

2006 Mar 26
17
activeldap
Obviously I am missing something and I don''t know what it is... I am following the instructions at http://rubyforge.org/docman/view.php/381/114/activeldap_rb.html and also here... http://wiki.rubyonrails.org/rails/pages/HowtoAuthenticateViaLdap my model looks exactly like this... class LdapUser < ActiveRecord::Base ldap_mapping :dnattr => ''uid'', :prefix => ''People'', :classes => [''top'&...
2006 Jul 18
0
Rails Error w/ ActiveLdap
...dition information. Thanks! --J [ERROR] $ ruby script/generate scaffold LdapAdmin /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:123:in `const_missing'': uninitialized constant Base (NameError) from /usr/local/lib/ruby/gems/1.8/gems/ruby-activeldap-0.7.4/lib/activeldap/configuration.rb:43 from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'' from /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:147:in `require'' from /usr/local/li...
2006 Jul 18
1
Rail w/ ActiveLdap
...dition information. Thanks! --J [ERROR] $ ruby script/generate scaffold LdapAdmin /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:123:in `const_missing'': uninitialized constant Base (NameError) from /usr/local/lib/ruby/gems/1.8/gems/ruby-activeldap-0.7.4/lib/activeldap/configuration.rb:43 from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'' from /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:147:in `require'' from /usr/local/li...
2006 Aug 15
1
ActiveLDAP
Is there any recent good guide on how to use ActiveLDAP? Thanks, Petr -- Posted via http://www.ruby-forum.com/.
2011 Nov 02
3
activeldap and migrations
Stupid activeldap is messing with my mind ;-) rails (3.1.1 activeldap (3.1.0) rubygems-update (1.4.2) I have activerecord (database.yml/postgresql) and activeldap (ldap.yml) as configured sources for my models. I want to add some more things to my models but activeldap is killing my attempts to create migrations...
2006 Apr 07
3
activeLDAP - ldap_mapping - wildcard
Hi, I''ve a problem and I don''t know if it is solvable with activeLDAP. Here is an example of the tree structure of our LDAP server. The structure isn''t exactly like that, but is similare and I can already access almost any informations of a user when I''m logging as this user. The probleme come when using the belong_to, has_many and ldap_mapping...
2006 Mar 05
2
ActiveLDAP maintain user connection
Hi, I''ve just started to do some work using ActiveLDAP and Rails. I''ve managed to get some basic login code that works to authenticate users, but I would like to be able to maintain that connection for the User Model so that the ACL''s in LDAP for each user will be used correctly as the various controller queries are made. I have...
2006 Jul 21
6
pulling information from LDAP server using Ruby on Rails
...by has access to it. http://www.ruby-forum.com/topic/62584 However, I couldn''t find any reason to believe that this was all I needed for RoR to pull LDAP information. I found examples of using the ruby-ldap module in pure ruby code, but not within the rails framework. This led me to Ruby/ActiveLDAP. http://projects.dataspill.org/pages/projects/ruby-activeldap It requires the previously mentioned ruby-ldap module which I have and log4r as well. I installed the log4r gem. I then installed Ruby/ActiveLDAP from source. It was at this time that I followed these instructions: http://aaronbedra.c...
2010 Dec 29
1
activeldap anyone using?
Someone use activeldap? I''ve installad the gem but it seems to me that tha latest activeldap version require rails 2.3.8. I use rails 3.0.3 and don''t want to install version 2.3.8. Is activeldap a old gem? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails...
2006 Mar 18
6
ActiveLDAP and variable sub scope object writing
Anyone out there using ActiveLDAP have an idea how I can accomplish creating an object one level below a known base where we have a variable item in the middle? That first sentence doesn''t even make sense to me. Here''s what I want to do: I have a user class that I use for managing users. Each user gets a o...
2005 Nov 30
0
uninitialized constant Base (NameError) trying to use ActiveLdap
Hi group I''m trying to hook up my simple app to Active Directory. I''m following instructions posted on the website. Mainly http://wiki.rubyonrails.com/rails/pages/HowtoAuthenticateViaLdap and now also http://wiki.rubyonrails.com/rails/pages/ActiveLDAP. The two instructions seem to differ a little on how to configure (environment.rb). Both instructions break my app with an internal server error. I attached the apache error below. As I am fairly new to Ruby on Rails the error message `const_missing'': uninitialized constant Base (Nam...
2006 Dec 13
0
activeldap setup help?
So I would like to use ActiveLDAP. I have been following along with http://wiki.rubyonrails.org/rails/pages/HowtoAuthenticateViaLdap . I installed ruby-activeldap (0.8.0) from RubyGems, which also installed log4r -- that all appeared to work. I then installed rubyldap from its latest tar.gz. Also appeared to work fine. But I...
2009 Jan 22
0
ActiveLdap belongs_to and has_many associations
Hi, I am trying to use ActiveLdap for authentication in my rails app. But I am running into a problem with the "belongs_to" and "has_many" associations. Here ist how my models look like. class Person < ActiveLdap::Base ldap_mapping :dn_attribute => "uid", :prefix => "ou...
2005 May 01
4
using ActiveLDAP with Rails?
Now I''m a ruby nooby so be gentle... I''ve gotten ActiveLDAP working from the command line, but buggered if I can work out how on earth to integrate an ActiveLDAP object with a bunch of ActiveRecord objects. This is going to be possible right? I''m just going to have to build the whole scaffold myself for these objects? Just thought I'...
2008 Jun 19
3
LDAP Authentication fails with ñ character in password.
Hi Guys, I''ve got a rails application that uses activeldap to authenticate users. Its been working great for about 6 months now, but a user from mexico started using it recently, but can''t seem to login. I''ve narrowed it down to the fact that his password contains a ñ character in it. This problem is also present in a test user account I&...
2007 Jun 06
1
ActiveLdap: no such file to load -- ldap (MissingSourceFile)
I just installed ActiveLdap, copied the plugin into vendor/plugins and setup a config/ldap.yml file. Starting rails gives me an error that it can not find the ldap source file. (I installed from the gem with its prerequisites log4r, etc.) /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_requir...
2006 Mar 06
1
ActiveLDAP handle uppercase attributes?
...(@user) user.sn = params[:user][attr] But what about the case where there is an attribute that looks like OXTimeZone? You clearly can''t do: user = User.new(@user) user.OXTimeZone = params[:user][attr] I''m trying to figure out what I need to look at in the ActiveLDAP code to find out what name it sets the method to for this attribute, but havn''t sorted it out yet and figured it might be worth asking. Thanks, Leah -- Posted via http://www.ruby-forum.com/.
2006 Jan 30
0
ActiveLDAP examples
Hello all, I am interested in developing some web front end stuff for an openldap directory using RoR. But there seems to be a lack of examples. If you guys know of any links to examples in using ActiveLDAP, that would be great :) Also if there is anything i should know about before using activeldap that you know from experience would also be nice. Thx in advance. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20...
2006 Mar 02
4
LDAP and Rails ???
Hi, We want to start a new website, and we want to use our existing authentication system which is LDAP. Can someone tell me where I can find the information about how to use LDAP in rails ??? Thanks you very much Saiho The mind is its own place, and in itself. Can make a Heaven of Hell, a Hell of Heaven. http://www.geocities.com/sayoyo/ __________________________________________________
2006 Mar 10
5
ActiveLdap and windows.
I thought I might try to create a Rails app to use LDAP authentication. Unfortunately, I can''t figure out how to get the Ruby/LDAP stuff working in my environment (I''m using a windows server). If anyone out there has experience with this, could you dumb it down a little bit for me? -- Posted via http://www.ruby-forum.com/.