Modify

Opened 18 years ago

Closed 11 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

Description

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 18 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 18 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 18 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:

[wiki]
ignore_missing_pages = false

[project]
name = tmira
descr = tmira Solutions
footer = tmira Solutions
url = www.tmira.com
icon = common/trac.ico

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

[trac]
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/

[notification]
always_notify_updater = true
smtp_port = 25
smtp_password = 
smtp_enabled = true
smtp_replyto = support@tmira.com
smtp_always_cc = 
smtp_server = localhost
always_notify_owner = true
always_notify_reporter = true
smtp_from = support@tmira.com
smtp_user = 
use_short_addr = false
smtp_default_domain = tmira.com
mime_encoding = quoted-printable

[header_logo]
src = site/logo.png
height = 114
width = 175
link = www.tmira.com
alt = tmira - trac

[mimeviewer]
php_path = php
enscript_path = enscript
tab_width = 8
max_preview_size = 262144

[attachment]
render_unsafe_content = false
max_size = 262144

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

[timeline]
changeset_show_files = 0
ticket_show_details = false
default_daysback = 30

[ticket]
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

[browser]
hide_properties = svk:merge"

users.htdigest line for an user:

"sbelmar:trac.tmira:c7c49595585fc079695894a636b77d10"

A user into the trac:

"htdigest users.htdigest trac.tmira sbelmar"

.thanks.

comment:4 Changed 18 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 18 years ago by marki

Trac Release: 0.100.9

Replying to sbelmar@tmira.com:

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.

Apache

<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
</Location>
<LocationMatch "/projects/[^/]+/login.*">
  AuthType Basic
  AuthName "Trac"
  AuthUserFile /srv/www/htpasswd
  Require valid-user
</LocationMatch>

trac.ini

[components]
webadmin.* = enabled
authform.* = enabled
trac.web.auth.LoginModule = disabled

comment:6 Changed 11 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
Action
as closed The owner will remain Noah Kantrowitz.
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.