Modify

Opened 10 years ago

Last modified 6 years ago

#12165 new defect

LoginModule on IE9: Missing or invalid form token.

Reported by: massimo.b@… Owned by:
Priority: normal Component: AccountManagerPlugin
Severity: normal Keywords: IE9
Cc: Trac Release: 1.2

Description

Hi, I'm using acct_mgr.web_ui.LoginModule = enabled. The Login works in Firefox-35, but not on IE9. The default http-auth of Trac works in both browsers.

There is a tracd listening on 8000 behind a forwarding Nginx to be able to add more tracd or other services later.

This is trac 1.0.3 and accountmanagerplugin/trunk revision 14389.

# -*- coding: utf-8 -*-

[account-manager]
account_changes_notify_addresses = 
force_passwd_change = true
generated_password_length = 12
htdigest_file = /mnt/data/trac/htpasswd/users.htdigest
htdigest_realm = trac-test
login_attempt_max_count = 2
notify_actions = 
password_store = HtDigestStore
reset_password = true
user_lock_max_time = 86400
user_lock_time = 15
user_lock_time_progression = 2

[announcer]
ctxtnav_names = 
default_email_format = text/plain
email_address_resolvers = SpecifiedEmailResolver, SessionEmailResolver, DefaultDomainEmailResolver
email_enabled = true
email_from = trac-test@tracsrv
email_from_name = Trac (trac-test)
email_sender = SmtpEmailSender
email_subject_prefix = __default__
email_to = undisclosed-recipients:
mime_encoding = base64
use_public_cc = false
use_threaded_delivery = false

[attachment]
max_size = 262144
max_zip_size = 2097152
render_unsafe_content = false

