You can force people* to log on in Trac if you apply the Apache authentication rule to the projet root URL rather than applying it on the "/login" subtree. This way, people will get a popup the first time they try to reach your Trac project URL without having to click on the login link.
*: ALL people, this means that no "anonymous" user will be able to access you project I don't think it is possible to achieve the second request, that is using an old password, deprecated passwords to keep accessing Trac. This kind of black magic may be possible for IE users and SSPI authentication (which is known to have issues...), but I would not recommend it. You could write your own authentication plugin to do so, but this seems a weird idea: a compromised account would never be removed for example Cheers, Manu On 10/30/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Currently, I'm working through the painful process of configuring > Authentication via MS Active Directory, but I have a question about > Trac logins in general. > > Is there anyway to automatically log someone into a project provided > they are allowed to see it in the first place? > > >From what I can tell so far, following the instructions in the > TracGuide will still require the user to do the following to login to > trac project: > > * Click on the Login link > * Enter their username/password > > Now, I realize they can save this information in the browser of their > choice and they will be automatically logged in while the username/ > password combo remains valid. However, we require that users change > their windows/network passwords every 30 days. This would mean they > would be prompted to re-enter their credentials the next time they > went into Trac. That would annoy me. > > Is there anyway to have Trac work in the following manner: > > * Go to your Trac project site > * Be authenticated via Apache/LDAP > * If you are authorized to see the project, you are logged in > > No need to pop up and ask for a password. > > That's ultimately how I would like my implementation of Trac to work - > I just need to know if there's something extra I need - a plugin or > whatever. > > Thanks > > Drew Kulick > > > > > -- Manu --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
