Hi all,

I'm following the instructions at http://trac-hacks.org/wiki/LdapPlugin to
install LdapPlugin on our local Trac project.  We have previously had Trac
running using the Tracd.py server but want to take advantage of our local
LDAP in setting up user permissions and the like.

We are running Apache 2.2.8, Python 2.4, Trac 0.10, and using mod_wsgi as
our Python/Apache link.  Our OS is Windows 2003 Server.

I have been successful in getting the WSGI connection to work and bringing
up our project's webpage without setting up any LDAP authentication.  Now
I've installed the plugin per the instructions, but it appears that the
installation process hasn't loaded everything it should have.  I'm unable to
restart Apache.

Here are the lines from our httpd.conf file that pertain to the LDAP
authentication and LdapPlugin settings:

<Location "C:/projects/trac/ccc_solutions">
   PythonOption TracEnv "C:/projects/trac/ccc_solutions"
   PythonOption TracUriRoot "/ccc_solutions"
   AuthType Basic
   AuthName "ccc_solutions"
   AuthBasicProvider ldap
   Order Allow,Deny
   Allow from All
   AuthLDAPURL "<ldapURL>"
   AuthzLDAPAuthoritative off
   Require valid-user
</Location>

Commenting out the two "PythonOption" lines results in Apache starting (but
without the LDAP authentication).  Leaving them there results in the
following error from the Apache error log.

[Mon Apr 21 16:25:07 2008] [notice] Parent: Received restart signal --
Restarting the server.
Syntax error on line 502 of C:/Program Files/Apache Software
Foundation/Apache2.2/conf/httpd.conf:
Invalid command 'PythonOption', perhaps misspelled or defined by a module
not included in the server configuration
[Mon Apr 21 16:25:07 2008] [notice] Child 4068: Exit event signaled. Child
process is ending.
[Mon Apr 21 16:25:07 2008] [warn] (OS 995)The I/O operation has been aborted
because of either a thread exit or an application request.  : winnt_accept:
Asynchronous AcceptEx failed.
[Mon Apr 21 16:25:08 2008] [notice] Child 4068: Released the start mutex
[Mon Apr 21 16:25:09 2008] [notice] Child 4068: All worker threads have
exited.
[Mon Apr 21 16:25:09 2008] [notice] Child 4068: Child process is exiting

I didn't get any error messages when I was running setup.py to install
LdapPlugin-0.5.1dev-py2.4.egg.  But it seems that somewhere in that
installation may be where the error lies.

Any help or advice you can offer would be most welcome.

-- 
Jamie Fellrath

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-users@googlegroups.com
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