﻿ticket	summary	type	release	owner	status	created	modified	_description	_reporter
10777	TypeError: Incorrect padding after enabling the plugin	defect	1.0	txcraig	assigned	2013-01-09T14:08:58+01:00	2013-05-10T06:20:12+02:00	"Activating the plugin, causes the following traceback, even if I just want to access the root of the Trac installation (e.g. /trac and not /trac/login/xmlrpc).
{{{
Traceback (most recent call last):
  File ""/usr/local/lib/python2.6/dist-packages/Trac-1.0-py2.6.egg/trac/web/api.py"", line 502, in send_error
    data, 'text/html')
  File ""/usr/local/lib/python2.6/dist-packages/Trac-1.0-py2.6.egg/trac/web/chrome.py"", line 955, in render_template
    message = req.session.pop('chrome.%s.%d' % (type_, i))
  File ""/usr/local/lib/python2.6/dist-packages/Trac-1.0-py2.6.egg/trac/web/api.py"", line 304, in __getattr__
    value = self.callbacks[name](self)
  File ""/usr/local/lib/python2.6/dist-packages/Trac-1.0-py2.6.egg/trac/web/main.py"", line 268, in _get_session
    return Session(self.env, req)
  File ""/usr/local/lib/python2.6/dist-packages/Trac-1.0-py2.6.egg/trac/web/session.py"", line 200, in __init__
    if req.authname == 'anonymous':
  File ""/usr/local/lib/python2.6/dist-packages/Trac-1.0-py2.6.egg/trac/web/api.py"", line 304, in __getattr__
    value = self.callbacks[name](self)
  File ""/usr/local/lib/python2.6/dist-packages/Trac-1.0-py2.6.egg/trac/web/main.py"", line 135, in authenticate
    authname = authenticator.authenticate(req)
  File ""build/bdist.linux-x86_64/egg/httpauth/filter.py"", line 65, in authenticate
    user = self._check_password(req)
  File ""build/bdist.linux-x86_64/egg/httpauth/filter.py"", line 76, in _check_password
    user, passwd = b64decode(token).split(':', 1)
  File ""/usr/lib/python2.6/base64.py"", line 76, in b64decode
    raise TypeError(msg)
TypeError: Incorrect padding
}}}

Shouldn’t the plugin just ignore folders that don’t match the path and return a proper HTTP error code on missing auth parameters instead of raising an exception?"	Rafael
5711	Running tracd, can't get XMLRPC login module to appear	defect	0.11	txcraig	assigned	2009-08-25T00:01:23+02:00	2013-02-24T14:01:15+01:00	"Hi,
I've recently installed Trac and have been loving it. Now that i've got the basics up and running and everyone happy, I'm trying to take advantage of some of the tools and am having trouble. Specifically, I'm trying to get XMLRPC running. I've got it installed and am now a little stumped by this directive in the documentation:

----

Problems when AccountManagerPlugin is enabled ¶

If you have the AccountManagerPlugin enabled and you followed their advice/example to disable the standard login module with

[components] 
trac.web.auth.LoginModule = disabled 

the /login/xmlrpc URL for authorized access will not work as expected. Every access will look like anonymous access. You can use the HttpAuthPlugin to correct this. 

----

I have HttpAuthPlugin and AccountManager both installed. However, i'm still unclear on exactly what I need to do in trac.ini to get this to work. I'm including the relevant sections of my .ini file. Can I get some clarity on what i'm doing wrong?

Note, I'm running tracd. I'm also posting here b/c i don't see a forums where this would go. Feel free to point me in the right direction. Thanks!

{{{
[components]
acct_mgr.admin.accountmanageradminpage = enabled
acct_mgr.api.accountmanager = enabled
acct_mgr.db.sessionstore = enabled
acct_mgr.htfile.htdigeststore = enabled
acct_mgr.pwhash.htdigesthashmethod = enabled
acct_mgr.web_ui.accountmodule = enabled
acct_mgr.web_ui.loginmodule = enabled
acct_mgr.web_ui.registrationmodule = enabled
condfields.* = enabled
condfields.web_ui.* = enabled
iniadmin.iniadmin.iniadminplugin = enabled
navadd.navadd.navadd = enabled
tickettemplate.ttadmin.* = enabled
tickettemplate.ttadmin.tickettemplatemodule = disabled
trac.web.auth.loginmodule = disabled
tracrpc.* = enabled
httpauth.* = enabled

[httpauth]
paths = /xmlrpc, /tracproject/login/xmlrpc
}}}"	tj@…
2498	Unable to login - even from browser	defect	0.10	txcraig	assigned	2008-01-31T04:11:02+01:00	2013-02-24T14:04:16+01:00	I enable the plugin, but then when I test it by go to the /xmlrpc, trying to enter any username/password created by AccountManager plugin doesn't work.	anonymous
5853	NoAnonymous plugin cause exception	defect	0.11	txcraig	assigned	2009-09-22T12:16:02+02:00	2013-02-24T14:05:02+01:00	If NoAnonymous plugin is installed i get an exception on empty string. I attached a patch that works for me.	Andreas Gebhardt
5909	Users can't log out	defect	0.11	txcraig	assigned	2009-10-02T20:00:03+02:00	2013-02-24T14:05:32+01:00	"When HttpAuthPlugin is enabled user can't log out.

I'm running Trac 0.11 via tracd and I've got the following plugins: XMLRpcPlugin, AccountManager."	anonymous
6304	basic authenticating only specific client, otherwise requiring normal login	enhancement	1.0	txcraig	assigned	2009-12-09T10:57:57+01:00	2013-02-24T14:05:43+01:00	"Original Trac's login feature is useful for human user, but programs prefer basic auth.
Such programs are not only XML-RPC clients, some of them need to read normal pages.

One example that i encounter is search engine crawler in intranet which has
basic auth client function but does not support cookie."	anonymous
3100	Do not reauthenticate if already authenticated (via form login or such)	enhancement	0.10	txcraig	assigned	2008-05-29T11:26:30+02:00	2013-12-04T02:54:26+01:00	I have a case in which users are already logged in (via form login) so http basic authentication is not required. So to eliminate extra password browser prompts i created the attached patch.	Zoran Regvart
11023	HttpAuthPlugin uses only Basic authentication	enhancement		txcraig	new	2013-04-17T15:24:21+02:00	2013-04-17T15:24:49+02:00	Would it be possible to add 'Digest' authentication ?	sdegrande
