Modify

Opened 15 years ago

Closed 14 years ago

#5757 closed defect (wontfix)

Account Manager Plugin, HttpAuthStore and ssl

Reported by: p.skarka@… Owned by: Steffen Hoffmann
Priority: normal Component: AccountManagerPlugin
Severity: normal Keywords: needinfo HTTP authentication ssl
Cc: Trac Release: 0.11

Description

hi,

i am not sure if httpauthstore works with ssl

trac.ini

[account-manager]
authentication_url = https://example.com/auth/
password_store = HttpAuthStore

[components]
acct_mgr.api.accountmanager = enabled
acct_mgr.http.httpauthstore = enabled
acct_mgr.web_ui.loginmodule = enabled
trac.web.auth.loginmodule = disabled
webadmin.* = enabled

error:



Python Traceback
Traceback (most recent call last):
  File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 406, in dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 182, in dispatch
    req.authname = self.authenticate(req)
  File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 146, in authenticate
    authname = authenticator.authenticate(req)
  File "build/bdist.linux-i686/egg/acct_mgr/web_ui.py", line 346, in wrap
  File "build/bdist.linux-i686/egg/acct_mgr/web_ui.py", line 356, in authenticate
  File "build/bdist.linux-i686/egg/acct_mgr/web_ui.py", line 382, in _remote_user
  File "build/bdist.linux-i686/egg/acct_mgr/api.py", line 104, in check_password
  File "build/bdist.linux-i686/egg/acct_mgr/http.py", line 30, in check_password
  File "/usr/lib/python2.3/urllib2.py", line 326, in open
    '_open', req)
  File "/usr/lib/python2.3/urllib2.py", line 306, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.3/urllib2.py", line 901, in http_open
    return self.do_open(httplib.HTTP, req)
  File "/usr/lib/python2.3/urllib2.py", line 895, in do_open
    return self.parent.error('http', req, fp, code, msg, hdrs)
  File "/usr/lib/python2.3/urllib2.py", line 346, in error
    result = self._call_chain(*args)
  File "/usr/lib/python2.3/urllib2.py", line 306, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.3/urllib2.py", line 472, in http_error_302
    return self.parent.open(new)
  File "/usr/lib/python2.3/urllib2.py", line 326, in open
    '_open', req)
  File "/usr/lib/python2.3/urllib2.py", line 306, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.3/urllib2.py", line 908, in https_open
    return self.do_open(httplib.HTTPS, req)
  File "/usr/lib/python2.3/urllib2.py", line 895, in do_open
    return self.parent.error('http', req, fp, code, msg, hdrs)
  File "/usr/lib/python2.3/urllib2.py", line 346, in error
    result = self._call_chain(*args)
  File "/usr/lib/python2.3/urllib2.py", line 306, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.3/urllib2.py", line 834, in http_error_401
    host, req, headers)
  File "/usr/lib/python2.3/urllib2.py", line 725, in http_error_auth_reqed
    raise ValueError("AbstractDigestAuthHandler doesn't know "
ValueError: AbstractDigestAuthHandler doesn't know about Basic

Login is correct.

Attachments (0)

Change History (3)

comment:1 Changed 15 years ago by Sebastian Krysmanski

Well it works for me using SSL. However, I'm using Python 2.6 and you're using Python 2.3. Maybe this is the problem.

comment:2 Changed 14 years ago by Steffen Hoffmann

Keywords: needinfo HTTP authentication ssl added
Owner: changed from John Hampton to Steffen Hoffmann

Seems to work somehow even with x.509 certificates as well (see #1946).

So is this still valid? I fail to see, how I could serve you without more information form your side.

And would you make sure to raise further installation/configuration related issues at the mailing list, please? There is no such thing like a user support ticket, since this ticket system is dedicated to development of Trac plugins, including correcting bugs of course. Thank you in advance for taking care.

comment:3 Changed 14 years ago by Steffen Hoffmann

Resolution: wontfix
Status: newclosed

Fixing this for Python2.3 is certainly no priority these days.

Considering the missing feedback for quite a long time, there's nothing I could do about it anyway.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Steffen Hoffmann.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.