The most common issue with this authentication error message is that the project (iCar) does not reflect the PATH of your project (case sensitive)
In orther words: "trac-admin /path/to/myproject" means that tracd --auth should be invoked with: "tracd --auth myproject,..." Is your project stored in a .../iCar directory ? The documentation used to be a bit confusing on this point: iCar is the directory name, not the project name. HTH, Manu On 6/19/06, Stueker, Dirk, Dr. (K-GEFE/F) <[EMAIL PROTECTED]> wrote:
Hi, I am having trouble configuring the authentification of my project. What I did so far: ==================================================================== 1. I added permissions for user estueke using tracd and the permission command: I removed permissions for user anonymous so only WIKI_VIEW is active: Welcome to trac-admin 0.9.5 Interactive Trac adminstration console. Copyright (c) 2003-2006 Edgewall Software Type: '?' or 'help' for help on commands. Trac [E:\trac]> permission list User Action -------------------------- anonymous BROWSER_VIEW anonymous CHANGESET_VIEW anonymous FILE_VIEW anonymous LOG_VIEW anonymous MILESTONE_VIEW anonymous REPORT_SQL_VIEW anonymous REPORT_VIEW anonymous ROADMAP_VIEW anonymous SEARCH_VIEW anonymous TICKET_CREATE anonymous TICKET_MODIFY anonymous TICKET_VIEW anonymous TIMELINE_VIEW anonymous WIKI_VIEW estueke REPORT_ADMIN estueke ROADMAP_ADMIN estueke TICKET_ADMIN estueke WIKI_ADMIN ==================================================================== 2. I generated a users.htdigest file using the python-script described at http://projects.edgewall.com/trac/wiki/TracStandalone ==================================================================== 3. I changed my startup-options to use authentification: E:\trac>python c:\programme\Python23\Scripts\tracd --port 8000 --auth iCar,E:\trac\users.htdigest,trac e:\trac ==================================================================== The result was not as expected. One the one hand, user anonymous is not able to change Wikipages any more - this is as it should be. One the other hand I cannot call the Login-Page (Server-page not found on client side), on the server side I get the following errormessage: localhost - - [19/Jun/2006 09:30:52] "GET / HTTP/1.1" 200 - localhost - - [19/Jun/2006 09:30:56] "GET /trac HTTP/1.1" 200 - localhost - - [19/Jun/2006 09:30:57] "GET /trac/chrome/common/css/trac.css HTTP/1.1" 200 - localhost - - [19/Jun/2006 09:30:57] "GET /trac/chrome/common/css/wiki.css HTTP/1.1" 200 - localhost - - [19/Jun/2006 09:30:57] "GET /trac/chrome/common/js/trac.js HTTP/1.1" 200 - localhost - - [19/Jun/2006 09:30:57] "GET /trac/chrome/common/css/code.css HTTP/1.1" 200 - localhost - - [19/Jun/2006 09:30:57] "GET /trac/chrome/common/topbar_gradient.png HTTP/1.1" 200 - localhost - - [19/Jun/2006 09:30:57] "GET /trac/chrome/common/trac_banner.png HTTP/1.1" 200 - localhost - - [19/Jun/2006 09:30:57] "GET /trac/chrome/common/trac_logo_mini.png HTTP/1.1" 200 - localhost - - [19/Jun/2006 09:30:57] "GET /trac/chrome/common/dots.gif HTTP/1.1" 200 - localhost - - [19/Jun/2006 09:30:57] "GET /trac/chrome/common/topbar_gradient2.png HTTP/1.1" 200 - localhost - - [19/Jun/2006 09:30:57] "GET /trac/chrome/common/extlink.gif HTTP/1.1" 200 - ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 3514) Traceback (most recent call last): File "C:\PROGRA~1\Python23\lib\SocketServer.py", line 463, in process_request_thread self.finish_request(request, client_address) File "C:\PROGRA~1\Python23\lib\SocketServer.py", line 254, in finish_request self.RequestHandlerClass(request, client_address, self) File "C:\PROGRA~1\Python23\lib\SocketServer.py", line 521, in __init__ self.handle() File "C:\Programme\Python23\lib\BaseHTTPServer.py", line 324, in handle self.handle_one_request() File "C:\Programme\Python23\lib\BaseHTTPServer.py", line 318, in handle_one_request method() File "C:\PROGRA~1\Python23\Lib\site-packages\trac\web\standalone.py", line 259, in do_GET self._do_trac_req() File "C:\PROGRA~1\Python23\Lib\site-packages\trac\web\standalone.py", line 295, in _do_trac_req raise util.TracError('Authentication not enabled. ' TracError: Authentication not enabled. Please use the tracd --auth option. ============================================================================ ===================== Unfortunately the error message does not make sense, since I used the --auth option (see above). Does anybody have a clue what is going wrong? Any help is really appreciated. Thanks in advance Dirk _______________________________________________ Trac mailing list [email protected] http://lists.edgewall.com/mailman/listinfo/trac
-- Manu _______________________________________________ Trac mailing list [email protected] http://lists.edgewall.com/mailman/listinfo/trac
