Hi,

I am facing a new problem with this. To ensure my clarity about the
knowledge about TRAC installation process, I deleted and uninstalled
every thing from my computer and went through the same process once
again, now it gives me that old authentication error again. For you
all, I will state all the steps I went through and guys, please see if
i am missing anything here.

What I am suspecting is, I clicked so many thing while I was learning
the installation process 1st time and unwilling I might have done
something which needs to be done again and I am missing that
particular step. Please have a look and figure that out for me.

Thanks a lot for being patient and reading my post.

Steps:

Install python-2.4.4
Install ez_setup
Change System PATH Variable to: C:\Python24\Scripts
Install trac-0.10.4.win32
Rename C:\Python24\Scripts\trac-admin to trac-admin.py
Rename C:\Python24\Scripts\tracd to tracd.py
Install pysqlite-2.3.2.win32-py2.4
cmd -> cd C:\Python24\Scripts --> E:\Development\TRAC\done
\clearsilver-0.9.14.win32-py2.4.exe
Create a folder Project inside C:\
Open Command prompt and go to C:\Python24\Scripts Type trac-admin.py
C:\Project initenv
Follow instructions
Copy authzpolicy.conf and trac.ini to C:\Project\conf
Copy trac-digest.py and configobj.py to C:\Python24\Scripts
Install configobj.py
cmd --> C:\Python24\Scripts --> trac-digest.py -u adm -p testtest >> C:
\digest.txt
cmd --> tracd.py --port 8000 --auth=Projects,C:\digest.txt,trac C:
\Project
cmd --> C:\Python24\Scripts --> tracd.py -p 8000 C:\Project
----------------------------

------authzpolicy.conf-------------
# vim: syntax=dosini
[groups]
administrators = athomas, cboos

[*/attachment:*]
* = TICKET_VIEW

[wiki:wikist...@117]
* =

[wiki:wikist...@*]
@administrators = WIKI_ADMIN
anonymous = WIKI_VIEW
* = WIKI_VIEW

[wiki:PageTemplates/*]
* =

# Match everything else
[*]
@administrators = TRAC_ADMIN
anonymous = BROWSER_VIEW, CHANGESET_VIEW, FILE_VIEW, LOG_VIEW,
MILESTONE_VIEW, POLL_VIEW, REPORT_SQL_VIEW, REPORT_VIEW, ROADMAP_VIEW,
SEARCH_VIEW, TICKET_CREATE, TICKET_MODIFY, TICKET_VIEW, TIMELINE_VIEW,
WIKI_CREATE, WIKI_MODIFY, WIKI_VIEW
authenticated = REPO_SEARCH, XML_RPC
-------------------------------------
--------------trac.ini------------------
# -*- coding: utf-8 -*-

[attachment]
max_size = 262144
render_unsafe_content = false

[browser]
downloadable_paths = /trunk, /branches/*, /tags/*
hide_properties = svk:merge
render_unsafe_content = false

[changeset]
max_diff_bytes = 10000000
max_diff_files = 0
wiki_format_messages = true

[header_logo]
alt =
height = -1
link = http://example.org/
src = common/trac_banner.png
width = -1

[logging]
log_file = trac.log
# log_format = <set in global trac.ini>
log_level = DEBUG
log_type = none

[mimeviewer]
enscript_modes = text/x-dylan:dylan:4
enscript_path = enscript
max_preview_size = 262144
mime_map = text/x-dylan:dylan,text/x-idl:ice,text/x-ada:ads:adb
php_path = php
silvercity_modes =
tab_width = 8

[notification]
always_notify_owner = false
always_notify_reporter = false
always_notify_updater = true
mime_encoding = base64
smtp_always_bcc =
smtp_always_cc =
smtp_default_domain =
smtp_enabled = false
smtp_from = t...@localhost
smtp_password =
smtp_port = 25
smtp_replyto = t...@localhost
smtp_server = localhost
smtp_subject_prefix = __default__
smtp_user =
use_public_cc = false
use_short_addr = false
use_tls = false

[project]
descr = My example project
footer = Visit the Trac open source project at<br /><a href="http://
trac.edgewall.org/">http://trac.edgewall.org/</a>
icon = common/trac.ico
name = My Project
url = http://example.org/

[search]
min_query_length = 3

[ticket]
default_component =
default_milestone =
default_priority = major
default_type = defect
default_version =
restrict_owner = false

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

[trac]
authz_file = C:/Project/conf/
authz_module_name = modulename
base_url =
check_auth_ip = true
database = sqlite:db/trac.db
default_charset = iso-8859-15
default_handler = WikiModule
htdocs_location =
ignore_auth_case = false
mainnav = wiki,timeline,roadmap,browser,tickets,newticket,search
metanav = login,logout,settings,help,about
permission_policies = AuthzPolicy, DefaultPermissionPolicy,
LegacyAttachmentPolicy
permission_store = DefaultPermissionStore
repository_dir =
repository_type = svn
# request_filters = <set in global trac.ini>
# templates_dir = <set in global trac.ini>
timeout = 20

[wiki]
ignore_missing_pages = false
render_unsafe_content = false
split_page_names = false

[components]
webadmin.* = enabled
authz_policy = enabled

[account-management]
module = trac.Account
enabled = true
registration_enabled = true
password_format = htdigest
password_file = C:/digest.txt
htdigest_realm = trac

[authz_policy]
authz_file = C:/Project/conf/authzpolicy.conf
------------------------



On Jan 6, 12:50 pm, KoLLoL <[email protected]> wrote:
> Thanks a lot. This worked for me. :)
>
> On Mon, Jan 5, 2009 at 6:13 PM, Emmanuel Blot <[email protected]> wrote:
>
> > > I tried my best to solve this problem. The help files are talking
> > > about a trac-digest.py file which should help me to create the
> > > htdigest file where the authentication information will be stored. I
> > > was unable to find this file anywhere in my python/trac installation/
> > > project locations. I assumed that it might take some module or add-on
> > > to work with this file.
>
> > Here it is:
>
> >http://trac.edgewall.org/wiki/TracStandalone#GeneratingPasswordsWitho...
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to