[gitorious] Re: API/Programatically Create Repo?

2012-06-11 Thread Thomas Chemineau
Le mardi 21 février 2012 22:38:36 UTC+1, Dub a écrit : > > Hello, > > I am trying to programatically create a repo inside a project. I found > a thread mentioning CURL and I tried paying around with it to no luck, > I assume the authentication system has changed since then, as I keep > getting

[gitorious] Gitorious + ActiveDirectory authentication

2012-06-11 Thread Federico Don
hello, I have gitorious running on centos and authenticating with local users someone can make the settings for authenticating with active directory? can share information for this? Thanks for your time Regards, -- To post to this group, send email to gitorious@googlegroups.com To unsubscrib

Re: [gitorious] Gitorious + ActiveDirectory authentication

2012-06-11 Thread Thomas Kjeldahl Nilsson
Hello, you will find a sample ldap configuration in config/authentication.sample.yml There is also a quick script for testing your setup, see /scripts/test_ldap_connection. cheers, Thomas On 06/11/2012 03:08 PM, Federico Don wrote: hello, I have gitorious running on centos and authentica

Re: [gitorious] Gitorious + ActiveDirectory authentication

2012-06-11 Thread Federico Don
thanks, the test is well # bundle exec script/test_ldap_connection USER PASSWORD All good, your credentials are correct but when I want to authenticate via web access I can not imagine why reason can this happen.help me please!!? Regards, 2012/6/11 Thomas Kjeldahl Nilsson > Hello, >

Re: [gitorious] Gitorious + ActiveDirectory authentication

2012-06-11 Thread Thomas Kjeldahl Nilsson
Is there already an existing user with similar credentials in the db before you configured ldap/AD? The ldap support in Gitorious will try to provision a new user with credentials matching the ldap entry, if there already is a user there that might be a problem... cheers, Thomas On 06/11/2012

Re: [gitorious] Gitorious + ActiveDirectory authentication

2012-06-11 Thread Diep Pham Van
Make sure that you have email and your email is collected the right way. On Mon, 11 Jun 2012 10:47:38 -0300 Federico Don wrote: > thanks, the test is well > > # bundle exec script/test_ldap_connection USER PASSWORD > All good, your credentials are correct > > but when I want to authenticate vi

Re: [gitorious] SSO authentication

2012-06-11 Thread Thomas Chemineau
2012/6/5 Ken Dreyer > On Tue, Jun 5, 2012 at 6:23 AM, Thomas Chemineau > wrote: > > I ask myself if Gitorious was able to authenticate user by using HTTP > header > > to find username. Could it be possible ? > > Hi Thomas, > > I've submitted a plugin for Kerberos authentication, which is very >

Re: [gitorious] Gitorious + ActiveDirectory authentication

2012-06-11 Thread Federico Don
apparently I can not login with Active Directory users via web . but I have the following error: "Sorry, something went wrong Gitorious Encountered an server error. We are Automatically Notified of errors and will look into it. If the mistake Persists beyond what's reasonable, let us know. "

Re: [gitorious] Gitorious + ActiveDirectory authentication

2012-06-11 Thread Federico Don
Apparently I can not login with Active Directory users via web . but I have the following error: "Sorry, something went wrong Gitorious Encountered an server error. We are Automatically Notified of errors and will look into it. If the mistake Persists beyond what's reasonable, let us know. "

Re: [gitorious] Gitorious + ActiveDirectory authentication

2012-06-11 Thread Kelketek Titikilik Rritaa
Active directory is just Microsoft's implementation of LDAP/Kerberos. Here's a half decent chance that the existing plugin wil work, or if not, it should work with only a few tweaks. On Jun 11, 2012 8:08 AM, "Federico Don" wrote: > hello, > > I have gitorious running on centos and authenticating

Re: [gitorious] Gitorious + ActiveDirectory authentication

2012-06-11 Thread Ken Dreyer
On Mon, Jun 11, 2012 at 8:41 AM, Federico Don wrote: > A NoMethodError occurred in sessions#create: > >  undefined method `username_filter' for > # >  [RAILS_ROOT]/lib/gitorious/authentication/ldap_authentication.rb:85:in > `authenticate' The username_filter function was added a month ago to mast

Re: [gitorious] Gitorious + ActiveDirectory authentication

2012-06-11 Thread Federico Don
this is my authentication.yml : production: methods: - adapter: Gitorious::Authentication::LDAPAuthentication host: SERVER.ACTIVE.DIRECTORY port: 389 base_dn: DC=COMPANY,DC=com bind_username: USER_BIND bind_password: PASSWORD_BIND username_attribute: sA

Re: [gitorious] Gitorious + ActiveDirectory authentication

2012-06-11 Thread Ken Dreyer
On Mon, Jun 11, 2012 at 9:05 AM, Federico Don wrote: >       bind_username: USER_BIND >       bind_password: PASSWORD_BIND As I understand it, the problem is that https://gitorious.org/gitorious/mainline/merge_requests/181 has not been updated with the changes that happened in commit 570f36e. (B

Re: [gitorious] Gitorious + ActiveDirectory authentication

2012-06-11 Thread Federico Don
Hello, I have this configuration, thanks to this update could authenticate with the test_ldap_connection .but I can not authenticate via web I need help!! Regards, 2012/6/11 Ken Dreyer > On Mon, Jun 11, 2012 at 9:05 AM, Federico Don > wrote: > > bind_username: USER_BIND > >