Hello Randy -


Many thanks for sending us the patch.

Mike is away for a week or so, but he will look at it when he returns.

regards

Hugh


On Thursday, Jul 3, 2003, at 11:19 Australia/Melbourne, Brown, Randy wrote:


As received, Radiator 3.6 does not allow the effective gid of the radiusd process to be set using a symbolic group name. Only a numeric gid works. Here is a patch to fix:

*** radiusd-    Thu Jul  3 00:30:42 2003
--- radiusd     Thu Jul  3 00:31:39 2003
***************
*** 495,501 ****
      if (defined $config->{Group})
      {
        my $gid = $config->{Group};
!       $gid = (getpwnam($config->{Group}))[2]
            if ($config->{Group} !~ /^\d+$/);
        if (defined $gid)
        {
--- 495,501 ----
      if (defined $config->{Group})
      {
        my $gid = $config->{Group};
!       $gid = (getgrnam($config->{Group}))[2]
            if ($config->{Group} !~ /^\d+$/);
        if (defined $gid)
        {

---
Randy Brown
Principal Security Engineer
Cable & Wireless
www.cw.com

email           [EMAIL PROTECTED]
telephone       +1-510-749-7035
===
Archive at http://www.open.com.au/archives/radiator/
Announcements on [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.



NB: have you included a copy of your configuration file (no secrets), together with a trace 4 debug showing what is happening?

--
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. Available on *NIX, *BSD, Windows 95/98/2000, NT, MacOS X.
-
Nets: internetwork inventory and management - graphical, extensible,
flexible with hardware, software, platform and database independence.

===
Archive at http://www.open.com.au/archives/radiator/
Announcements on [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.

Reply via email to