The easiest way will be to make a plugin that has a new IAuthenticator. Specifically you want to inherit from trac.web.auth.LoginModule and override _do_login. s/req.remote_user/ req.environ['REMOTE_USER_FULLNAME'].
--Noah On Jul 31, 2007, at 9:09 AM, De La Camara Juan Matias wrote: > > Hi, Maria... this file must be into conf dir. Is relative to your > project: > > /<path to my project>/conf/trac.ini > > (this is for *ux, I guess in windows it could be: C:\<path to my > project>\conf\trac.ini ) > > -----Mensaje original----- > De: trac-users@googlegroups.com [mailto:trac- > [EMAIL PROTECTED] En nombre de marianeko > Enviado el: Lunes, 30 de Julio de 2007 07:58 p.m. > Para: Trac Users > Asunto: [Trac] Re: help me installing trac in my office please > > > Hello, thanks to users that help me to figure installing trac out, i > finally arrive with that and i´m seeing my trac project page in > localhost. Now i have other challenge, i want to make configurationes > in trac.ini, but, to my surprise, i can not found such file. Is it due > to a mistake on the installation? (I hope not) or i have to run a > special command to make it. > > María > > > On 30 jul, 16:22, "De La Camara Juan Matias" > <[EMAIL PROTECTED]> wrote: >> You could try with Apache. It works fine! >> >> -----Mensaje original----- >> De: trac-users@googlegroups.com [mailto:trac- >> [EMAIL PROTECTED] En nombre de marianeko >> Enviado el: Lunes, 30 de Julio de 2007 06:17 p.m. >> Para: Trac Users >> Asunto: [Trac] Re: help me installing trac in my office please >> >> Juan, Thanks you for your help, i´m finally figuring it out. You >> were >> right, i was executing that command in the wrong way. I use the >> comand >> md because i´m creating de directory to initialize the variables, but >> i definitively was executing it in the wrong directory. I executed >> the >> next line: >> trac-admin.py e:\Projects\project_maria\ initenv >> and it finally created the correct project and the prompts >> messages of >> the process appeared, with a final message of congratulations. After >> that i executed the stand alone comand: . >> tracd --port 8000 e:\Projects\project_maria >> and i´m trying in the explorer with the linkhttp://localhost:8000 >> but it is taking a lot of time, so i think that there are still a >> problem, but it is not anymore something in the initenv command. >> I will keep on trying. >> >> maría >> >> On 30 jul, 15:23, "De La Camara Juan Matias" >> >> >> >> <[EMAIL PROTECTED]> wrote: >>> Ok, Maria. I have another question (this is not so stupid ;) >> >>> Why do you start your command with "md"? >> >>> md in Windows command line syntax is "create directory". >> >>> Indeed, your python script could run because is configured the >>> system to >>> use the correct interpreter. >> >>> Btw, are you executing this command from the correct path? >>> Because you >>> are using relative paths (trac\my-project). >> >>> -----Mensaje original----- >>> De: trac-users@googlegroups.com [mailto:trac- >>> [EMAIL PROTECTED] En >>> nombre de marianeko >>> Enviado el: Lunes, 30 de Julio de 2007 05:16 p.m. >>> Para: Trac Users >>> Asunto: [Trac] Re: help me installing trac in my office please >> >>> Juan, there are not stupid questions! actually i think that the >>> problem is there, in the initev command, because when i execute the >>> command: >> >>> md trac\Python24\Scripts\trac-admin.py trac\my-project initenv >> >>> i do not see the prompts messages of the process, even if the files >>> are created those ones appears empty, so i guess it is normal to do >>> not see anything at the explorer if the files are empty. Anyway, >>> i do >>> not have any idea why this is happening because i have follow the >>> steps before successfully. Being honest, this is the first time >>> that i >>> install an aplication with line comands, so i do not have >>> experience. >> >>> Maria >> >>> On 30 jul, 15:00, "De La Camara Juan Matias" >> >>> <[EMAIL PROTECTED]> wrote: >>>> Hi, Maria. Stupid question I have. Have you executed succefully the >>>> initenv command? >> >>>> If you read this link:http://trac.edgewall.org/ticket/370 >>>> You'll find the correct command line in Windows is something like >>> this: >>>> "D:\Python23\Scripts>python trac-admin C:\pathtomyproject >>>> initenv" >> >>>> Regards. >> >>>> Juan Matias >> >>>> -----Mensaje original----- >>>> De: trac-users@googlegroups.com [mailto:trac- >>>> [EMAIL PROTECTED] >>> En >>>> nombre de marianeko >>>> Enviado el: Lunes, 30 de Julio de 2007 04:28 p.m. >>>> Para: Trac Users >>>> Asunto: [Trac] Re: help me installing trac in my office please >> >>>> The problem persists, thanks anyway. I think that the problem is >>>> from >>>> many steps before. Some body knows a guide to install trac that >>>> works >>>> on windows? it would be helpful, because I am new at this. >> >>>> Maria >> >>>> On 30 jul, 12:57, "Greg Luce" <[EMAIL PROTECTED]> wrote: >> >>>>> The syntax I believe is more like from E:\Python24> python >>>>> Scripts\trac-admin e:\TracProjects\(Project Name)\ initenv >> >>>>> I'm new at this but I had to get creative with that step too. I >>> think >>>>> "python" is a command. >> >>>>> Greg >> >>>>> On 7/30/07, marianeko <[EMAIL PROTECTED]> wrote: >> >>>>>> The problem persists, I try it giving in >>>>>> tracd.py -p 8000 E:\Python24\Scripts\trac\my-project >>>>>> without the -s, because it did not work with the -s. There is not >>>>>> error anymore but it appears in the browser the phrase Available >>>>>> Projects and nothing else, so I still think that there is a >>> problem. >>>>>> Thanks anyway, i will keep on trying. >> >>>>>> On 30 jul, 12:08, Purnank <[EMAIL PROTECTED]> wrote: >>>>>>> On 7/30/07, marianeko <[EMAIL PROTECTED]> wrote: >> >>>>>>>> I have followed all the steps from the manual installation in >>>> the Trac >>>>>>>> on Windows link and I think that the problems is when I >>> execute >>>> de >>>>>>>> following line: >>>>>>>> md trac \Python24\Scripts\trac-admin.py trac\my-project >>> initenv >>>>>>>> to inicializate the new project environment. This line is >>>> supposed >>>>>>>> to configurate the environment to create a project, but when i >>>> execute >>>>>>>> the line: >>>>>>>> tracd.py -p 8000 C:\Python24\Scripts\trac\my-project and >>>> after >>>>>>>> that I try it in the explorer it appears the next error: >> >>>>>>> Try giving in >> >>>>>>> tracd.py -p 8000 E:\Python24\Scripts\trac >>>>>>> or >>>>>>> tracd.py -p 8000 E:\Python24\Scripts\trac\my-project -s >> >>>>>>> "the -s is for stand alone" >> >>>>>>> my-project: Error >> >>>>>>>> ([Errno 2] No such file or directory: >>>>>> 'E:\\Python24\\Scripts\\trac\\my- >>>>>>>> project\\VERSION') >> >>>>>>>> Why is this question happening?. People in my office is very >>>>>>>> interested on use trac to organize the projects and I have >>> learn >>>> a lot >>>>>>>> about how use trac but i have not been able to instale it yet. >> >>>>>>> -- >>>>>>> ~~~~~~~~~~~~~~~~~~~~~~ >>>>>>> Purnank H Ghumalia >>>>>>> Sr. Software Engineer >>>>>>> NXP Semiconductors >>>>>>> ~~~~~~~~~~~~~~~~~~~~~~- Ocultar texto de la cita - >> >>>>> - Mostrar texto de la cita -- Ocultar texto de la cita - >> >>>> - Mostrar texto de la cita -- Ocultar texto de la cita - >> >>> - Mostrar texto de la cita -- Ocultar texto de la cita - >> >> - Mostrar texto de la cita - > > > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---