On Jul 31, 2007, at 3:00 PM, Noah Kantrowitz wrote:
> 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 So I tried something similar, I'm simply modifying web/auth.py in _do_login. I tried your change: req.environ['REMOTE_USER_FULLNAME'] but I'm getting a "'ModPythonRequest' object has no attribute 'environ'" error. I also wasn't sure if req.remote_user was a standard Python thing or if that was being set somewhere else like in modpython_frontend.py. Steve Cochran Dartmouth College --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Trac Development" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-dev?hl=en -~----------~----~----~----~------~----~------~--~---
