[Trac] Re: Authentication information not available. Please refer to the installation documentation.
On Sunday, March 16, 2014 6:58:33 PM UTC-7, auli...@gmail.com wrote: Ubuntu 12.04 LTS \n \l Welcome to trac-admin 0.12.2 Model Apache SVN TRAC /etc/apache2/sites-enable/trac: VirtualHost *:80 ServerName trac.firehare.name ServerAdmin ubuntu@gmail.com javascript: DocumentRoot /var/www/myproject Location / SetHandler mod_python PythonInterpreter main_interpreter PythonHandler trac.web.modpython_frontend PythonOption TracEnv /var/www/trac/ PythonOption TracUriRoot / SetEnv PYTHON_EGG_CACHE /tmp /Location Location / AuthType Basic### Don't worry about it, I use the directive tracd -p 8000 --basic-auth=/var/www/trac/,/var/www/trac/.htpasswd,trac /var/www/trac/ to start the trac AuthName CMET_WZU Trac Server AuthUserFile /var/www/trac/.htpasswd Require valid-user /Location ErrorLog /var/log/apache2/trac_errors.log CustomLog /var/log/apache2/trac_accesses.log common /VirtualHost I use the directive htpasswd -c /var/www/trac/.htpasswd admin to create the userfile and enter the password for admin but when I put in the directive trac-admin /var/www/trac permission list, I can''t get the information for admin : Creating a user for htpassword does not affect the permissions table. You'll need to use the permission add command to grant permission for the admin user. The admin user will have all the permissions of the meta-users anonymous and authenticated. Can you authenticated when running TracStandalone without the web server? Please try the following: tracd -p 8000 --basic-auth=trac,/var/www/trac/.htpasswd,trac /var/www/trac I think that base_project_dir needs to be the project name, not the project path. At least, the latter doesn't work for me when running TracStandalone. See http://trac.edgewall.org/wiki/TracStandalone#UsingAuthentication Another thing is that mod_python is deprecated and mod_wsgi should instead be used. http://trac.edgewall.org/wiki/TracModPython http://trac.edgewall.org/wiki/TracModWSGI -- You received this message because you are subscribed to the Google Groups Trac Users group. To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+unsubscr...@googlegroups.com. To post to this group, send email to trac-users@googlegroups.com. Visit this group at http://groups.google.com/group/trac-users. For more options, visit https://groups.google.com/d/optout.
Re: [Trac] Re: Authentication information not available. Please refer to the installation documentation.
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 17.03.2014 09:34, RjOllos wrote: Creating a user for htpassword does not affect the permissions table. You'll need to use the permission add command to grant permission for the admin user. The admin user will have all the permissions of the meta-users anonymous and authenticated. For clarity: It does not work automatically by using a reserved user name like 'admin', rather you'll get full permission assigned by executing the trac admin CLI like so: $ trac-admin path-to-trac-env permission add username TRAC_ADMIN See wiki documentation for more details on Trac permissions [1] and on the admin CLI [2] respectively. Steffen Hoffmann [1] http://trac.edgewall.org/wiki/TracPermissions [2] http://trac.edgewall.org/wiki/TracAdmin?version=21 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Icedove - http://www.enigmail.net/ iEYEARECAAYFAlMm/q4ACgkQ31DJeiZFuHe6rwCgrVxCAkyVg0J6+JQhE2/fpv5W 6dAAoJUVrMfLGPqNQSWixYdQ/bpUmzg1 =qT1z -END PGP SIGNATURE- -- You received this message because you are subscribed to the Google Groups Trac Users group. To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+unsubscr...@googlegroups.com. To post to this group, send email to trac-users@googlegroups.com. Visit this group at http://groups.google.com/group/trac-users. For more options, visit https://groups.google.com/d/optout.
[Trac] Re: Authentication information not available. Please refer to the installation documentation
Here's my understanding of this command: MediaLib the name of the project, matches the name I supplied when I ran trac-admin initenv (oddly, changing this to some other value seems to make no difference). Can you try with a wildard (* as the first argument in the triplet) ? Cheers, Manu --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[Trac] Re: Authentication information not available. Please refer to the installation documentation
Hi Manu, On 22 Nov 2007, at 19:07, Emmanuel Blot wrote: Here's my understanding of this command: MediaLib the name of the project, matches the name I supplied when I ran trac-admin initenv (oddly, changing this to some other value seems to make no difference). Can you try with a wildard (* as the first argument in the triplet) ? tracd -p 8000 --auth=*,./auth/password.txt,trac . Bingo! Works like a charm. Many thanks Manu. Cheers, Mark Dancer [EMAIL PROTECTED] --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[Trac] Re: Authentication information not available. Please refer to the installation documentation
Bingo! Works like a charm. Many thanks Manu. I suspect the project name / project file name duality stroke again ;-) I don't remember the implementation (and I'm working on an ISR routine bug so I can't have a look at Trac right now ;-)), but try replacing the project name with the project file name, or vice versa (rather than keeping the catch-all projects '*'). Cheers, Manu --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[Trac] Re: Authentication information not available. Please refer to the installation documentation
Hi Manu, On 22 Nov 2007, at 21:00, Emmanuel Blot wrote: I suspect the project name / project file name duality stroke again ;-) I don't remember the implementation (and I'm working on an ISR routine bug so I can't have a look at Trac right now ;-)), but try replacing the project name with the project file name, or vice versa (rather than keeping the catch-all projects '*'). tracd -p 8000 --auth=trac,./auth/password.txt,trac . works. This install has been a long and frustrating process, and now the problem is fixed I can see where I misread the install documentation (several times over, sigh...). I really appreciate the help you've given me. Regards, Mark Dancer [EMAIL PROTECTED] --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[Trac] Re: Authentication information not available. Please refer to the installation documentation
$ tracd -p 8000 -a=MediaLib,/Users/aelfric/Development/trac/auth/ digest.txt,trac /Urs/aelfric/Development/trac/ Looking at the help message: Usage: standalone.py [options] [projenv] ... Options: --version show program's version number and exit -h, --helpshow this help message and exit -a DIGESTAUTH, --auth=DIGESTAUTH [projectdir],[htdigest_file],[realm] --basic-auth=BASICAUTH ... It's either -a MediaLib,/Users/aelfric/Development/trac/auth/digest.txt,trac or --auth=MediaLib,/Users/aelfric/Development/trac/auth/digest.txt,trac I'm not sure the '=' syntax works with single character option switch HTH, Manu --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[Trac] Re: Authentication information not available. Please refer to the installation documentation
Hi Manu, On 21 Nov 2007, at 23:14, Emmanuel Blot wrote: $ tracd -p 8000 -a=MediaLib,/Users/aelfric/Development/trac/auth/ digest.txt,trac /Urs/aelfric/Development/trac/ It's either -a MediaLib,/Users/aelfric/Development/trac/auth/digest.txt,trac or --auth=MediaLib,/Users/aelfric/Development/trac/auth/digest.txt,trac I'm not sure the '=' syntax works with single character option switch Both of these return the Authentication information not available. error. Mark Dancer [EMAIL PROTECTED] --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[Trac] Re: Authentication information not available. Please refer to the installation documentation
I had the same problem a while ago. And this following command (exactly as it is) works well for me. tracd -p 8099 --auth=project1,/trac/project1/users,Tilda /trac/project1 Mark Dancer [EMAIL PROTECTED] wrote: Hi Manu, On 21 Nov 2007, at 23:14, Emmanuel Blot wrote: $ tracd -p 8000 -a=MediaLib,/Users/aelfric/Development/trac/auth/ digest.txt,trac /Urs/aelfric/Development/trac/ It's either -a MediaLib,/Users/aelfric/Development/trac/auth/digest.txt,trac or --auth=MediaLib,/Users/aelfric/Development/trac/auth/digest.txt,trac I'm not sure the '=' syntax works with single character option switch Both of these return the Authentication information not available. error. Mark Dancer [EMAIL PROTECTED] Mustafa Aldemir - Be a better pen pal. Text or chat with friends inside Yahoo! Mail. See how. --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[Trac] Re: Authentication information not available. Please refer to the installation documentation
On 22 Nov 2007, at 6:44, Mustafa Aldemir wrote: I had the same problem a while ago. And this following command (exactly as it is) works well for me. tracd -p 8099 --auth=project1,/trac/project1/users,Tilda /trac/ project1 I think that's the same command, allowing for differences in how the projects were set up. Here's what I'm currently doing. I set the current working directory to the directory containing the trac project using: cd /Users/aelfric/Development/trac/ which gives me the prompt: ~/Development/trac aelfric$ (I'm running on Mac OS X, so I actually use Open Terminal Here to create a terminal session with that directory as the cwd, but I did try explicitly running the cd command in a vanilla terminal session in case it made a difference). I then start tracd with the following command: tracd -p 8000 --auth=MediaLib,./auth/password.txt,trac . Here's my understanding of this command: MediaLib the name of the project, matches the name I supplied when I ran trac-admin initenv (oddly, changing this to some other value seems to make no difference). ./auth/password.txtthe path from the cwd to the authorization file trac the realm I used in the password file (which contains aelfric:trac:..., changing this value results in a warning message Warning: found no users in realm) . the path from the cwd to the directory for the current project (changing this results in an empty list of available projects) Cheers, Mark. --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---