Marco!
First of all, thank you for such a quick reply.
I understand what you are saying but I am not sure thats how it supposed to work. What my contrib essentially does is hooking the trac environment into the webserver templates and ensuring that the login uses the names/passwords of the SME users and that the 'admin' user has TRAC_ADMIN rights. Beyond that it is really only the Trac access control system and I don't think it was designed to be really secure. The way I use it, is on internal company LAN's where generally most users (anonymous) are allowed to view most of the Trac environment and the project users are the ones that have write access to the rest. And even then, my biggest use for Trac is mainly the Subversion source code browsing and changesets viewing and a little bit of the ticket system.
Thanks for clearing this up. What we did after finding this out was to add a field to the "Trac Project Environment" form called "Allow Anonymous Access?" which is set to 'Yes' by default so that anonymous users can view the Wiki, Tickets etc. If a user sets this to 'No', then Trac will prompt for authentication even for viewing the Wiki etc. This has been achieved by modifying the httpd.conf template to include the authentication related directives under the <Location /projectenv> directive instead of the <Location /projectenv/login> directive when the user choses to disable anonymous access.
The following files have been modified for this:
/etc/e-smith/web/panels/manager/cgi-bin/trac
/etc/e-smith/locale/en-us/etc/e-smith/web/functions/trac
/usr/lib/perl5/site_perl/esmith/FormMagick/Panel/trac.pm
/etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/29TracProjects
Please let me know if you wish to review our changes for possible inclusion in your contrib.
Have a look at the /var/log/messages log file and see if there are any messages from Trac in there. Particularly look at the moment when the Trac environment starts up (system start up) and/or when the 'admin' user logs in.
Also, are you sure that the trac rpm that was installed, was the one from the smecontribs area and not the one from the 'dag' or 'atrpms' repositiries as those ones don't have the WebAdmin installed by default.
Thanks for this pointer. We had accidentally installed a copy of the WebAdmin plugin before realizing that it is already built into your contrib. And now we have a version conflict as per our logs - would look into it.
Again, these is more a Trac question and goes beyond what the smeserver-trac contrib does. Other than the webadmin plugin as a default install and a special patch to allow the sme user authentication, it is the normal Trac environment and additional Trac Plugins should work (assuming they are compativle with the Trac version). De current stable trac version from the smecontribs area is 0.10.4
Just wanted to check that there is no heavy black magic that you were using - will try out some plugins that we have installed on our existing Trac installation and see how they play with this contrib - will keep you posted.
We live by Trac and use all it's features extensively - we are migrating Trac from an existing installation to our SME server and your contrib is a big timesaver - so thanks again!