[browser]
color_scale = enabled
downloadable_paths = /trunk, /branches/*, /tags/*
hide_properties = svk:merge
intermediate_color = 
intermediate_point = 
newest_color = (255, 136, 136)
oldest_color = (136, 136, 255)
oneliner_properties = trac:summary
render_unsafe_content = false
wiki_properties = trac:description

[changeset]
max_diff_bytes = 10000000
max_diff_files = 0
wiki_format_messages = true

[components]
acct_mgr.guard.accountguard = enabled
acct_mgr.notification.accountchangelistener = enabled
acct_mgr.register.basiccheck = enabled
acct_mgr.register.bottrapcheck = enabled
acct_mgr.register.emailcheck = enabled
acct_mgr.register.emailverificationmodule = enabled
acct_mgr.register.regexpcheck = enabled
acct_mgr.register.registrationmodule = enabled
acct_mgr.register.usernamepermcheck = enabled
acct_mgr.web_ui.LoginModule = enabled
ganttcalendar.ticketcalendar.ticketcalendarplugin = disabled
ganttcalendar.ticketgantt.ticketganttchartplugin = disabled
projectplan.ppcreatedependingtickettweak.ppcreatedependingtickettweak = enabled
projectplan.ppticketdatetweak.ppticketdatetweak = enabled
projectplan.ppticketviewtweak.ppticketviewtweak = enabled
trac.web.auth.LoginModule = disabled
trac.web.auth.loginmodule = disabled
userpictures.defaultuserpicturesprovider = disabled
userpictures.providers.gravatar.userpicturesgravatarprovider = disabled
userpictures.providers.usermanager.userpicturesusermanagerprovider = disabled
userpictures.userpicturesmodule = disabled

[header_logo]
alt = (please configure the [header_logo] section in trac.ini)
height = -1
link = http://trac-test
src = site/project_h64.png
width = -1

[inherit]
htdocs_dir = 
plugins_dir = 
templates_dir = 

[logging]
log_file = trac.log
log_level = DEBUG
log_type = file

[milestone]
stats_provider = DefaultTicketGroupStatsProvider

[mimeviewer]
max_preview_size = 262144
mime_map = text/x-dylan:dylan, text/x-idl:ice, text/x-ada:ads:adb
mime_map_patterns = text/plain:README|INSTALL|COPYING.*
pygments_default_style = trac
pygments_modes = 
tab_width = 8
treat_as_binary = application/octet-stream, application/pdf, application/postscript, application/msword,application/rtf,

[notification]
admit_domains = tracsrv
always_notify_owner = true
always_notify_reporter = false
always_notify_updater = false
ambiguous_char_width = single
batch_subject_template = $prefix Batch modify: $tickets_descr
email_sender = SmtpEmailSender
ignore_domains = 
mime_encoding = none
sendmail_path = sendmail
smtp_always_bcc = 
smtp_always_cc = 
smtp_default_domain = tracsrv
smtp_enabled = true
smtp_from = trac-test@tracsrv
smtp_from_author = false
smtp_from_name = Trac (trac-test)
smtp_password = 
smtp_port = 25
smtp_replyto = 
smtp_server = mail03
smtp_subject_prefix = __default__
smtp_user = 
ticket_subject_template = $prefix #$ticket.id: $summary
use_public_cc = yes
use_short_addr = false
use_tls = false

[project]
admin = 
admin_trac_url = .
icon = site/favicon.ico
name = test-project
url = http://trac-test

[query]
default_anonymous_query = status!=closed&cc~=$USER
default_query = status!=closed&owner=$USER
items_per_page = 100
ticketlink_query = ?status=!closed

[report]
items_per_page = 100
items_per_page_rss = 0

[revisionlog]
default_log_limit = 100
graph_colors = #cc0,#0c0,#0cc,#00c,#c0c,#c00

[roadmap]
stats_provider = DefaultTicketGroupStatsProvider

[search]
min_query_length = 3

[smtp]
debuglevel = 0
password = 
port = 25
server = mail03
timeout = 10
use_ssl = false
use_tls = false
user = 

[theme]
theme = default

[ticket]
default_cc = 
default_component = 
default_description = 
default_keywords = 
default_milestone = 
default_owner = < default >
default_priority = major
default_resolution = fixed
default_severity = 
default_summary = 
default_type = defect
default_version = 
max_comment_size = 262144
max_description_size = 262144
max_summary_size = 262144
preserve_newlines = default
restrict_owner = false
workflow = ConfigurableTicketWorkflow

[ticket-custom]
billable = checkbox
billable.label = Billable?
billable.order = 3
billable.value = 1
estimatedhours = text
estimatedhours.label = Estimated Number of Hours
estimatedhours.order = 1
estimatedhours.value = 0
hours = text
hours.label = Add Hours to Ticket
hours.order = 2
hours.value = 0
totalhours = text
totalhours.label = Total Hours
totalhours.order = 4
totalhours.value = 0

[ticket-workflow]
accept = new,assigned,accepted,reopened -> accepted
accept.operations = set_owner_to_self
accept.permissions = TICKET_MODIFY
leave = * -> *
leave.default = 1
leave.operations = leave_status
reassign = new,assigned,accepted,reopened -> assigned
reassign.operations = set_owner
reassign.permissions = TICKET_MODIFY
reopen = closed -> reopened
reopen.operations = del_resolution
reopen.permissions = TICKET_CREATE
resolve = new,assigned,accepted,reopened -> closed
resolve.operations = set_resolution
resolve.permissions = TICKET_MODIFY

[timeline]
abbreviated_messages = enabled
changeset_collapse_events = false
changeset_long_messages = false
changeset_show_files = 0
default_daysback = 30
max_daysback = 90
newticket_formatter = oneliner
ticket_show_details = false

[trac]
authz_file = 
authz_module_name = 
auto_preview_timeout = 2.0
auto_reload = disabled
backup_dir = db
base_url = http://trac-test
check_auth_ip = false
database = postgres://trac:trac123@/trac
debug_sql = disabled
default_charset = utf-8
default_date_format = 
default_dateinfo_format = relative
default_handler = WikiModule
default_language = 
default_timezone = 
genshi_cache_size = 128
htdocs_location = 
ignore_auth_case = false
jquery_location = 
jquery_ui_location = 
jquery_ui_theme_location = 
mainnav = wiki, timeline, roadmap, browser, tickets, newticket, search
metanav = login, logout, prefs, help, about
mysqldump_path = mysqldump
never_obfuscate_mailto = false
permission_policies = DefaultPermissionPolicy, LegacyAttachmentPolicy
permission_store = DefaultPermissionStore
pg_dump_path = pg_dump
repository_dir = 
repository_sync_per_request = (default)
repository_type = svn
resizable_textareas = true
secure_cookies = disabled
show_email_addresses = false
show_ip_addresses = false
timeout = 20
use_base_url_for_redirect = disabled
use_xsendfile = false
wiki_toolbars = true

[versioncontrol]
allowed_repository_dir_prefixes = 

[watchlist]
display_notify_navitems = true
notifications = true
notify_by_default = true

[wiki]
ignore_missing_pages = false
max_size = 262144
render_unsafe_content = false
safe_schemes = cvs, file, ftp, git, irc, http, https, news, sftp, smb, ssh, svn, svn+ssh
split_page_names = false
2015-01-28 10:13:40,700 Trac[env] INFO: -------------------------------- environment startup [Trac 1.0.3] --------------------------------
2015-01-28 10:13:40,741 Trac[loader] DEBUG: Adding plugin trac-UserPicturesPlugin 0.1.1 from /mnt/data/trac/project/plugins/trac_UserPicturesPlugin-0.1.1-py2.7.egg
2015-01-28 10:13:40,741 Trac[loader] DEBUG: Adding plugin TracFullBlogPlugin 0.1.1-r0 from /mnt/data/trac/project/plugins/TracFullBlogPlugin-0.1.1_r0-py2.7.egg
2015-01-28 10:13:40,742 Trac[loader] DEBUG: Adding plugin worklog 0.3dev-r0 from /mnt/data/trac/project/plugins/worklog-0.3dev_r0-py2.7.egg
2015-01-28 10:13:40,742 Trac[loader] DEBUG: Adding plugin TracAccountManager 0.5dev-r14363 from /mnt/data/trac/project/plugins/TracAccountManager-0.5dev_r14363-py2.7.egg
2015-01-28 10:13:40,743 Trac[loader] DEBUG: Adding plugin RoadmapHours 0.5 from /mnt/data/trac/project/plugins/RoadmapHours-0.5-py2.7.egg
2015-01-28 10:13:40,743 Trac[loader] DEBUG: Adding plugin TracGanttCalendarPlugin 0.11 from /mnt/data/trac/project/plugins/TracGanttCalendarPlugin-0.11-py2.7.egg
2015-01-28 10:13:40,744 Trac[loader] DEBUG: Adding plugin TracWorkflowAdmin 0.12.0.2 from /mnt/data/trac/project/plugins/TracWorkflowAdmin-0.12.0.2-py2.7.egg
2015-01-28 10:13:40,744 Trac[loader] DEBUG: Adding plugin TracpathTheme 1.0 from /mnt/data/trac/project/plugins/TracpathTheme-1.0-py2.7.egg
2015-01-28 10:13:40,745 Trac[loader] DEBUG: Adding plugin WikiAutoComplete 1.0 from /mnt/data/trac/project/plugins/WikiAutoComplete-1.0-py2.7.egg
2015-01-28 10:13:40,745 Trac[loader] DEBUG: Adding plugin timingandestimationplugin 1.3.7 from /mnt/data/trac/project/plugins/timingandestimationplugin-1.3.7-py2.7.egg
2015-01-28 10:13:40,746 Trac[loader] DEBUG: Adding plugin TracThemeEngine 2.2.2dev-r13789 from /mnt/data/trac/project/plugins/TracThemeEngine-2.2.2dev_r13789-py2.7.egg
2015-01-28 10:13:40,759 Trac[loader] DEBUG: Loading acct_mgr.admin from /mnt/data/trac/project/plugins/TracAccountManager-0.5dev_r14363-py2.7.egg
2015-01-28 10:13:40,766 Trac[loader] DEBUG: Loading acct_mgr.api from /mnt/data/trac/project/plugins/TracAccountManager-0.5dev_r14363-py2.7.egg
2015-01-28 10:13:40,766 Trac[loader] DEBUG: Loading acct_mgr.db from /mnt/data/trac/project/plugins/TracAccountManager-0.5dev_r14363-py2.7.egg
2015-01-28 10:13:40,767 Trac[loader] DEBUG: Loading acct_mgr.htfile from /mnt/data/trac/project/plugins/TracAccountManager-0.5dev_r14363-py2.7.egg
2015-01-28 10:13:40,768 Trac[loader] DEBUG: Loading acct_mgr.http from /mnt/data/trac/project/plugins/TracAccountManager-0.5dev_r14363-py2.7.egg
2015-01-28 10:13:40,769 Trac[loader] DEBUG: Loading acct_mgr.macros from /mnt/data/trac/project/plugins/TracAccountManager-0.5dev_r14363-py2.7.egg
2015-01-28 10:13:40,769 Trac[loader] DEBUG: Loading acct_mgr.notification from /mnt/data/trac/project/plugins/TracAccountManager-0.5dev_r14363-py2.7.egg
2015-01-28 10:13:40,770 Trac[loader] DEBUG: Loading acct_mgr.opt.announcer.uid_chg from /mnt/data/trac/project/plugins/TracAccountManager-0.5dev_r14363-py2.7.egg
2015-01-28 10:13:40,785 Trac[loader] DEBUG: Skipping "acct_mgr.opt.announcer.uid_chg = acct_mgr.opt.announcer.uid_chg [announcer]": ("DistributionNotFound: TracAnnouncer" not found)
2015-01-28 10:13:40,785 Trac[loader] DEBUG: Loading acct_mgr.opt.tracforms.uid_chg from /mnt/data/trac/project/plugins/TracAccountManager-0.5dev_r14363-py2.7.egg
2015-01-28 10:13:40,799 Trac[loader] DEBUG: Skipping "acct_mgr.opt.tracforms.uid_chg = acct_mgr.opt.tracforms.uid_chg [forms]": ("DistributionNotFound: TracForms" not found)
2015-01-28 10:13:40,799 Trac[loader] DEBUG: Loading acct_mgr.opt.tracscreenshots.uid_chg from /mnt/data/trac/project/plugins/TracAccountManager-0.5dev_r14363-py2.7.egg
2015-01-28 10:13:40,811 Trac[loader] DEBUG: Skipping "acct_mgr.opt.tracscreenshots.uid_chg = acct_mgr.opt.tracscreenshots.uid_chg [screenshots]": ("DistributionNotFound: TracScreenshots" not found)
2015-01-28 10:13:40,811 Trac[loader] DEBUG: Loading acct_mgr.opt.tracvote.uid_chg from /mnt/data/trac/project/plugins/TracAccountManager-0.5dev_r14363-py2.7.egg
2015-01-28 10:13:40,817 Trac[loader] DEBUG: Skipping "acct_mgr.opt.tracvote.uid_chg = acct_mgr.opt.tracvote.uid_chg [vote]": ("DistributionNotFound: TracVote" not found)
2015-01-28 10:13:40,817 Trac[loader] DEBUG: Loading acct_mgr.pwhash from /mnt/data/trac/project/plugins/TracAccountManager-0.5dev_r14363-py2.7.egg
2015-01-28 10:13:40,818 Trac[loader] DEBUG: Loading acct_mgr.register from /mnt/data/trac/project/plugins/TracAccountManager-0.5dev_r14363-py2.7.egg
2015-01-28 10:13:40,818 Trac[loader] DEBUG: Loading acct_mgr.svnserve from /mnt/data/trac/project/plugins/TracAccountManager-0.5dev_r14363-py2.7.egg
2015-01-28 10:13:40,818 Trac[loader] DEBUG: Loading acct_mgr.web_ui from /mnt/data/trac/project/plugins/TracAccountManager-0.5dev_r14363-py2.7.egg
2015-01-28 10:13:40,818 Trac[loader] DEBUG: Loading ganttcalendar.ticketcalendar from /mnt/data/trac/project/plugins/TracGanttCalendarPlugin-0.11-py2.7.egg
2015-01-28 10:13:40,819 Trac[loader] DEBUG: Loading ganttcalendar.ticketgantt from /mnt/data/trac/project/plugins/TracGanttCalendarPlugin-0.11-py2.7.egg
2015-01-28 10:13:40,819 Trac[loader] DEBUG: Loading roadmaphours from /mnt/data/trac/project/plugins/RoadmapHours-0.5-py2.7.egg
2015-01-28 10:13:40,825 Trac[loader] DEBUG: Loading themeengine.admin from /mnt/data/trac/project/plugins/TracThemeEngine-2.2.2dev_r13789-py2.7.egg
2015-01-28 10:13:40,826 Trac[loader] DEBUG: Loading themeengine.api from /mnt/data/trac/project/plugins/TracThemeEngine-2.2.2dev_r13789-py2.7.egg
2015-01-28 10:13:40,826 Trac[loader] DEBUG: Loading themeengine.web_ui from /mnt/data/trac/project/plugins/TracThemeEngine-2.2.2dev_r13789-py2.7.egg
2015-01-28 10:13:40,827 Trac[loader] DEBUG: Loading timingandestimationplugin from /mnt/data/trac/project/plugins/timingandestimationplugin-1.3.7-py2.7.egg
2015-01-28 10:13:40,838 Trac[loader] DEBUG: Loading trac.about from /usr/lib64/python2.7/site-packages
2015-01-28 10:13:40,838 Trac[loader] DEBUG: Loading trac.admin.console from /usr/lib64/python2.7/site-packages
2015-01-28 10:13:40,840 Trac[loader] DEBUG: Loading trac.admin.web_ui from /usr/lib64/python2.7/site-packages
2015-01-28 10:13:40,840 Trac[loader] DEBUG: Loading trac.attachment from /usr/lib64/python2.7/site-packages
2015-01-28 10:13:40,840 Trac[loader] DEBUG: Loading trac.db.mysql from /usr/lib64/python2.7/site-packages
2015-01-28 10:13:40,840 Trac[loader] DEBUG: Loading trac.db.postgres from /usr/lib64/python2.7/site-packages
2015-01-28 10:13:40,841 Trac[loader] DEBUG: Loading trac.db.sqlite from /usr/lib64/python2.7/site-packages
2015-01-28 10:13:40,841 Trac[loader] DEBUG: Loading trac.mimeview.patch from /usr/lib64/python2.7/site-packages
2015-01-28 10:13:40,841 Trac[loader] DEBUG: Loading trac.mimeview.pygments from /usr/lib64/python2.7/site-packages
2015-01-28 10:13:40,848 Trac[loader] DEBUG: Loading trac.mimeview.rst from /usr/lib64/python2.7/site-packages
2015-01-28 10:13:40,898 Trac[loader] DEBUG: Loading trac.mimeview.txtl from /usr/lib64/python2.7/site-packages
2015-01-28 10:13:40,906 Trac[loader] DEBUG: Skipping "trac.mimeview.txtl = trac.mimeview.txtl [textile]": ("DistributionNotFound: textile>=2.0" not found)
2015-01-28 10:13:40,906 Trac[loader] DEBUG: Loading trac.prefs from /usr/lib64/python2.7/site-packages
2015-01-28 10:13:40,906 Trac[loader] DEBUG: Loading trac.search from /usr/lib64/python2.7/site-packages
2015-01-28 10:13:40,906 Trac[loader] DEBUG: Loading trac.ticket.admin from /usr/lib64/python2.7/site-packages
2015-01-28 10:13:40,907 Trac[loader] DEBUG: Loading trac.ticket.batch from /usr/lib64/python2.7/site-packages
2015-01-28 10:13:40,907 Trac[loader] DEBUG: Loading trac.ticket.query from /usr/lib64/python2.7/site-packages
2015-01-28 10:13:40,909 Trac[loader] DEBUG: Loading trac.ticket.report from /usr/lib64/python2.7/site-packages
2015-01-28 10:13:40,910 Trac[loader] DEBUG: Loading trac.ticket.roadmap from /usr/lib64/python2.7/site-packages
2015-01-28 10:13:40,910 Trac[loader] DEBUG: Loading trac.ticket.web_ui from /usr/lib64/python2.7/site-packages
2015-01-28 10:13:40,912 Trac[loader] DEBUG: Loading trac.timeline from /usr/lib64/python2.7/site-packages
2015-01-28 10:13:40,913 Trac[loader] DEBUG: Loading trac.versioncontrol.admin from /usr/lib64/python2.7/site-packages
2015-01-28 10:13:40,913 Trac[loader] DEBUG: Loading trac.versioncontrol.svn_authz from /usr/lib64/python2.7/site-packages
2015-01-28 10:13:40,914 Trac[loader] DEBUG: Loading trac.versioncontrol.web_ui from /usr/lib64/python2.7/site-packages
2015-01-28 10:13:40,920 Trac[loader] DEBUG: Loading trac.web.auth from /usr/lib64/python2.7/site-packages
2015-01-28 10:13:40,920 Trac[loader] DEBUG: Loading trac.web.main from /usr/lib64/python2.7/site-packages
2015-01-28 10:13:40,920 Trac[loader] DEBUG: Loading trac.web.session from /usr/lib64/python2.7/site-packages
2015-01-28 10:13:40,920 Trac[loader] DEBUG: Loading trac.wiki.admin from /usr/lib64/python2.7/site-packages
2015-01-28 10:13:40,920 Trac[loader] DEBUG: Loading trac.wiki.interwiki from /usr/lib64/python2.7/site-packages
2015-01-28 10:13:40,921 Trac[loader] DEBUG: Loading trac.wiki.macros from /usr/lib64/python2.7/site-packages
2015-01-28 10:13:40,921 Trac[loader] DEBUG: Loading trac.wiki.web_api from /usr/lib64/python2.7/site-packages
2015-01-28 10:13:40,921 Trac[loader] DEBUG: Loading trac.wiki.web_ui from /usr/lib64/python2.7/site-packages
2015-01-28 10:13:40,922 Trac[loader] DEBUG: Loading tracfullblog.admin from /mnt/data/trac/project/plugins/TracFullBlogPlugin-0.1.1_r0-py2.7.egg
2015-01-28 10:13:40,923 Trac[loader] DEBUG: Loading tracfullblog.core from /mnt/data/trac/project/plugins/TracFullBlogPlugin-0.1.1_r0-py2.7.egg
2015-01-28 10:13:40,923 Trac[loader] DEBUG: Loading tracfullblog.db from /mnt/data/trac/project/plugins/TracFullBlogPlugin-0.1.1_r0-py2.7.egg
2015-01-28 10:13:40,924 Trac[loader] DEBUG: Loading tracfullblog.macros from /mnt/data/trac/project/plugins/TracFullBlogPlugin-0.1.1_r0-py2.7.egg
2015-01-28 10:13:40,924 Trac[loader] DEBUG: Loading tracfullblog.spamfilter from /mnt/data/trac/project/plugins/TracFullBlogPlugin-0.1.1_r0-py2.7.egg
2015-01-28 10:13:40,931 Trac[loader] DEBUG: Skipping "tracfullblog.spamfilter = tracfullblog.spamfilter [spamfilter]": ("DistributionNotFound: TracSpamFilter>=0.2" not found)
2015-01-28 10:13:40,932 Trac[loader] DEBUG: Loading tracfullblog.tags from /mnt/data/trac/project/plugins/TracFullBlogPlugin-0.1.1_r0-py2.7.egg
2015-01-28 10:13:40,946 Trac[loader] DEBUG: Skipping "tracfullblog.tags = tracfullblog.tags [tags]": ("DistributionNotFound: TracTags>=0.6" not found)
2015-01-28 10:13:40,946 Trac[loader] DEBUG: Loading tracfullblog.web_ui from /mnt/data/trac/project/plugins/TracFullBlogPlugin-0.1.1_r0-py2.7.egg
2015-01-28 10:13:40,947 Trac[loader] DEBUG: Loading tracopt.mimeview.enscript from /usr/lib64/python2.7/site-packages
2015-01-28 10:13:40,948 Trac[loader] DEBUG: Loading tracopt.mimeview.php from /usr/lib64/python2.7/site-packages
2015-01-28 10:13:40,949 Trac[loader] DEBUG: Loading tracopt.mimeview.silvercity from /usr/lib64/python2.7/site-packages
2015-01-28 10:13:40,963 Trac[loader] DEBUG: Skipping "tracopt.mimeview.silvercity = tracopt.mimeview.silvercity [silvercity]": ("DistributionNotFound: SilverCity>=0.9.4" not found)
2015-01-28 10:13:40,963 Trac[loader] DEBUG: Loading tracopt.perm.authz_policy from /usr/lib64/python2.7/site-packages
2015-01-28 10:13:40,977 Trac[loader] DEBUG: Skipping "tracopt.perm.authz_policy = tracopt.perm.authz_policy [configobj]": ("DistributionNotFound: ConfigObj" not found)
2015-01-28 10:13:40,977 Trac[loader] DEBUG: Loading tracopt.perm.config_perm_provider from /usr/lib64/python2.7/site-packages
2015-01-28 10:13:40,978 Trac[loader] DEBUG: Loading tracopt.ticket.clone from /usr/lib64/python2.7/site-packages
2015-01-28 10:13:40,979 Trac[loader] DEBUG: Loading tracopt.ticket.commit_updater from /usr/lib64/python2.7/site-packages
2015-01-28 10:13:40,980 Trac[loader] DEBUG: Loading tracopt.ticket.deleter from /usr/lib64/python2.7/site-packages
2015-01-28 10:13:40,981 Trac[loader] DEBUG: Loading tracopt.versioncontrol.git.git_fs from /usr/lib64/python2.7/site-packages
2015-01-28 10:13:40,984 Trac[loader] DEBUG: Loading tracopt.versioncontrol.svn.svn_fs from /usr/lib64/python2.7/site-packages
2015-01-28 10:13:40,985 Trac[loader] DEBUG: Loading tracopt.versioncontrol.svn.svn_prop from /usr/lib64/python2.7/site-packages
2015-01-28 10:13:40,985 Trac[loader] DEBUG: Loading tracpaththeme.theme from /mnt/data/trac/project/plugins/TracpathTheme-1.0-py2.7.egg
2015-01-28 10:13:40,986 Trac[loader] DEBUG: Loading tracworkflowadmin.web_ui from /mnt/data/trac/project/plugins/TracWorkflowAdmin-0.12.0.2-py2.7.egg
2015-01-28 10:13:40,991 Trac[loader] DEBUG: Loading userpictures from /mnt/data/trac/project/plugins/trac_UserPicturesPlugin-0.1.1-py2.7.egg
2015-01-28 10:13:40,992 Trac[loader] DEBUG: Loading wikiautocomplete.web_ui from /mnt/data/trac/project/plugins/WikiAutoComplete-1.0-py2.7.egg
2015-01-28 10:13:40,993 Trac[loader] DEBUG: Loading worklog.admin from /mnt/data/trac/project/plugins/worklog-0.3dev_r0-py2.7.egg
2015-01-28 10:13:40,993 Trac[loader] DEBUG: Loading worklog.api from /mnt/data/trac/project/plugins/worklog-0.3dev_r0-py2.7.egg
2015-01-28 10:13:40,994 Trac[loader] DEBUG: Loading worklog.ticket_daemon from /mnt/data/trac/project/plugins/worklog-0.3dev_r0-py2.7.egg
2015-01-28 10:13:40,994 Trac[loader] DEBUG: Loading worklog.ticket_filter from /mnt/data/trac/project/plugins/worklog-0.3dev_r0-py2.7.egg
2015-01-28 10:13:40,994 Trac[loader] DEBUG: Loading worklog.timeline from /mnt/data/trac/project/plugins/worklog-0.3dev_r0-py2.7.egg
2015-01-28 10:13:40,995 Trac[loader] DEBUG: Loading worklog.webui from /mnt/data/trac/project/plugins/worklog-0.3dev_r0-py2.7.egg
2015-01-28 10:13:40,995 Trac[loader] DEBUG: Loading worklog.xmlrpc from /mnt/data/trac/project/plugins/worklog-0.3dev_r0-py2.7.egg
2015-01-28 10:13:41,002 Trac[loader] DEBUG: Skipping "worklog.xmlrpc = worklog.xmlrpc [xmlrpc]": ("DistributionNotFound: TracXMLRPC>=1.1" not found)
2015-01-28 10:13:41,003 Trac[default_workflow] DEBUG: Workflow actions at initialization: defaultdict(<function <lambda> at 0x7f6104569488>, {u'resolve': {'operations': [u'set_resolution'], 'name': '', 'default': 0, 'newstate': u'closed', 'oldstates': [u'new', u'assigned', u'accepted', u'reopened'], 'permissions': [u'TICKET_MODIFY']}, u'accept': {'operations': [u'set_owner_to_self'], 'name': '', 'default': 0, 'newstate': u'accepted', 'oldstates': [u'new', u'assigned', u'accepted', u'reopened'], 'permissions': [u'TICKET_MODIFY']}, u'leave': {'operations': [u'leave_status'], 'name': '', 'default': 1, 'newstate': u'*', 'oldstates': [u'*'], 'permissions': []}, u'reopen': {'operations': [u'del_resolution'], 'name': '', 'default': 0, 'newstate': u'reopened', 'oldstates': [u'closed'], 'permissions': [u'TICKET_CREATE']}, u'reassign': {'operations': [u'set_owner'], 'name': '', 'default': 0, 'newstate': u'assigned', 'oldstates': [u'new', u'assigned', u'accepted', u'reopened'], 'permissions': [u'TICKET_MODIFY']}, '_reset': {'operations': ['reset_workflow'], 'name': 'reset', 'default': 0, 'newstate': 'new', 'oldstates': [], 'permissions': ['TICKET_ADMIN']}})

2015-01-28 10:13:41,021 Trac[api] DEBUG: T&E BEGIN Reports need an upgrade check
2015-01-28 10:13:41,021 Trac[reportmanager] DEBUG: T&E Checking for custom_report upgrade
2015-01-28 10:13:41,028 Trac[reportmanager] DEBUG: T&E END Checking for custom_report upgrade
2015-01-28 10:13:41,030 Trac[api] DEBUG: T&E END Reports need an upgrade check
2015-01-28 10:13:41,031 Trac[api] DEBUG: T&E NEEDS UP?: sys:False, rep:False, stats:False, fields:False, man:False
2015-01-28 10:13:41,031 Trac[db] DEBUG: SELECT value FROM system WHERE name='fullblog_version'
2015-01-28 10:13:41,032 Trac[main] DEBUG: Dispatching <RequestWithSession "GET '/'">
2015-01-28 10:13:41,033 Trac[webui] DEBUG: TimingAndEstimation billing_permission: REPORT_VIEW
2015-01-28 10:13:41,035 Trac[webui] DEBUG: T&E matched: /  None
2015-01-28 10:13:41,038 Trac[api] WARNING: Unable to find repository '(default)' for synchronization
2015-01-28 10:13:41,039 Trac[api] DEBUG: action controllers for ticket workflow: ['ConfigurableTicketWorkflow']
2015-01-28 10:13:41,040 Trac[chrome] DEBUG: Prepare chrome data for request
2015-01-28 10:13:41,042 Trac[perm] DEBUG: No policy allowed anonymous performing ACCTMGR_CONFIG_ADMIN on None
2015-01-28 10:13:41,042 Trac[perm] DEBUG: No policy allowed anonymous performing ACCTMGR_USER_ADMIN on None
2015-01-28 10:13:41,042 Trac[perm] DEBUG: No policy allowed anonymous performing THEME_ADMIN on None
2015-01-28 10:13:41,042 Trac[perm] DEBUG: No policy allowed anonymous performing TRAC_ADMIN on <Resource u'admin:general/basics'>
2015-01-28 10:13:41,043 Trac[perm] DEBUG: No policy allowed anonymous performing TRAC_ADMIN on <Resource u'admin:general/logging'>
2015-01-28 10:13:41,043 Trac[perm] DEBUG: No policy allowed anonymous performing PERMISSION_GRANT on <Resource u'admin:general/perm'>
2015-01-28 10:13:41,043 Trac[perm] DEBUG: No policy allowed anonymous performing PERMISSION_REVOKE on <Resource u'admin:general/perm'>
2015-01-28 10:13:41,043 Trac[perm] DEBUG: No policy allowed anonymous performing TRAC_ADMIN on <Resource u'admin:general/plugin'>
2015-01-28 10:13:41,043 Trac[perm] DEBUG: No policy allowed anonymous performing TICKET_ADMIN on <Resource u'admin:ticket/components'>
2015-01-28 10:13:41,043 Trac[perm] DEBUG: No policy allowed anonymous performing TICKET_ADMIN on <Resource u'admin:ticket/milestones'>
2015-01-28 10:13:41,043 Trac[perm] DEBUG: No policy allowed anonymous performing TICKET_ADMIN on <Resource u'admin:ticket/versions'>
2015-01-28 10:13:41,044 Trac[perm] DEBUG: No policy allowed anonymous performing TICKET_ADMIN on <Resource u'admin:ticket/priority'>
2015-01-28 10:13:41,044 Trac[perm] DEBUG: No policy allowed anonymous performing TICKET_ADMIN on <Resource u'admin:ticket/resolution'>
2015-01-28 10:13:41,044 Trac[perm] DEBUG: No policy allowed anonymous performing TICKET_ADMIN on <Resource u'admin:ticket/severity'>
2015-01-28 10:13:41,044 Trac[perm] DEBUG: No policy allowed anonymous performing TICKET_ADMIN on <Resource u'admin:ticket/type'>
2015-01-28 10:13:41,044 Trac[perm] DEBUG: No policy allowed anonymous performing VERSIONCONTROL_ADMIN on <Resource u'admin:versioncontrol/repository'>
2015-01-28 10:13:41,044 Trac[perm] DEBUG: No policy allowed anonymous performing BLOG_ADMIN on <Resource 'blog'>
2015-01-28 10:13:41,044 Trac[perm] DEBUG: No policy allowed anonymous performing TRAC_ADMIN on <Resource u'admin:ticket/workflowadmin'>
2015-01-28 10:13:41,044 Trac[perm] DEBUG: No policy allowed anonymous performing WORK_ADMIN on None
2015-01-28 10:13:41,045 Trac[perm] DEBUG: No policy allowed anonymous performing TICKET_CREATE on None
2015-01-28 10:13:41,046 Trac[perm] DEBUG: No policy allowed anonymous performing BLOG_VIEW on <Resource 'blog'>
2015-01-28 10:13:41,046 Trac[perm] DEBUG: No policy allowed anonymous performing WORK_VIEW on None
2015-01-28 10:13:41,048 Trac[perm] DEBUG: No policy allowed anonymous performing WIKI_MODIFY on <Resource u'wiki:WikiStart'>
2015-01-28 10:13:41,049 Trac[attachment] DEBUG: LegacyAttachmentPolicy denied anonymous access to <Resource u'wiki:WikiStart, attachment'>. User needs WIKI_MODIFY
2015-01-28 10:13:41,049 Trac[perm] DEBUG: LegacyAttachmentPolicy denies anonymous performing ATTACHMENT_CREATE on <Resource u'wiki:WikiStart, attachment'>
2015-01-28 10:13:41,069 Trac[perm] DEBUG: No policy allowed anonymous performing EMAIL_VIEW on None
2015-01-28 10:13:41,186 Trac[perm] DEBUG: No policy allowed anonymous performing WIKI_CREATE on <Resource u'wiki:WikiStart'>
2015-01-28 10:13:41,187 Trac[perm] DEBUG: No policy allowed anonymous performing WIKI_ADMIN on <Resource u'wiki:WikiStart'>
2015-01-28 10:13:41,273 Trac[perm] DEBUG: No policy allowed anonymous performing WIKI_DELETE on <Resource u'wiki:WikiStart'>
2015-01-28 10:13:41,273 Trac[perm] DEBUG: No policy allowed anonymous performing WIKI_RENAME on <Resource u'wiki:WikiStart'>
2015-01-28 10:13:43,390 Trac[main] DEBUG: Dispatching <RequestWithSession "GET '/login'">
2015-01-28 10:13:43,392 Trac[api] WARNING: Unable to find repository '(default)' for synchronization
2015-01-28 10:13:43,402 Trac[chrome] DEBUG: Prepare chrome data for request
2015-01-28 10:13:43,405 Trac[perm] DEBUG: No policy allowed anonymous performing ACCTMGR_CONFIG_ADMIN on None
2015-01-28 10:13:43,405 Trac[perm] DEBUG: No policy allowed anonymous performing ACCTMGR_USER_ADMIN on None
2015-01-28 10:13:43,405 Trac[perm] DEBUG: No policy allowed anonymous performing THEME_ADMIN on None
2015-01-28 10:13:43,405 Trac[perm] DEBUG: No policy allowed anonymous performing TRAC_ADMIN on <Resource u'admin:general/basics'>
2015-01-28 10:13:43,406 Trac[perm] DEBUG: No policy allowed anonymous performing TRAC_ADMIN on <Resource u'admin:general/logging'>
2015-01-28 10:13:43,406 Trac[perm] DEBUG: No policy allowed anonymous performing PERMISSION_GRANT on <Resource u'admin:general/perm'>
2015-01-28 10:13:43,406 Trac[perm] DEBUG: No policy allowed anonymous performing PERMISSION_REVOKE on <Resource u'admin:general/perm'>
2015-01-28 10:13:43,406 Trac[perm] DEBUG: No policy allowed anonymous performing TRAC_ADMIN on <Resource u'admin:general/plugin'>
2015-01-28 10:13:43,406 Trac[perm] DEBUG: No policy allowed anonymous performing TICKET_ADMIN on <Resource u'admin:ticket/components'>
2015-01-28 10:13:43,407 Trac[perm] DEBUG: No policy allowed anonymous performing TICKET_ADMIN on <Resource u'admin:ticket/milestones'>
2015-01-28 10:13:43,407 Trac[perm] DEBUG: No policy allowed anonymous performing TICKET_ADMIN on <Resource u'admin:ticket/versions'>
2015-01-28 10:13:43,407 Trac[perm] DEBUG: No policy allowed anonymous performing TICKET_ADMIN on <Resource u'admin:ticket/priority'>
2015-01-28 10:13:43,408 Trac[perm] DEBUG: No policy allowed anonymous performing TICKET_ADMIN on <Resource u'admin:ticket/resolution'>
2015-01-28 10:13:43,408 Trac[perm] DEBUG: No policy allowed anonymous performing TICKET_ADMIN on <Resource u'admin:ticket/severity'>
2015-01-28 10:13:43,408 Trac[perm] DEBUG: No policy allowed anonymous performing TICKET_ADMIN on <Resource u'admin:ticket/type'>
2015-01-28 10:13:43,408 Trac[perm] DEBUG: No policy allowed anonymous performing VERSIONCONTROL_ADMIN on <Resource u'admin:versioncontrol/repository'>
2015-01-28 10:13:43,409 Trac[perm] DEBUG: No policy allowed anonymous performing BLOG_ADMIN on <Resource 'blog'>
2015-01-28 10:13:43,409 Trac[perm] DEBUG: No policy allowed anonymous performing TRAC_ADMIN on <Resource u'admin:ticket/workflowadmin'>
2015-01-28 10:13:43,409 Trac[perm] DEBUG: No policy allowed anonymous performing WORK_ADMIN on None
2015-01-28 10:13:43,410 Trac[perm] DEBUG: No policy allowed anonymous performing TICKET_CREATE on None
2015-01-28 10:13:43,412 Trac[perm] DEBUG: No policy allowed anonymous performing BLOG_VIEW on <Resource 'blog'>
2015-01-28 10:13:43,412 Trac[perm] DEBUG: No policy allowed anonymous performing WORK_VIEW on None
2015-01-28 10:13:43,413 Trac[perm] DEBUG: No policy allowed anonymous performing EMAIL_VIEW on None
2015-01-28 10:13:48,233 Trac[main] DEBUG: Dispatching <RequestWithSession "POST '/login'">
2015-01-28 10:13:48,235 Trac[api] WARNING: Unable to find repository '(default)' for synchronization
2015-01-28 10:13:48,235 Trac[web_ui] DEBUG: LoginModule._remote_user: Authentication attempted for 'Mo'
2015-01-28 10:13:48,238 Trac[guard] DEBUG: AccountGuard.user_locked(Mo) = False (try left)
2015-01-28 10:13:48,241 Trac[web_ui] DEBUG: LoginModule.authenticate: Set 'REMOTE_USER' = 'Mo'
2015-01-28 10:13:48,241 Trac[session] DEBUG: Retrieving session for ID u'Mo'
2015-01-28 10:13:48,243 Trac[main] WARNING: [127.0.0.1] HTTPBadRequest: 400 Bad Request (Missing or invalid form token. Do you have cookies enabled?)
2015-01-28 10:13:48,273 Trac[chrome] DEBUG: Prepare chrome data for request
2015-01-28 10:13:48,276 Trac[perm] DEBUG: No policy allowed Mo performing ACCTMGR_CONFIG_ADMIN on None
2015-01-28 10:13:48,276 Trac[perm] DEBUG: No policy allowed Mo performing ACCTMGR_USER_ADMIN on None
2015-01-28 10:13:48,276 Trac[perm] DEBUG: No policy allowed Mo performing THEME_ADMIN on None
2015-01-28 10:13:48,277 Trac[perm] DEBUG: No policy allowed Mo performing TRAC_ADMIN on <Resource u'admin:general/basics'>
2015-01-28 10:13:48,277 Trac[perm] DEBUG: No policy allowed Mo performing TRAC_ADMIN on <Resource u'admin:general/logging'>
2015-01-28 10:13:48,277 Trac[perm] DEBUG: No policy allowed Mo performing PERMISSION_GRANT on <Resource u'admin:general/perm'>
2015-01-28 10:13:48,278 Trac[perm] DEBUG: No policy allowed Mo performing PERMISSION_REVOKE on <Resource u'admin:general/perm'>
2015-01-28 10:13:48,278 Trac[perm] DEBUG: No policy allowed Mo performing TRAC_ADMIN on <Resource u'admin:general/plugin'>
2015-01-28 10:13:48,278 Trac[perm] DEBUG: No policy allowed Mo performing TICKET_ADMIN on <Resource u'admin:ticket/components'>
2015-01-28 10:13:48,278 Trac[perm] DEBUG: No policy allowed Mo performing TICKET_ADMIN on <Resource u'admin:ticket/milestones'>
2015-01-28 10:13:48,279 Trac[perm] DEBUG: No policy allowed Mo performing TICKET_ADMIN on <Resource u'admin:ticket/versions'>
2015-01-28 10:13:48,279 Trac[perm] DEBUG: No policy allowed Mo performing TICKET_ADMIN on <Resource u'admin:ticket/priority'>
2015-01-28 10:13:48,279 Trac[perm] DEBUG: No policy allowed Mo performing TICKET_ADMIN on <Resource u'admin:ticket/resolution'>
2015-01-28 10:13:48,279 Trac[perm] DEBUG: No policy allowed Mo performing TICKET_ADMIN on <Resource u'admin:ticket/severity'>
2015-01-28 10:13:48,280 Trac[perm] DEBUG: No policy allowed Mo performing TICKET_ADMIN on <Resource u'admin:ticket/type'>
2015-01-28 10:13:48,280 Trac[perm] DEBUG: No policy allowed Mo performing VERSIONCONTROL_ADMIN on <Resource u'admin:versioncontrol/repository'>
2015-01-28 10:13:48,280 Trac[perm] DEBUG: No policy allowed Mo performing BLOG_ADMIN on <Resource 'blog'>
2015-01-28 10:13:48,281 Trac[perm] DEBUG: No policy allowed Mo performing TRAC_ADMIN on <Resource u'admin:ticket/workflowadmin'>
2015-01-28 10:13:48,281 Trac[perm] DEBUG: No policy allowed Mo performing WORK_ADMIN on None
2015-01-28 10:13:48,284 Trac[perm] DEBUG: No policy allowed Mo performing BLOG_VIEW on <Resource 'blog'>
2015-01-28 10:13:48,284 Trac[perm] DEBUG: No policy allowed Mo performing WORK_VIEW on None
2015-01-28 10:13:48,284 Trac[perm] DEBUG: No policy allowed Mo performing EMAIL_VIEW on None
$ cat /etc/nginx/nginx.conf |grep -v "^.*#"
user nginx nginx;
worker_processes 1;

error_log /var/log/nginx/error_log info;

events {
    worker_connections 1024;
    use epoll;
}

http {
    include /etc/nginx/mime.types;
    default_type application/octet-stream;

    log_format main
        '$remote_addr - $remote_user [$time_local] '
        '"$request" $status $bytes_sent '
        '"$http_referer" "$http_user_agent" '
        '"$gzip_ratio"';

    client_header_timeout 10m;
    client_body_timeout 10m;
    send_timeout 10m;

    connection_pool_size 256;
    client_header_buffer_size 1k;
    large_client_header_buffers 4 2k;
    request_pool_size 4k;

    gzip on;
    gzip_min_length 1100;
    gzip_buffers 4 8k;
    gzip_types text/plain;

    output_buffers 1 32k;
    postpone_output 1460;

    sendfile on;
    tcp_nopush on;
    tcp_nodelay on;

    keepalive_timeout 75 20;

    ignore_invalid_headers on;


        upstream trac-test {
                server  127.0.0.1:8000;
  }

        server {
                listen          80;
                server_name     trac-test;
                access_log      /var/log/nginx/live.access.log main;
                error_log       /var/log/nginx/live.error_log info;
                location / {
                    proxy_pass      http://trac-test;
                }
        }
        server {
                listen          443;
                server_name     trac-test;
                access_log      /var/log/nginx/live.access.log main;
                error_log       /var/log/nginx/live.error_log info;
                ssl                  on;
                ssl_certificate      /etc/ssl/nginx/nginx.crt;
                ssl_certificate_key  /etc/ssl/nginx/nginx.key;
                ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
                ssl_prefer_server_ciphers on;
                ssl_ciphers ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-DSS-AES128-GCM-SHA256:kEDH+AESGCM:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA:ECDHE-ECDSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-DSS-AES128-SHA256:DHE-RSA-AES256-SHA256:DHE-DSS-AES256-SHA:DHE-RSA-AES256-SHA:AES128-GCM-SHA256:AES256-GCM-SHA384:ECDHE-RSA-RC4-SHA:ECDHE-ECDSA-RC4-SHA:AES128:AES256:RC4-SHA:HIGH:!aNULL:!eNULL:!EXPORT:!DES:!3DES:!MD5:!PSK;
                ssl_dhparam /etc/ssl/nginx/nginx.dh4096.pem;
                keepalive_timeout    70;
                add_header           Front-End-Https    on;
                location / {
                    proxy_pass      http://trac-test;
                }
        }













}

Attachments (1)

trac.log (22.0 KB) - added by massimo.b@… 10 years ago.
trac.log

Download all attachments as: .zip

Change History (8)

comment:1 in reply to:  description ; Changed 10 years ago by Steffen Hoffmann

Never seen a longer issue description before. Thanks for taking care.

However I'll break down your initial description into more readable pieces. And I beg you to attach big chunks of text as file attachments instead as well. It makes dealing with the information more convenient.

I'm still clueless due to your initial statement

Replying to massimo.b@…:

The Login works in Firefox-35, but not on IE9. The default http-auth of Trac works in both browsers.

How does it (not) work with different browsers differently? Sure thing, the request will fail, if the Trac form token is not verified correctly. Can you explain something about the missing-cookie complaint yourself?

Am I supposed to track this down by reading just just one request log? After all you complained about a difference, so could you include a second request log, declare your test setup for both as well as the difference for extra clarity, please?

Specific IE9 representation of relevant Trac pages could yield some hints too, so page source as interpreted by IE9 could be helpful as well.

Changed 10 years ago by massimo.b@…

Attachment: trac.log added

trac.log

comment:2 in reply to:  1 Changed 10 years ago by massimo.b@…

Replying to hasienda:

How does it (not) work with different browsers differently?

No, as I said, the standard http-auth authentication of tracd was working. Now I changed from tracd standalone to Nginx with uwsgi. For not depending on the webbrowser authentication I'm trying to change the authentication to some Authentication modules of AccountManagerPlugin:

For using my existing htdigest file I first tried this:

[account-manager]
#account_changes_notify_addresses = 
#authentication_url = /trac/authFile
force_passwd_change = true
generated_password_length = 12
htdigest_file = /mnt/data/trac/htpasswd/users.htdigest
htdigest_realm = trac-test
login_attempt_max_count = 3
#notify_actions = 
password_store = HtDigestStore
reset_password = true
user_lock_max_time = 86400
user_lock_time = 15
user_lock_time_progression = 2

(Isn't it possible to make the code blocks collapsible?)

The attached trac.log is from the login Request on IE9 only.

comment:3 Changed 10 years ago by anonymous

As next step I would like to change to SessionStore for maintaining passwords in the Postgres, accessible via pgAdmin.

Something else confusing: I like the LoginModule as replacement for the browsers http-auth dialog, also for easier user switching. But now the LoginModule seems to be default eventhough trac.web.auth.LoginModule = enable. I thought I must disable that for making acct_mgr.web_ui.LoginModule work, no?

Then I wonder about RegistrationModule. After registration, no email is sent via SMTP, not even after a while. Then after trying to login, the email gets sent with the confirmation code. Can I change that so after registration , the confirmation URL is sent directly as it is usual for other platforms?

Is there any trac forum for discussing simple issues and not bothering tickets?

comment:4 in reply to:  3 ; Changed 10 years ago by Steffen Hoffmann

Replying to anonymous:

As next step I would like to change to SessionStore for maintaining passwords in the Postgres, accessible via pgAdmin.

It makes user credentials less re-usable, but it has benefits as well, your choice. There are a few wiki documentation pages (AccountManagerPlugin/AuthStores, CookBook/AccountManagerPluginConfiguration) to consider for reference when starting auth store configuration, you know?

Something else confusing: I like the LoginModule as replacement for the browsers http-auth dialog, also for easier user switching. But now the LoginModule seems to be default eventhough trac.web.auth.LoginModule = enable. I thought I must disable that for making acct_mgr.web_ui.LoginModule work, no?

One superseeds the other, and technically only one can be enabled at a time. So there is code to disable Trac core's LoginModule at runtime for a sane state, even if enabled in effective Trac configuration. You can confirm these actions in DEBUG logging on each Trac environment reload.

Then I wonder about RegistrationModule. After registration, no email is sent via SMTP, not even after a while. Then after trying to login, the email gets sent with the confirmation code. Can I change that so after registration , the confirmation URL is sent directly as it is usual for other platforms?

We'll need to get into more details here.

Is there any trac forum for discussing simple issues and not bothering tickets?

Sure thing: t:MailingList (trac-users) - and it is the preferred way for discussing installation and configuration issues indeed. Thanks for taking care to move into this direction.

comment:5 in reply to:  4 Changed 10 years ago by anonymous

Replying to hasienda:

Then I wonder about RegistrationModule. After registration, no email is sent via SMTP, not even after a while. Then after trying to login, the email gets sent with the confirmation code. Can I change that so after registration , the confirmation URL is sent directly as it is usual for other platforms?

We'll need to get into more details here.

What details? I like to get an Email to the registering user after registration. I know the account_changes_notify_addresses and this is working, but the main issue is that the registering user does not get an email after registration. The email gets sent after the first unseccessful (because unconfirmed) login. That is unusual.

Can you say something to the main issue, that IE9 cannot login? Is this an issue of my nginx configuration rewriting http to https and having the server in /trac?

comment:6 Changed 10 years ago by anonymous

I changed now to a multi-project trac with this uwsgi and setting *PARENT_DIR

[uwsgi]
plugins = python27
chown-socket = trac:nginx
uid = trac
gid = trac
workers = 2
socket = /run/uwsgi/%n.sock
env = TRAC_ENV_PARENT_DIR=/mnt/data/trac/projects
env = PYTHON_EGG_CACHE=/mnt/data/trac/.python-eggs
module = trac.web.main
callable = dispatch_request

And the account manager using the same htdigest_file in both projects:

[account-manager]
force_passwd_change = true
generated_password_length = 12
htdigest_file = /mnt/data/trac/htpasswd/users.htdigest
htdigest_realm = project-pb
login_attempt_max_count = 3
password_store = HtDigestStore
reset_password = true
user_lock_max_time = 86400
user_lock_time = 15
user_lock_time_progression = 2

However now I got a new problem, that sometimes the Login button is there and sometimes after reload not...-> #12167

comment:7 Changed 8 years ago by Ryan J Ollos

Owner: Steffen Hoffmann deleted

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The ticket will remain with no owner.

Add Comment


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

 
Note: See TracTickets for help on using tickets.