Ticket #1 (closed task: wontfix)

Opened 2 years ago

Last modified 2 years ago

OpenID authentication

Reported by: grahamperrin Owned by: grahamperrin
Priority: trivial Milestone:
Component: MacFusion Trac Version:
Keywords: Cc: mgorbach

Attachments

Change History

Changed 2 years ago by anonymous

  • owner changed from somebody to anonymous
  • status changed from new to assigned

grahamperrin@macfusion:~/python-openid-2.0.1$ sudo python setup.py install


grahamperrin@macfusion:/$ sudo find / -name "openid" -print /usr/lib/python2.4/site-packages/openid /home/grahamperrin/python-openid-2.0.1/build/lib/openid /home/grahamperrin/python-openid-2.0.1/openid

Changed 2 years ago by anonymous

grahamperrin@macfusion:/$ sudo find / -name "openid" -print
/usr/lib/python2.4/site-packages/openid
/home/grahamperrin/python-openid-2.0.1/build/lib/openid
/home/grahamperrin/python-openid-2.0.1/openid

Changed 2 years ago by grahamperrin

grahamperrin@macfusion:~/dev/AuthOpenIdPlugin$ sudo python setup.py install
Traceback (most recent call last):
  File "setup.py", line 1, in ?
    from setuptools import setup
ImportError: No module named setuptools

Changed 2 years ago by grahamperrin

Changed 2 years ago by anonymous

AuthOpenIdPlugin? installed

Changed 2 years ago by anonymous

grahamperrin@macfusion:~$ sudo grep -R trac.web.auth /

results include:

/usr/share/python-support/trac/trac/web/standalone.py:from trac.web.auth import BasicAuthentication, DigestAuthentication
/usr/share/python-support/trac/trac/db_default.py:                      'trac.web.auth')

Changed 2 years ago by grahamperrin

Following discussion logged at http://pacopablo.com/irclogs/2007/11/11
I made a backup of
/var/www/macfusion-trac/conf/trac.ini

grahamperrin@macfusion:/var/www/macfusion-trac/conf$ ls -l
total 12
-rw-r--r-- 1 www-data www-data 2338 Nov 11 22:40 trac.ini
-rw-r--r-- 1 www-data www-data 2167 Nov 11 22:33 trac.ini.old
-rw-r--r-- 1 www-data www-data 2100 Nov  6 20:16 trac.ini.sample

then commented and edited trac.ini

grahamperrin@macfusion:/var/www/macfusion-trac/conf$ tail -7 trac.ini

# -*- http://macfusion.makalumedia.com/trac/ticket/1 -*-
# -*- http://pacopablo.com/irclogs/2007/11/11 -*-

[components]
trac.web.auth.* = disabled
openidauth.* = enabled

Changed 2 years ago by grahamperrin

Re http://macfusion.makalumedia.com/trac/wiki/TracCgi#AddingAuthentication
I wonder whether for OpenID authentication (alone) we should add a section to
/etc/apache2/apache2.conf

<Location "/trac/login">
  ...
</Location>

or whether the edits trac.ini alone will suffice…

Changed 2 years ago by grahamperrin

  • owner changed from anonymous to grahamperrin
  • status changed from assigned to new

Changed 2 years ago by grahamperrin

  • status changed from new to assigned

Changed 2 years ago by grahamperrin

  • cc mgorbach added
  • type changed from defect to task
  • component changed from component1 to MacFusion Trac

Changed 2 years ago by grahamperrin

[components]
datamover.* = enabled
ticketdelete.web_ui.ticketdeleteplugin = enabled
trac.web.auth.* = enabled
openidauth.* = disabled
webadmin.* = enabled

Changed 2 years ago by grahamperrin

  • status changed from assigned to closed
  • resolution set to wontfix

Re the erorrs noted at http://paste.lisp.org/display/50986

I removed the .egg for this plugin, manually cleared/removed the log, then restarted apache and found a tidier log, http://paste.lisp.org/display/50987

Then at http://macfusion.makalumedia.com/trac/admin/general/logging reverted to no logging and restarted apache.

I don't suppose that we'll use OpenID ... at least, not without possible complications alongside Michael's success with https for svn:// and so on.

Add/Change #1 (OpenID authentication)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.