All-
I'm trying to get the external user authentication (LDAP) to work with our local toolshed installation. I replicated the exact implementation that works with our local Galaxy installation


The following lines
use_remote_user = True
remote_user_maildomain = scripps.edu
were added in community_wsgi.ini

When I try to authenticate I get the following error message:
----------
URL: https://toolshed.scripps.edu/
File '/gpfs/home/galaxy/galaxy-dist/eggs/Paste-1.6-py2.6.egg/paste/exceptions/errormiddleware.py', line 143 in __call__
  app_iter = self.application(environ, start_response)
File '/gpfs/home/galaxy/galaxy-dist/eggs/Paste-1.6-py2.6.egg/paste/debug/prints.py', line 98 in __call__
  environ, self.app)
File '/gpfs/home/galaxy/galaxy-dist/eggs/Paste-1.6-py2.6.egg/paste/wsgilib.py', line 539 in intercept_output
  app_iter = application(environ, replacement_start_response)
File '/gpfs/home/galaxy/galaxy-dist/eggs/Paste-1.6-py2.6.egg/paste/recursive.py', line 80 in __call__
  return self.application(environ, start_response)
File '/gpfs/home/galaxy/galaxy-dist/eggs/Paste-1.6-py2.6.egg/paste/httpexceptions.py', line 632 in __call__
  return self.application(environ, start_response)
File '/gpfs/home/galaxy/galaxy-dist/lib/galaxy/web/framework/base.py', line 134 in __call__
  trans = self.transaction_factory( environ )
File '/gpfs/home/galaxy/galaxy-dist/lib/galaxy/web/framework/__init__.py', line 187 in <lambda> self.set_transaction_factory( lambda e: self.transaction_chooser( e, galaxy_app, session_cookie ) ) File '/gpfs/home/galaxy/galaxy-dist/lib/galaxy/web/framework/__init__.py', line 207 in transaction_chooser return GalaxyWebUITransaction( environ, galaxy_app, self, session_cookie ) File '/gpfs/home/galaxy/galaxy-dist/lib/galaxy/web/framework/__init__.py', line 870 in __init__
  self._ensure_valid_session( session_cookie )
File '/gpfs/home/galaxy/galaxy-dist/lib/galaxy/web/framework/__init__.py', line 372 in _ensure_valid_session user_for_new_session = self.get_or_create_remote_user( remote_user_email ) File '/gpfs/home/galaxy/galaxy-dist/lib/galaxy/web/framework/__init__.py', line 480 in get_or_create_remote_user
  if not user.default_permissions:
AttributeError: 'User' object has no attribute 'default_permissions'
-------

It looks like other directives that work in universe_wsgi.ini such as (allow_user_deletion = True)
do not work in community_wsgi.ini

Am I missing something? Is there any special to do for external authentication for local toolshed installation? How can users be deleted from toolshed database from the toolshed Admin tools?
Thank you for any insight
JC


___________________________________________________________
Please keep all replies on the list by using "reply all"
in your mail client.  To manage your subscriptions to this
and other Galaxy lists, please use the interface at:

 http://lists.bx.psu.edu/

Reply via email to