Alan,<br><br>I tried that prior and I just confirmed it.<br><br>I have the following two rows in my radcheck table and I made sure the natural sort, without the id, that Session-Timeout comes before Login-Time and I still always get the Login-Time timespan diff as my Session-Timeout value.  Interestingly enough when I debug on the server I see no debug output for rlm_logintime module.  Was this module not included in 
1.1.1 because when I look at the cvs source code I see where the check is made and see tons of DEBUG statements that are not showing up on my console.<br><br>Below is an example from my database and test.<br><br>radcheck<br>
id user attrib op value<br>3 freeunlimited Session-Timeout := 120<br>4 freeunlimited Login-Time := Thu-2030-2130,Fri-1300-1600<br><br>radtest<br>response: Access-Accept<br>------- attrib dump------<br>Session-Timeout=9060
<br><br>Adam<br><br><div><span class="gmail_quote">On 9/29/06, <b class="gmail_sendername">Alan DeKok</b> <<a href="mailto:aland@deployingradius.com">aland@deployingradius.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
"Adam Tybor" <<a href="mailto:adam.tybor@gmail.com">adam.tybor@gmail.com</a>> wrote:<br>> I remember reading somewhere that in cases of both attributes being used,<br>> the most restrictive should be returned, however this is not happening.  Can
<br>> someone confirm what the real implementation is? We are running freeradius<br>> 1.1.1 on a Gentoo linux platform.<br><br>  If you set Session-Time *before* Login-Time, the Login-Time code<br>does the right thing.  If you set Session-Time *after* Login-Time,
<br>then you have to check the values manually.<br><br>  Alan DeKok.<br>--<br>  <a href="http://deployingradius.com">http://deployingradius.com</a>       - The web site of the book<br>  <a href="http://deployingradius.com/blog/">
http://deployingradius.com/blog/</a> - The blog<br>-<br>List info/subscribe/unsubscribe? See <a href="http://www.freeradius.org/list/users.html">http://www.freeradius.org/list/users.html</a><br></blockquote></div><br>