Opened 11 years ago

Closed 10 years ago

# Form based login does not work with standalone

Reported by: Owned by: Scott Grayban Matt Good normal AccountManagerPlugin normal 0.10

### Description

I follwooed the directions to use the form based login and I still get the HTTP AUTH popup window.

[components]


Tried everything and nothing works. Verified in the web admin screen that the standard trac login was disabled.

### comment:1 Changed 11 years ago by Scott Grayban

And I even changed from the htdigest to the htpasswd format.

### comment:3 Changed 11 years ago by Scott Grayban

As stated in the bug this is for the standalone tracd.

You can't disable Location.

### comment:4 Changed 11 years ago by Matt Good

Resolution: → worksforme new → closed

It's not possible to use the AccountManager login form with tracd in Trac 0.9. You'll need to upgrade to Trac 0.10 to use the AccountManager login form with tracd.

### comment:5 Changed 11 years ago by Matt Good

Priority: highest → normal blocker → normal

Please reserve elevated priority/severity for serious crasher issues.

### comment:6 Changed 11 years ago by Scott Grayban

Priority: normal → highest worksforme normal → blocker closed → reopened 0.9 → 0.10

I am using .10 I forgot to change the trac release here -- don't belive me? Go to http://dev-1.borgforge.net/castpodder

It simply does not work. I have tried everything.

### comment:7 Changed 11 years ago by Matt Good

Priority: highest → normal → worksforme blocker → normal reopened → closed

Upgrade Trac to the latest revision of the trunk, and make sure you're not using the "--auth" or "--basic-auth" methods so that tracd does not try to require HTTP authentication.

In any case there's nothing that can be done in the AccountManagerPlugin since it has no control over tracd's HTTP authentication. And as I said before this is not a "blocker" issue, so please don't change the priority/severity.

### comment:8 Changed 11 years ago by Scott Grayban

Priority: normal → highest worksforme normal → blocker closed → reopened

You keep closing this ticket... Its a bug no matter what you say.

First off if you aren't suppose to use "—auth" or "—basic-auth" you don't say this in YOUR directions. Second if you don't have "—auth" or "—basic-auth" then where does your plugin store the passwords at?

The "—auth" or "—basic-auth" tell tracd where to look for the passwords. If I can't set the file locations there where do I set them?

Come on now.. you give 30% help and 5% install instructions. Get it all out in steps WHAT IS REQUIRED TO INSTALL.

This is simply insane for a plugin. I have no problems with others since they give FULL install instructions.

This is a blocker until YOU give install instructions correctly. Its not my fault your lazy.

### comment:9 Changed 11 years ago by Scott Grayban

So now I follow what you siad and disabled the auth and I get the error

Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 335, in dispatch_request
dispatcher.dispatch(req)
File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 191, in dispatch
req.authname = self.authenticate(req)
File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 145, in authenticate
authname = authenticator.authenticate(req)
File "build/bdist.linux-i686/egg/acct_mgr/web_ui.py", line 160, in wrap
File "build/bdist.linux-i686/egg/acct_mgr/web_ui.py", line 167, in authenticate
AttributeError: can't set attribute


### comment:10 Changed 11 years ago by Matt Good

Priority: highest → normal → worksforme blocker → normal reopened → closed

You've installed the plugin for 0.9 on a 0.10 version of Trac. Please install the correct version.

### comment:11 Changed 11 years ago by Scott Grayban

Now I get a blank trac

### comment:12 follow-up:  13 Changed 11 years ago by Scott Grayban

Resolution: worksforme closed → reopened

The error is (('Invalid module name', 'acct_mgr.admin '))

### comment:13 in reply to:  12 Changed 11 years ago by Matt Good

Resolution: → worksforme reopened → closed

The error is (('Invalid module name', 'acct_mgr.admin '))

I believe that this should be fixed by r1067. The plugin now requires the trac:WebAdmin plugin, so make sure you've installed it as well.

However, since this has now gotten off the original issue of using tracd with the plugin, please open a new ticket if you have other issues.

### comment:14 Changed 11 years ago by Scott Grayban

Ok and make sure you tell everyone in your install to remove the "—auth" or "—basic-auth" for the startup param's in tracd.

You still have not done that. And you need to tell them that trac:WebAdmin is required for .10 also.

### comment:15 Changed 11 years ago by Scott Grayban

Well I had that plugin installed already. Something is broke between your last version and the one for trac .10

I even reinstalled the webadmin plugin again and same thing.

If I use .96 everything is ok for .10 its dead.

### comment:16 Changed 11 years ago by Scott Grayban

Resolution: worksforme closed → reopened

Thanks for the lack of help. You should stop writing code if you aren't going to properly support you stuff.

### comment:17 Changed 11 years ago by anonymous

FYI --- after messing with this for 9 hours I learned the correct install when upgrading at least from .96 to .10

1. Update the setuptools.
2. DO NOT use the htpasswd auth for this plugin -- it doesn't work, htdigest worked fine

Doing this got it working for me in the 0.10 version.

### comment:18 Changed 11 years ago by Matt Good

Resolution: → worksforme reopened → closed

### comment:19 follow-up:  21 Changed 10 years ago by anonymous

Resolution: worksforme closed → reopened

It seems like the "maintainer" is failing to recognise that there is actually a bug. Why does htpasswd not work?

Dismissing multiple times as "worksforme" is pretty poor form.

However, I still have the bug, and would actually like to know how to fix it.

### comment:20 Changed 10 years ago by Scott Grayban

Resolution: → wontfix reopened → closed

htpasswd does not work at all for the 0.10 version at all. I tried more ways then one to try getting this to work and finally gave up. I guess something in the newer code prevents the htpasswd from working but I never could figure out how to fix that.

htdigest is the only AUTH form this plugin works with for 0.10 or higher.

### comment:21 in reply to:  19 Changed 10 years ago by Matt Good

Why does htpasswd not work?

I use htpasswd on my test and production sites with Trac 0.10, so it does work, but that's not what this ticket is about. If you're having problems specifically with htpasswd please open a new ticket with a description of your environment and configuration and the specific error you're having.

### Modify Ticket

Change Properties