DeLynn Berry | 1 Apr 2005 19:35

Windows Install Questions

Hello everyone,

I recently downloaded and installed Trac at my office and everything
appeared to be working correctly until I tried to create a new ticket.
The ticket appears to be submitted, but the ticket is not saved into the
system. The same thing occurs when trying to modify, delete or add
milestones.

I thought this might be a permissions issue at first, so I have played
around with setting the "authenticated" user with TRAC_ADMIN as well as
setting other individual permissions. I then decided to try setting
these same permissions on a specific user, but this didn't work either.
The odd thing about this, is that the Wiki seem to work as expected.

So, my question is, has anyone run up against this type of problem
before with Trac? My setup is as follows:

Windows 2000 Server
Apache 2
Authenticating with the SSPI module to a Active Directory domain.

Thanks for the help.

--

-- 
DeLynn Berry
delynnb@...
Matthew Good | 1 Apr 2005 21:29

Re: Windows Install Questions

On Fri, 2005-04-01 at 10:35 -0700, DeLynn Berry wrote:
> Hello everyone,
> 
> I recently downloaded and installed Trac at my office and everything
> appeared to be working correctly until I tried to create a new ticket.
> The ticket appears to be submitted, but the ticket is not saved into the
> system. The same thing occurs when trying to modify, delete or add
> milestones.
> 
> I thought this might be a permissions issue at first, so I have played
> around with setting the "authenticated" user with TRAC_ADMIN as well as
> setting other individual permissions. I then decided to try setting
> these same permissions on a specific user, but this didn't work either.
> The odd thing about this, is that the Wiki seem to work as expected.
> 
> So, my question is, has anyone run up against this type of problem
> before with Trac? My setup is as follows:
> 
> Windows 2000 Server
> Apache 2
> Authenticating with the SSPI module to a Active Directory domain.
> 
> Thanks for the help.

This may be related to http://projects.edgewall.com/trac/ticket/1168

Try the solution found in there to put:

 SSPIBasicPreferred On

(Continue reading)

Kevin T. Broderick | 1 Apr 2005 22:33

Re: Trac Wiki - Multiple Users

On Mar 29, 2005, at 10:31 AM, Matthew Good wrote:

> On Tue, 2005-03-29 at 16:45 +0200, Andreas Braumann wrote:
>> Andreas Braumann wrote:
>>> Emmanuel Blot wrote:
>>>
>>>
>>> Actually, a message on top of the edit window stating "User blah is
>>> editing the page right now" would be enough, then the user can 
>>> decide to
>>> call him/postpone his edit/whatever.
>>
>> Replying to myself as there was no response yet on this idea. What do
>> you think about it? Just providing informational means that somebody 
>> is
>> right now editing the file.
>>
>
> Well, there's still no good way to determine when the user stops 
> editing
> the page, unless they save it.  If the simply navigate away from the
> page the server won't know.  Even if there is some JavaScript to keep
> the server notified while a user is on the edit page, the user can 
> still
> leave the browser open to that page indefinitely.  I think that a
> merging solution would be the best, but implementing that probably 
> won't
> be a quick fix.
>

(Continue reading)

DeLynn Berry | 1 Apr 2005 22:40

RE: Windows Install Questions

I actually already had that option in my Apache config. Here is my
location directives:

AuthType SSPI
AuthName "Trac"
SSPIAuth On
SSPIAuthoritative On
SSPIBasicPreferred On
SSPIDomain **********
SSPIOmitDomain On
SSPIOfferBasic On
Require valid-user

I'm thinking about just trying basic authentication with a password file
and see if that works. I'll let you know if that changes anything.

Thanks for your help,

DeLynn

> -----Original Message-----
> From: trac-bounces@... 
> [mailto:trac-bounces@...] On Behalf Of Matthew Good
> Sent: Friday, April 01, 2005 12:29 PM
> To: trac@...
> Subject: Re: [Trac] Windows Install Questions
> 
> 
> On Fri, 2005-04-01 at 10:35 -0700, DeLynn Berry wrote:
> > Hello everyone,
(Continue reading)

Matthew Good | 1 Apr 2005 23:07

RE: Windows Install Questions

On Fri, 2005-04-01 at 13:40 -0700, DeLynn Berry wrote:
> I actually already had that option in my Apache config. Here is my
> location directives:
> 
> AuthType SSPI
> AuthName "Trac"
> SSPIAuth On
> SSPIAuthoritative On
> SSPIBasicPreferred On
> SSPIDomain **********
> SSPIOmitDomain On
> SSPIOfferBasic On
> Require valid-user
> 
> I'm thinking about just trying basic authentication with a password file
> and see if that works. I'll let you know if that changes anything.
> 
> Thanks for your help,
> 
> DeLynn

Yeah, go ahead and try out the htpasswd file for authentication to make
sure everything else is working.  The other option for authenticating to
a Windows domain is through LDAP.  The Active Directory server should
provide an LDAP interface, so you can use the Apache LDAP modules to
authenticate that way as well.

--

-- 
Matthew Good <trac@...>
(Continue reading)

Noah Slater | 1 Apr 2005 23:09
Picon

Re: Trac Wiki - Multiple Users

Fantastic idea. I love it.

