Am Samstag, 23. Mai 2015 19:03:27 UTC+2 schrieb hasienda:
>
>
> It could help to see DEBUG logging of such a failed login attempt, 
> ideally preceded by an environment reload. If you dislike sending it 
> here, you could easily send it to me directly, even encrypted with my 
> public OpenPGP key, if you insist. 


I'm fine with posting DEBUG output with some ofuscated project and user 
names... if there is space for that in this mailing list...

Here is the DEBUG of a failed login:

2015-05-27 09:40:43,432 Trac[main] DEBUG: Dispatching <RequestWithSession "POST 
'/login'">V
2015-05-27 09:40:43,432 Trac[web_ui] DEBUG: LoginModule._remote_user: 
Authentication attempted for 'None'
2015-05-27 09:40:43,433 Trac[guard] DEBUG: AccountGuard.user_locked(None) = 
None (anonymous user)
2015-05-27 09:40:43,433 Trac[web_ui] DEBUG: LoginModule.authenticate: Set 
'REMOTE_USER' = 'None'
2015-05-27 09:40:43,435 Trac[session] DEBUG: Retrieving session for ID 
'985923c96fe1d4f28ea34adc'
2015-05-27 09:40:43,436 Trac[web_ui] DEBUG: LoginModule.process_request: 
'user_locked' = False
2015-05-27 09:40:43,436 Trac[chrome] DEBUG: Prepare chrome data for request
2015-05-27 09:40:43,437 Trac[perm] DEBUG: No policy allowed anonymous 
performing DISCUSSION_VIEW on None
2015-05-27 09:40:43,439 Trac[PyGIT] DEBUG: PyGIT.Storage instance 
139990116671120 constructed
2015-05-27 09:40:43,439 Trac[PyGIT] DEBUG: requested weak PyGIT.Storage 
instance 139990116671120 for '/mnt/data/userspace/project-prod/projA/'
2015-05-27 09:40:43,439 Trac[git_fs] DEBUG: disabled CachedRepository for 
'/mnt/data/userspace/project-prod/projA/'
2015-05-27 09:40:43,439 Trac[PyGIT] DEBUG: PyGIT.Storage instance 
139990116669136 constructed
2015-05-27 09:40:43,439 Trac[PyGIT] DEBUG: requested weak PyGIT.Storage 
instance 139990116669136 for '/mnt/data/userspace/project-prod/projB/'
2015-05-27 09:40:43,440 Trac[git_fs] DEBUG: disabled CachedRepository for 
'/mnt/data/userspace/project-prod/projB/'
2015-05-27 09:40:43,440 Trac[PyGIT] DEBUG: PyGIT.Storage instance 
139990116668176 constructed
2015-05-27 09:40:43,440 Trac[PyGIT] DEBUG: requested weak PyGIT.Storage 
instance 139990116668176 for '/mnt/data/userspace/project-prod/projC/'
2015-05-27 09:40:43,440 Trac[git_fs] DEBUG: disabled CachedRepository for 
'/mnt/data/userspace/project-prod/projC/'
2015-05-27 09:40:43,441 Trac[PyGIT] DEBUG: PyGIT.Storage instance 
139990115561680 constructed
2015-05-27 09:40:43,441 Trac[PyGIT] DEBUG: requested weak PyGIT.Storage 
instance 139990115561680 for '/mnt/data/userspace/project-prod/projB4/'
2015-05-27 09:40:43,441 Trac[git_fs] DEBUG: disabled CachedRepository for 
'/mnt/data/userspace/project-pb/projB4/'
2015-05-27 09:40:43,441 Trac[perm] DEBUG: No policy allowed anonymous 
performing BROWSER_VIEW on <Resource u'repository:proja, source:/'>
2015-05-27 09:40:43,441 Trac[perm] DEBUG: No policy allowed anonymous 
performing BROWSER_VIEW on <Resource u'repository:projb, source:/'>
2015-05-27 09:40:43,442 Trac[perm] DEBUG: No policy allowed anonymous 
performing BROWSER_VIEW on <Resource u'repository:projb4, source:/'>
2015-05-27 09:40:43,442 Trac[perm] DEBUG: No policy allowed anonymous 
performing BROWSER_VIEW on <Resource u'repository:projc, source:/'>
2015-05-27 09:40:43,442 Trac[perm] DEBUG: No policy allowed anonymous 
performing REPORT_VIEW on None
2015-05-27 09:40:43,443 Trac[perm] DEBUG: No policy allowed anonymous 
performing DISCUSSION_ADMIN on None
2015-05-27 09:40:43,443 Trac[perm] DEBUG: No policy allowed anonymous 
performing ACCTMGR_CONFIG_ADMIN on None
2015-05-27 09:40:43,443 Trac[perm] DEBUG: No policy allowed anonymous 
performing ACCTMGR_USER_ADMIN on None
2015-05-27 09:40:43,444 Trac[perm] DEBUG: No policy allowed anonymous 
performing TRAC_ADMIN on None
2015-05-27 09:40:43,444 Trac[perm] DEBUG: No policy allowed anonymous 
performing PROJECT_SETTINGS_VIEW on <Resource 'projects'>
2015-05-27 09:40:43,444 Trac[perm] DEBUG: No policy allowed anonymous 
performing TRAC_ADMIN on <Resource u'admin:general/basics'>
2015-05-27 09:40:43,444 Trac[perm] DEBUG: No policy allowed anonymous 
performing TRAC_ADMIN on <Resource u'admin:general/logging'>
2015-05-27 09:40:43,444 Trac[perm] DEBUG: No policy allowed anonymous 
performing PERMISSION_GRANT on <Resource u'admin:general/perm'>
2015-05-27 09:40:43,445 Trac[perm] DEBUG: No policy allowed anonymous 
performing PERMISSION_REVOKE on <Resource u'admin:general/perm'>
2015-05-27 09:40:43,445 Trac[perm] DEBUG: No policy allowed anonymous 
performing TRAC_ADMIN on <Resource u'admin:general/plugin'>
2015-05-27 09:40:43,445 Trac[perm] DEBUG: No policy allowed anonymous 
performing TICKET_ADMIN on <Resource u'admin:ticket/components'>
2015-05-27 09:40:43,445 Trac[perm] DEBUG: No policy allowed anonymous 
performing TICKET_ADMIN on <Resource u'admin:ticket/milestones'>
2015-05-27 09:40:43,445 Trac[perm] DEBUG: No policy allowed anonymous 
performing TICKET_ADMIN on <Resource u'admin:ticket/versions'>
2015-05-27 09:40:43,446 Trac[perm] DEBUG: No policy allowed anonymous 
performing TICKET_ADMIN on <Resource u'admin:ticket/priority'>
2015-05-27 09:40:43,446 Trac[perm] DEBUG: No policy allowed anonymous 
performing TICKET_ADMIN on <Resource u'admin:ticket/resolution'>
2015-05-27 09:40:43,446 Trac[perm] DEBUG: No policy allowed anonymous 
performing TICKET_ADMIN on <Resource u'admin:ticket/severity'>
2015-05-27 09:40:43,446 Trac[perm] DEBUG: No policy allowed anonymous 
performing TICKET_ADMIN on <Resource u'admin:ticket/type'>


It seems that username is received as "None", eventhough the same 
credentials are entered. Replacing the plugin with the old relesase version 
makes it work a
btw, switching plugins around I tried symlinking them like this: 
TracAccountManager.egg -> plugins.d/TracAccountManager-0.4.3-py2.7.egg
The plugin is correctly loaded but the plugins is failing, the "Login" link 
is completely missing:

2015-05-27 09:36:28,725 Trac[loader] DEBUG: Loading acct_mgr.admin from /mnt
/data/trac/projects/trac-A/plugins/plugins.d/TracAccountManager-0.4.3-py2.
7.egg
2015-05-27 09:36:28,731 Trac[loader] DEBUG: Loading acct_mgr.api from /mnt/
data/trac/projects/trac-A/plugins/plugins.d/TracAccountManager-0.4.3-py2.
7.egg
2015-05-27 09:36:28,733 Trac[loader] DEBUG: Loading acct_mgr.db from /mnt/
data/trac/projects/trac-A/plugins/plugins.d/TracAccountManager-0.4.3-py2.
7.egg



-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to