Ticket #696 (assigned defect)

Opened 2 years ago

Last modified 2 years ago

web auth problems

Reported by: sbelmar@tmira.com Assigned to: anonymous (accepted)
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

Change History

09/07/06 19:57:48 changed by athomas

  • owner changed from athomas to coderanger.
  • component changed from TracHacks to AuthFormPlugin.

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

09/07/06 22:41:26 changed by coderanger

  • keywords set to needinfo.

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.

09/12/06 03:16:36 changed by sbelmar@tmira.com

  • owner changed from coderanger to anonymous.
  • status changed from new to assigned.

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.

(follow-up: ↓ 5 ) 09/12/06 04:19:40 changed by 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.

(in reply to: ↑ 4 ) 09/22/06 03:54:11 changed by marki

  • release changed from 0.10 to 0.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


Add/Change #696 (web auth problems)




Change Properties
Action