You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@allura.apache.org by Rui Ferreira <rf...@users.sf.net> on 2013/09/04 19:24:09 UTC

[allura:tickets] #6112 update LDAP auth provider

Cheers I'm fixing LDAP support. 

I have a fix hosted at https://sourceforge.net/u/rferreira-itav/allura/. The branch is **tb-ldap**

This seems to be be working against 1.0. So far I've:

- Added the functions missing from the ldap plugin class
- Added a config option to enable/disable schroot - this helps when testing LDAP or deploying without shell support (the default behaviour is unchaged)

Some missing bits:

- the docs in Allura/docs/scm_host.rst could use an update - I think the *dpkg-reconfigure slapd* behaviour has changed in Ubuntu, it generates an admin account for LDAP based on the machines hostname
- maybe change ldap-setup.py





---

** [tickets:#6112] update LDAP auth provider**

**Status:** open
**Created:** Tue Apr 16, 2013 07:49 AM UTC by thejaswani
**Last Updated:** Thu Apr 25, 2013 01:08 PM UTC
**Owner:** nobody

Need better docs on installing ldap dependencies, and ldap auth provider is missing required methods.  See <http://mail-archives.apache.org/mod_mbox/incubator-allura-users/201304.mbox/%3CEB6FC32A33D349A8A57DBEBFB1C4F471@gmail.com%3E> for more details

----

when i run this "paster setup-app development.ini" I am getting the error below
i followed the steps in readme.amrkdown and scm hosting.Please help me to fix this.

12:59:47,269 INFO  [allura.model.artifact] Snapshot version 1 of <class 'forgewiki.model.wiki.Page'>
12:59:47,286 INFO  [allura.model.notification] Notifications disabled for project u/test-user-0, not sending metadata(<Page import_id=None labels=I[] deleted=False text=u'Welcome
  to your wiki!\n\nThis is the default page, edit it as you
  see fit. To add a new page simply reference it within
  brackets, e.g.: [SamplePage].\n\nThe wiki uses
  [Markdown](/u/test-user-0/wiki/markdown_syntax/)
  syntax.\n\n[[project_admins]]\n[[download_button]]\n'
  title=u'Home' tool_version=I{'Wiki': '0.0'} acl=I[]
  version=1 mod_date=datetime.datetime(2013, 4, 16, 7, 29,
  47, 264775) viewable_by=I['all']
  _id=ObjectId('516cfdebb1a5b64927aa9a0d')
  app_config_id=ObjectId('516cfdebb1a5b64927aa9a06')>)
12:59:47,294 ERROR [allura.model.project] userstats is not available
Traceback (most recent call last):
  File "/home/pc247053/src/allura/Allura/allura/model/project.py", line 450, in install_anchored_tools
    new_tools.append(self.install_app(tool, tool, label, i))
  File "/home/pc247053/src/allura/Allura/allura/model/project.py", line 554, in install_app
    app = App(self, cfg)
  File "/home/pc247053/src/allura/ForgeUserStats/forgeuserstats/main.py", line 92, in __init__
    role_admin = M.ProjectRole.by_name('Admin')._id
AttributeError: 'NoneType' object has no attribute '_id'
12:59:47,329 INFO  [allura.model.artifact] Snapshot version 1 of <class 'forgewiki.model.wiki.Page'>
12:59:47,346 INFO  [allura.model.notification] Notifications disabled for project u/test-user-1, not sending metadata(<Page import_id=None labels=I[] deleted=False text=u'Welcome



---

Sent from sourceforge.net because allura-dev@incubator.apache.org is subscribed to https://sourceforge.net/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/allura/admin/tickets/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.