Opened 12 years ago

Closed 5 years ago

#696 closed defect (wontfix)

web auth problems

Reported by: sbelmar@… Owned by: Noah Kantrowitz
Priority: normal Component: AuthFormPlugin
Severity: normal Keywords: needinfo
Cc: Trac Release: 0.9


We have trac with authForm plugin running with tracd. In our LAN, it works fine, but when we want to login with other computer in the Internet, the main page is ok, but the login doesn't work. Thanks

Attachments (0)

Change History (6)

comment:1 Changed 12 years ago by Alec Thomas

Component: TracHacksAuthFormPlugin
Owner: changed from Alec Thomas to Noah Kantrowitz

You would have more success if you logged this ticket against the right component.

comment:2 Changed 12 years ago by Noah Kantrowitz

Keywords: needinfo added

Do you get some kind of error message? Possibly a traceback in the logs. I need more than "it's broken" to debug an issue.

comment:3 Changed 12 years ago by sbelmar@…

well, there is a "invalid username or password", after a minute of waiting.

In the log file, generated in debug mode, the LAN log in makes(sbelmar is a valid user): "04:52:31 PM Trac[session] DEBUG: Promoting anonymous session 41ec6db1cce3180a12127a7d to authenticated session for user sbelmar"

But, when I make a Internet log in, ther is no message in the log file.

I think there is a problem with the realm.

there are my conf files:

my trac.ini file:

ignore_missing_pages = false

name = tmira
descr = tmira Solutions
footer = tmira Solutions
url =
icon = common/trac.ico

log_file = trac.log
log_level = DEBUG
log_type = file

default_charset = iso-8859-15
ignore_auth_case = false
permission_store = DefaultPermissionStore
check_auth_ip = false
database = sqlite:db/trac.db
templates_dir = /usr/share/trac/templates
default_handler = WikiModule
metanav = login,logout,settings,help,about
mainnav = wiki,timeline,roadmap,browser,tickets,newticket,search
repository_dir = /usr/local/tmSis/

always_notify_updater = true
smtp_port = 25
smtp_password = 
smtp_enabled = true
smtp_replyto =
smtp_always_cc = 
smtp_server = localhost
always_notify_owner = true
always_notify_reporter = true
smtp_from =
smtp_user = 
use_short_addr = false
smtp_default_domain =
mime_encoding = quoted-printable

src = site/logo.png
height = 114
width = 175
link =
alt = tmira - trac

php_path = php
enscript_path = enscript
tab_width = 8
max_preview_size = 262144

render_unsafe_content = false
max_size = 262144

webadmin.* = enabled
ticketdelete.* = enabled
authform.web_ui.loginformmodule = enabled
trac.web.auth.loginmodule = disabled
authform.* = enabled

changeset_show_files = 0
ticket_show_details = false
default_daysback = 30

default_version = Version 1.0
default_component = tmBroadcast
default_type = Defecto
restrict_owner = true
default_owner = support
default_milestone = 0.5 - CanalSur
default_severity = Normal
default_priority = Normal

hide_properties = svk:merge"

users.htdigest line for an user:


A user into the trac:

"htdigest users.htdigest trac.tmira sbelmar"


comment:4 Changed 12 years ago by sbelmar@…

When I open my trac page, there is a login pop up window. In this window, I must log in with a valid user and it works, but the login page of authform doesn't recognize the valid users.

comment:5 in reply to:  4 Changed 12 years ago by marki

Trac Release: 0.100.9

Replying to

When I open my trac page, there is a login pop up window. In this window, I must log in with a valid user and it works, but the login page of authform doesn't recognize the valid users.

I have exactly the same problem: Additionally I have the HttpLoginViaRedirectPatch installed.


<Location /projects>
  SetHandler mod_python
  SetEnv PYTHON_EGG_CACHE /srv/trac/cache/
  PythonHandler trac.web.modpython_frontend
  PythonOption TracEnvParentDir /srv/trac/projects
  PythonOption TracUriRoot /projects
<LocationMatch "/projects/[^/]+/login.*">
  AuthType Basic
  AuthName "Trac"
  AuthUserFile /srv/www/htpasswd
  Require valid-user


webadmin.* = enabled
authform.* = enabled
trac.web.auth.LoginModule = disabled

comment:6 Changed 5 years ago by Ryan J Ollos

Resolution: wontfix
Status: newclosed

Plugin is deprecated as described on the AuthFormPlugin page.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Noah Kantrowitz.
The resolution will be deleted.

Add Comment

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

Note: See TracTickets for help on using tickets.