+1999-08-23 Miquel van Smoorenburg (miquels@cistron.nl)
+
+ * src/main/auth.c: Login-Time check: set Session-Timeout to
+ at least 60 seconds (some terminal servers ignore smaller values)
+ * src/lib/valuepair.c: fix gettime()
+ * src/main/proxy.c: call proxy_cleanup in both send and recv funcs
+
1999-08-21 Miquel van Smoorenburg (miquels@cistron.nl)
* configure.in: check for GNU Make
if (isupper(*p)) *p = tolower(*p);
p = buf;
- y = mystrtok(&p, " \t");
- m = mystrtok(&p, " \t");
d = mystrtok(&p, " \t");
+ m = mystrtok(&p, " \t");
+ y = mystrtok(&p, " \t");
if (!y || !m || !d) return 0;
for (i = 0; i < 12; i++) {
* user may login at this time of the day.
*/
r = timestr_match(check_item->strvalue, time(NULL));
- if (r < 0) {
+ /*
+ * Session-Timeout needs to be at least
+ * 60 seconds, some terminal servers
+ * ignore smaller values.
+ */
+ if (r < 60) {
/*
* User called outside allowed time interval.
*/
auth_name(request, 1),
check_item->strvalue);
} else if (r > 0) {
+
/*
* User is allowed, but set Session-Timeout.
*/
char *realmname;
/*
- * First copy the request, then look up
+ * First cleanup old outstanding requests.
+ */
+ proxy_cleanup();
+
+ /*
+ * Copy the request, then look up
* name and (encrypted) password in the copy.
*/
vps = paircopy(request->packet->vps);
accounting stage.
o UPDATE accounting requests aren't handled as in 1.5.4.3 for wtmp
Is this a problem ? Need to fix in rlm_unix.c
+o Fix potentially long locks on radutmp file by radcheck thread
MEDIUM PRIORITY:
o Provide a way to define the locations of all files (/etc/raddb/radiusd.conf?)