Hi All,

I'm new to Gitorious and I've been using this Google group to solve a couple of 
the problems that I have had with initial setup, but I can't seem to find a 
resolution to the problem that I am currently having with LDAP Authentication.

I have edited my $GITORIOUS/app/config/authetication.yml file to include the 
following, as seen in another forum post:
  production:
    methods:
    - adapter: Gitorious::Authentication::LDAPAuthentication
      host: LDAP SERVER
      port: 389
      base_dn: DC=COMPANY,DC=com
      bind_username: USER_BIND
      bind_password: PASSWORD_BIND
      username_attribute: sAMAccountName
      encryption: none
      login_attribute: uid
      distinguished_name_template: "uid={},OU=allusers,DC=COMPANY,DC=com"
      attribute_mapping:
      mail: email

But, I am unable to run the test_ldap_connection script in 
$GITORIOUS/app/scripts/ due to the error 
"/opt/rubies/ruby-2.0.0-p451/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in
 `require': cannot load such file -- ./config/environment (LoadError)
        from 
/opt/rubies/ruby-2.0.0-p451/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in
 `require'
        from ./test_ldap_connection:8:in `<main>'"

The file ./config/environment does not exist and pointing to the environment.rb 
in $GITORIOUS/app/config gives me an even longer list of similar errors. Can 
anyone help me figure out what is wrong? 

Thank you!
Dean

-- 
-- 
To post to this group, send email to gitorious@googlegroups.com
To unsubscribe from this group, send email to
gitorious+unsubscr...@googlegroups.com

--- 
You received this message because you are subscribed to the Google Groups 
"Gitorious" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to gitorious+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to