On Apr 1, 2005 9:33 PM, Kevin T. Broderick <kbroderick@...> wrote:
> On Mar 29, 2005, at 10:31 AM, Matthew Good wrote:
> 
> > On Tue, 2005-03-29 at 16:45 +0200, Andreas Braumann wrote:
> >> Andreas Braumann wrote:
> >>> Emmanuel Blot wrote:
> >>>
> >>>
> >>> Actually, a message on top of the edit window stating "User blah is
> >>> editing the page right now" would be enough, then the user can
> >>> decide to
> >>> call him/postpone his edit/whatever.
> >>
> >> Replying to myself as there was no response yet on this idea. What do
> >> you think about it? Just providing informational means that somebody
> >> is
> >> right now editing the file.
> >>
> >
> > Well, there's still no good way to determine when the user stops
> > editing
> > the page, unless they save it.  If the simply navigate away from the
> > page the server won't know.  Even if there is some JavaScript to keep
> > the server notified while a user is on the edit page, the user can
> > still
> > leave the browser open to that page indefinitely.  I think that a
> > merging solution would be the best, but implementing that probably
> > won't
(Continue reading)

DeLynn Berry | 2 Apr 2005 00:08

RE: Windows Install Questions

Well, setting it up to use a password file does not work either. I'm
seeing the exact same behaviour. Have any other ideas?

Thanks,

DeLynn

> -----Original Message-----
> From: trac-bounces@... 
> [mailto:trac-bounces@...] On Behalf Of Matthew Good
> Sent: Friday, April 01, 2005 2:07 PM
> To: trac@...
> Subject: RE: [Trac] Windows Install Questions
> 
> 
> On Fri, 2005-04-01 at 13:40 -0700, DeLynn Berry wrote:
> > I actually already had that option in my Apache config. Here is my 
> > location directives:
> > 
> > AuthType SSPI
> > AuthName "Trac"
> > SSPIAuth On
> > SSPIAuthoritative On
> > SSPIBasicPreferred On
> > SSPIDomain **********
> > SSPIOmitDomain On
> > SSPIOfferBasic On
> > Require valid-user
> > 
> > I'm thinking about just trying basic authentication with a password 
(Continue reading)

Paul Bennett | 2 Apr 2005 00:40
Picon

Re: Windows Install Questions

Although I'm pretty sure this will work, try filling in a new ticket
and click "Preview." Does the screen refresh with a preview of your
ticket information at the bottom?

Also, after you click "Submit ticket," can you describe what your
screen looks like? What page are you looking at? Are there any errors
or tracebacks listed?

I'm just guessing, but it sounds like trac isn't able to write to the
Sqlite database. Perhaps you're having a permissions problem on the
trac environment directory?

Paul

On Apr 1, 2005 5:08 PM, DeLynn Berry <delynnb@...> wrote:
> Well, setting it up to use a password file does not work either. I'm
> seeing the exact same behaviour. Have any other ideas?
> 
> Thanks,
> 
> DeLynn
> 
> > -----Original Message-----
> > From: trac-bounces@...
> > [mailto:trac-bounces@...] On Behalf Of Matthew Good
> > Sent: Friday, April 01, 2005 2:07 PM
> > To: trac@...
> > Subject: RE: [Trac] Windows Install Questions
> >
> >
(Continue reading)

DeLynn Berry | 2 Apr 2005 01:40

RE: Windows Install Questions

> Although I'm pretty sure this will work, try filling in a new 
> ticket and click "Preview." Does the screen refresh with a 
> preview of your ticket information at the bottom?

Actually it didn't work. Previewing the ticket acts the same way as
doing any other create/edit/delete--I immediately go back to the main
page for the project. There are no errors that are generated either on
screen or in the log files.

> I'm just guessing, but it sounds like trac isn't able to 
> write to the Sqlite database.

That's what I've been thinking too, but what's odd is that the
create/edit/delete of the Wiki works as it should. I've verified that
the wiki is writing out to the database as well.

> Perhaps you're having a 
> permissions problem on the trac environment directory?

The trac environment directory is owned by the local administrator and
I've set the "everyone" group to have Full Control on the directory.
Apache2 is started by the LocalSystem account, so I'm sure the
permissions there are okay as well. Is there a configuration or
permission that needs to be set with SQLite maybe?

DeLynn

> -----Original Message-----
> From: trac-bounces@... 
> [mailto:trac-bounces@...] On Behalf Of Paul Bennett
(Continue reading)

Paul Bennett | 2 Apr 2005 03:33
Picon

Re: Windows Install Questions

Are you using ModPython? If so, take a look at this ticket
http://projects.edgewall.com/trac/ticket/1101. And quoted from the
referenced wiki page:

"If you're experiencing problems submitting some of the forms in Trac
(a common problem is that you get redirected to the start page after
submission), check whether your DocumentRoot contains a folder or file
with the same path that you mapped the mod_python handler to. For some
reason, mod_python gets confused when it is mapped to a location that
also matches a static resource."

If you're not using ModPython, then maybe you can post the relative
sections of your Apache configuration file and I'll see how it
compares to mine.

I don't think there are any permissions necessary for the sqlite
database, but I'm sure someone will correct me if I'm wrong.

Paul

On Apr 1, 2005 6:40 PM, DeLynn Berry <delynnb@...> wrote:
> > Although I'm pretty sure this will work, try filling in a new
> > ticket and click "Preview." Does the screen refresh with a
> > preview of your ticket information at the bottom?
> 
> Actually it didn't work. Previewing the ticket acts the same way as
> doing any other create/edit/delete--I immediately go back to the main
> page for the project. There are no errors that are generated either on
> screen or in the log files.
> 
(Continue reading)


Gmane