I like that my session eventually is killed if I sit idle too long, but I really hate having to navigate back to where I was after logging into OpenAudIT again. It would be nice if the the login detected that you were forcefully logged out and redirect you to where you were before. I made a few modifications to include_ldap_login.php and ldap_login.php to make this work. I tested all the possibilities I could think of and it seems to work as expected.
Attached are patches for the two files, or the the fully modified files for anyone interested.
Edit: Well, that was kind of a big oversight on my part with GET variables...lol. Anyway, fixed my oversight. Though it seems a bit hackish now. Oh well, it works and I cannot seem to break it.
_________________ OA Server: Debian Squeeze w/ Apache2 Auditing: 700 Workstations, 250 or so Retail Terminals, about 75 Servers OS's: Windows XP/2003/2008/2008 R2/Vista/7, Debian LDAP: Active Directory 2008 R2
|