Do you have a last version for gitorious?

Regards,

2012/8/1 Kevin Pelletier <kevvv.pellet...@gmail.com>

> This is my authentication.yml
>
> production:
>    disable_default: true
>    methods:
>       - adapter: Gitorious::Authentication::LDAPAuthentication
>         host: 192.168.4.22
>         port: 389
>         base_dn: DC=lan,DC=lexum,DC=pri
>         login_attribute: uid
>         encryption: none
>         attribute_mapping:
>            mail: email
>         username_attribute: sAMAccountName
>
> On Wednesday, August 1, 2012 10:46:56 AM UTC-4, Kevin Pelletier wrote:
>>
>> Hi Marius,
>>
>> Thanks for the quick reply. Indeed, it didn't work. I checked it out, but
>> still I'm having the  same error message. This is what I did :
>>
>> git checkout features/ldap_authorization
>>
>> RAILS_ENV=production bundle exec script/test_ldap_connection pelletierk
>> ******
>>
>> Not there yet.
>> script/test_ldap_connection:**22: private method `build_username' called
>> for #<Gitorious::Authentication::**LDAPAuthentication:0x428bc30>
>> (NoMethodError)
>>
>> Kevin
>>
>> On Wednesday, August 1, 2012 1:52:03 AM UTC-4, Marius Mårnes Mathiesen
>> wrote:
>>>
>>> Kevin,
>>> Would you mind trying to check out the features/ldap_authorization
>>> branch from mainline and see how it works there? There's quite a lot of new
>>> stuff in there, and I think there's a fix to the error message you're
>>> seeing as well.
>>>
>>>
>>> Cheers,
>>> - Marius
>>>
>>> On Tue, Jul 31, 2012 at 9:19 PM, Kevin Pelletier <
>>> kevvv.pellet...@gmail.com> wrote:
>>>
>>>> No I haven't. Still same error message
>>>>
>>>>
>>>> On Friday, April 20, 2012 7:12:12 PM UTC-4, beepy wrote:
>>>>>
>>>>> Did you ever get this solved?
>>>>>
>>>>> Ben,
>>>>>
>>>>> On Wednesday, 16 November 2011 11:00:48 UTC-8, Kevin Pelletier wrote:
>>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> I've been trying out lately the latest feature with LDAP
>>>>>> Authentication. I'm not that much used to the ruby environment so
>>>>>> excuse my missing knowledge if this looks like an easy question. When
>>>>>> I try to test the LDAP connection, this is the error I get :
>>>>>>
>>>>>> /home/git/gitorious/vendor/**rai**ls/activesupport/lib/**active_**support/
>>>>>>
>>>>>> dependencies.rb:443:in `load_missing_constant': uninitialized
>>>>>> constant
>>>>>> SampleCallback (NameError)
>>>>>>         from /home/git/gitorious/vendor/**rai**ls/activesupport/lib/
>>>>>> active_support/dependencies.**rb**:80:in `const_missing'
>>>>>>         from /home/git/gitorious/vendor/**rai**ls/activesupport/lib/
>>>>>> active_support/dependencies.**rb**:92:in `const_missing'
>>>>>>         from /home/git/gitorious/vendor/**rai**ls/activesupport/lib/
>>>>>> active_support/inflector.rb:**36**1:in `constantize'
>>>>>>         from /home/git/gitorious/vendor/**rai**ls/activesupport/lib/
>>>>>> active_support/inflector.rb:**36**0:in `each'
>>>>>>         from /home/git/gitorious/vendor/**rai**ls/activesupport/lib/
>>>>>> active_support/inflector.rb:**36**0:in `constantize'
>>>>>>         from /home/git/gitorious/vendor/**rai**ls/activesupport/lib/
>>>>>> active_support/core_ext/**string**/inflections.rb:162:in
>>>>>> `constantize'
>>>>>>         from /home/git/gitorious/lib/**gitori**ous/authentication/
>>>>>> ldap_authentication.rb:44:in `setup_attributes'
>>>>>>         from /home/git/gitorious/lib/**gitori**ous/authentication/
>>>>>> ldap_authentication.rb:28:in `initialize'
>>>>>>         from /home/git/gitorious/lib/**gitori**ous/authentication/
>>>>>> configuration.rb:41:in `new'
>>>>>>         from /home/git/gitorious/lib/**gitori**ous/authentication/
>>>>>> configuration.rb:41:in `add_custom_method'
>>>>>>         from /home/git/gitorious/lib/**gitori**ous/authentication/
>>>>>> configuration.rb:24:in `configure'
>>>>>>         from /home/git/gitorious/lib/**gitori**ous/authentication/
>>>>>> configuration.rb:24:in `each'
>>>>>>         from /home/git/gitorious/lib/**gitori**ous/authentication/
>>>>>> configuration.rb:24:in `configure'
>>>>>>         from /home/git/gitorious/config/**ini**
>>>>>> tializers/authentication.**rb:
>>>>>> 23
>>>>>>         from /home/git/gitorious/vendor/**rai**ls/activesupport/lib/
>>>>>> active_support/dependencies.**rb**:147:in
>>>>>> `load_without_new_constant_**mar**king'
>>>>>>         from /home/git/gitorious/vendor/**rai**ls/activesupport/lib/
>>>>>> active_support/dependencies.**rb**:147:in `load'
>>>>>>         from /home/git/gitorious/vendor/**rai**ls/railties/lib/
>>>>>> initializer.rb:622:in `load_application_**initializers**'
>>>>>>         from /home/git/gitorious/vendor/**rai**ls/railties/lib/
>>>>>> initializer.rb:621:in `each'
>>>>>>         from /home/git/gitorious/vendor/**rai**ls/railties/lib/
>>>>>> initializer.rb:621:in `load_application_**initializers**'
>>>>>>         from ./config/../vendor/rails/**railt**ies/lib/initializer.rb:
>>>>>>
>>>>>> 176:in `process'
>>>>>>         from ./config/../vendor/rails/**railt**ies/lib/initializer.rb:
>>>>>>
>>>>>> 113:in `send'
>>>>>>         from ./config/../vendor/rails/**railt**ies/lib/initializer.rb:
>>>>>>
>>>>>> 113:in `run'
>>>>>>         from ./config/environment.rb:24
>>>>>>         from script/test_ldap_connection:8:****in `require'
>>>>>>         from script/test_ldap_connection:8
>>>>>>
>>>>>> Any ideas why I get this error message?
>>>>>>
>>>>>> Thank you
>>>>>>
>>>>>> Kevin
>>>>>
>>>>>  --
>>>> To post to this group, send email to gitorious@googlegroups.com
>>>> To unsubscribe from this group, send email to
>>>> gitorious+unsubscribe@**googlegroups.com<gitorious%2bunsubscr...@googlegroups.com>
>>>>
>>>
>>>
>>>
>>> --
>>> Marius Mårnes Mathiesen
>>> Gitorious
>>> Tel.: (+47) 92 60 95 38.
>>>
>>> http://gitorious.com/
>>>
>>  --
> To post to this group, send email to gitorious@googlegroups.com
> To unsubscribe from this group, send email to
> gitorious+unsubscr...@googlegroups.com
>

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

Reply via email to