Hello Chris -
On Wed, 14 Jun 2000, System Operator wrote:
> I have a Default in my users file that is as follows:
>
> DEFAULT Auth-Type = "System"
> Port-Limit = 1,
> User-Service-Type = Framed-User,
> Framed-Protocol = PPP,
> Framed-Address = 255.255.255.254,
> Framed-Netmask = 255.255.255.255,
> Framed-Routing = None,
> Idle-Timeout = 900,
> Framed-Compression = Van-Jacobsen-TCP-IP,
> Framed-MTU = 1500
>
> When the user is not listed anywhere else in the users file and it uses default
> everything seems to work fine.
>
> The problem is if I have a user listed there they do not get all the Default replies.
> Example:
>
> In users file I have this
> testuser Auth-Type = "System"
> Port-Limit = 2,
> Framed-IP-Address = xxx.xxx.xxx.xx,
>
> When i look at the log file with lvl4 debug, I see this:
> *** Sending to 127.0.0.1 port 54751 ....
> Code: Access-Accept
> Identifier: 58
> Authentic: 1234567890123456
> Attributes:
> Framed-IP-Address = xxx.xxx.xxx.xx
> Port-Limit = 2
>
> Now comes the issue:
>
> When I start up Radiator I get this error message:
> Tue Jun 13 10:00:22 2000: ERR: Unknown keyword 'AddToReplyIfNotExist' in radius.cfg
>line 81
>
> That refers to the following that i have in my conf file:
>
> AddToReplyIfNotExist User-Service-Type = Framed-User,\
> Framed-Protocol = PPP,\
> Framed-IP-Netmask = 255.255.255.255,\
> Framed-Routing = None,\
> Framed-MTU = 1500,\
> Framed-Compression = Van-Jacobson-TCP-IP
>
AddToReplyIfNotExist is an AuthBy parameter. See section 6.15.8 in the Radiator
2.16.1 reference manual. Note that this routine has had some work done on it in
the latest release.
> My questions:
>
> 1) How do I get Radiator to use the *.pm files?(Add something else to the conf file?)
Not sure what you mean here - do you want to develop your own modules for
Radiator? If so have a look at section 17 in the manual.
> 2) Where should they be located?(Do I have to specify the location?)
>
The *.pm modules live in the "Radius" directory in the distribution, and they
get copied into the Perl file hierarchy with "make install" (do a "perl -V" to
see Perl's directory structure).
> I just want to add replies that they arent getting in the users file
>
AddToReply or AddToReplyIfNotExist are the correct way to do this.
hth
Hugh
--
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald,
Platypus, Freeside, Interbiller, TACACS+, PAM, external, etc, etc.
Available on Unix, Linux, FreeBSD, Windows 95/98/2000, NT, MacOS X.
===
Archive at http://www.starport.net/~radiator/
Announcements on [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.