I just installed gitorious and I'm quite pleased with it, but I literally experienced the exact issues outlined in the initial post. I am still however having the error below in my logs, which results in crashes on the "team" tab and "user profile" page. I attempted to clone the latest version of the repository, but it seems I'm already at the latest revision, so I'm confused as to how the OP got around the initial errors. Also, I would like to limit initial login access based on the memberOf attribute in ldap, but it looks like that functionality is not in the ldap_authentication.rb in version 3? I see that the commit listed on this user's branch incorporates the memberOf filtering, and I was curious if it's due to come to the master branch. https://gitorious.org/gitorious/jarretts-mainline/commit/5185d622507fed8b895da803f079c21464a8e8d4
production.log errors: Creating scope :public. Overwriting existing method MergeRequest.public. Creating scope :open. Overwriting existing method MergeRequest.open. NoMethodError (undefined method `active' for []:ActiveRecord::Relation): app/controllers/groups_controller.rb:125:in `block in paginated_groups' app/controllers/groups_controller.rb:124:in `paginated_groups' app/controllers/groups_controller.rb:28:in `index' NameError (uninitialized constant Gitorious::Authorization::LDAP): app/models/ldap_group.rb:115:in `ldap_group_names_for_user' app/models/ldap_group.rb:217:in `groups_for_user' app/finders/ldap_group_finder.rb:61:in `for_user' app/models/team.rb:70:in `method_missing' app/controllers/users_controller.rb:51:in `block (2 levels) in show' app/controllers/users_controller.rb:45:in `show' On Friday, December 13, 2013 12:12:40 PM UTC-6, Marcin Kulik wrote: > Hi Arthur, > > > > So useful report, much appreciation, thx! > > > > I have looked into the error and found out that member_dns method on > > LdapGroup didn't properly handle nil value. I have made a fix for that. > > The fix is in the master, please pull and let me know if all is cool on > > the LDAP front. > > > > Cheers! > > Marcin > > > > On 13/12/13 16:28, Arthur L. wrote: > > >> Hi Dan, > > >> > > >> I have good news. I've been working on LDAP authorization last couple of > >> days and I have managed to spot and fix the bugs you've mentioned, plus > >> few other small annoyances. > > >> > > >> Here's the summary: > > >> > > >> * improved ldap-wizard/wizard.rb gem dependecy loading (moved > >> sinatra-contrib out of "development" to its own bundler group) and made it > >> bind on 0.0.0.0 by default, > > >> * made the errors related to bind_user setting more explicit, > > >> * missing partial issues is fixed, > > >> * profile page is also fixed > > >> * few other smaller improvements. > > >> > > >> Could you please checkout the latest master, re-enable ldap authorization > >> and check if the issues are gone for you? Both "Teams" and "Profile" pages > >> should be functional with LDAP now. > > >> > > >> Oh, and many thanks Dan for you detailed report about LDAP state. You > >> helped Gitorious a lot! > > > > > > Hi, > > > > > > I have installed 3.0 from the latest master (upgraded form 2.3). I'm using > > LDAP authentication and it seems to work fine, but when trying to create a > > new team, it fails with this LDAP related error: > > > > > > ActionView::Template::Error (undefined method `join' for nil:NilClass): > > > 32: </div> > > > 33: </div> > > > 34: <% if group.is_a?(LdapGroup) %> > > > 35: <%= form.input(:ldap_group_names, :as => :text, :hint => "Enter > > LDAP group RDNs (Relative DN), one per line "+ > > > 36: "<strong>Note:</strong> entries should be relative to the > > LDAP base DN") %> > > > 37: <% end %> > > > app/models/ldap_group.rb:79:in `ldap_group_names' > > > app/views/groups/_form.html.erb:35:in > > `_app_views_groups__form_html_erb___735330224564984729_71161820' > > > app/views/groups/new.html.erb:34:in `block in > > _app_views_groups_new_html_erb__1801841951155751091_74076280' > > > app/views/groups/new.html.erb:29:in > > `_app_views_groups_new_html_erb__1801841951155751091_74076280' > > > app/controllers/groups_controller.rb:62:in `new' > > > app/middlewares/dolt_cache_middleware.rb:24:in `call' > > > app/middlewares/dolt_auth_middleware.rb:26:in `call' > > > > > > > > > Could this be a bug or is it just a configuration issue or messed up > > migration from 2.3? > > > -- -- To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] --- 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 [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
