On Thu, Jan 8, 2009 at 12:16 PM, Flatfender <[email protected]> wrote: > > Greetings, > > Background, we're getting ready to deploy Trac on Ubuntu 8.10, python > 2.5, and sqlite. Currently Ubuntu debs are at trac 0.11.0, though I > did most of my testing on 0.11.2(yeah, I found out later Ubuntu was > behind) Anyways where using Apache and NIS to provide authentication > and want to make sure that name and email address gets set without > users having to visit preferences and manually set it.
I recently deployed Trac, user credentials are retrieved from MS AD, but the auth is delegated to apache (authnz_ldap_module + ldap_module ;) BTW ... There is a configuration option (notifications : smtp_default_domain ... AFAICR) which sets the default host/domain to append to address that do not specify one > As an anonymous user Trac creates a session id and stores it in a > cookie(trac_form_token), and no where else. When a user > authenticates, a new value is created for trac_auth and stored in a > cookie, written to auth_cookie table and promote_session is called to > write the user as authenticated to the session table. So my thoughts > where to modify session.py to to call my code from promote_session. > Yes it's ugly, this was just to get things done so we could deploy. > Then after my python/trac skills where better I'd make it more elegant > to survive upgrades and not touch core code if possible. > AFAICR ... besides there is an extension to account manager plugin so that Trac be able to handle LDAP auth / login ... ... you might want to check out TracHacks.org for that ;) ... or maybe take a look at the source code ... I really hope this info be helpful to you ... :) -- Regards, Olemis. Blog ES: http://simelo-es.blogspot.com/ Blog EN: http://simelo-en.blogspot.com/ Featured article: Añadir gadgets de Google en entradas (artículos) de Blogger. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Trac Users" 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-users?hl=en -~----------~----~----~----~------~----~------~--~---
