Hello,
I recently had to work with squid_rad_auth 1.07 on a Linux machine, which
needed to talk to a radius server on Solaris 8. I couldn't get the thing
to work properly, and after lots of searching I found out that there is a
difference between the ports defined for radius in /etc/services on Linux
and Solaris. On Linux, the default radius port is 1812, on Solaris it's
1645. On Linux, this port is called 'datametrics'.
So in order to avoid problems like this, I propose the following (trivial)
change to squid_rad_auth.c:
diff squid_radius_auth-1.07/squid_rad_auth.c
squid_radius_auth-1.07-joost/squid_rad_auth.c
76a77
> static char svc_name[MAXLINE] = "radius";
166a168,169
> if (!memcmp(line, "service", 7))
> sscanf(line, "service %s", svc_name);
343d345
< const char *svc_name = "radius";
362c364
< svc_name = optarg;
--- > strcpy(svc_name, optarg); This adds an option 'service' in the squid_rad_auth.conf file. JoostReceived on Mon Sep 19 2005 - 03:21:27 MDT
This archive was generated by hypermail pre-2.1.9 : Sat Oct 01 2005 - 12:00:03 MDT