Hi folks, I've adapted the patch to incorporate the feedback. Changes are to allow unencrypted connections via configuration, and some debug additions to the test script. I've also cloned the mainline repo on gitorious and pushed the update there.
You can find it at https://gitorious.org/~msandiford/gitorious/gitorious-ldap-auth-search Cheers, Martin On Thu, Oct 20, 2011 at 1:06 AM, IronMania <[email protected]>wrote: > Hi, > > my test runs. If you replace the @connection and auth with the > fallowing > > @connection = @connection_type.new :host => SERVER, > :port => port, > :base => base_dn, > :auth => { > :username => user, > :password => pass, > :method => :simple} > > I just don't know with the user & pass. I used the script from Martin > but I have problems with my authentications.yml > If I write everything in there, it is still nil. > > Joerg > > On 19 Okt., 10:36, Wari <[email protected]> wrote: > > BTW, the authentication test will still fail though: > > > > root@repos:/var/www/gitorious# RAILS_ENV=production bundle exec script/ > > test_ldap_connection wari password > > Not there yet. > > For debugging purposes, this is the DN we tried: FOOBAR\wari > > -- > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > -- To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected]
