Re: (RADIATOR) Attribute Length

2001-06-23 Thread Hugh Irvine
Title: Re: (RADIATOR) Attribute
Length



Hello Brandon -

At 1:42 AM -0700 6/22/01, Brandon wrote:
I checked
there but didn't find an example that I could use.   Im
worried that if I do a:
  
$rp->delete_attr('Proxy-State');
That it
will strip all the proxy-state attributes and not just the one sent
by the last pass through customer.
 



You will need to walk the attribute table and do whatever is
required. Have a look at the source code to see how Radiator does it
("Radius/AttrVal.pm").



And also, I
saw nothing in their about attribute length or any examples.  Do
you think you can give me an
example on
how to change attribute 242 (Ascend Data Filter) from 28 to 26
characters.
 

I suggest you get a copy of the Camel book (Programming Perl,
O'Reilly).

If you would like me to develop some code for you, you will need
to send us a specification and a purchase order.

regards

Hugh


--


NB:
I am travelling this week, so there may be delays in our
correspondence.

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.



Re: (RADIATOR) Attribute Length

2001-06-22 Thread Brandon
Title: Re: (RADIATOR) Attribute Length



I checked there but didn't find an example that I 
could use.   Im worried that if I do a:
   
$rp->delete_attr('Proxy-State');
That it will strip all the proxy-state attributes 
and not just the one sent by the last pass through customer.
 
And also, I saw nothing in their about attribute 
length or any examples.  Do you think you can give me an
example on how to change attribute 242 (Ascend Data 
Filter) from 28 to 26 characters.
 
Brandon
 

  - Original Message - 
  From: 
  Hugh Irvine 

  To: Brandon ; [EMAIL PROTECTED] 
  Sent: Friday, June 22, 2001 12:35 
AM
  Subject: Re: (RADIATOR) Attribute 
  Length
  
  
  Hello Brandon -
  
  You can do both these things in a PostAuthHook.
  
  There are some examples in the file "goodies/hooks.txt".
  
  hth
  
  Hugh
  
  
  At 1:54 AM -0700 6/21/01, Brandon wrote:
  Ive had a request to 
reduce attribute 242 (Ascend Data Filter) from 28 to 26 
  characters.
  Anyone have any idea 
how to do this?
   
  Also, any idea how to 
strip off the 2nd proxy-state attribute when a request is proxied mutiple 
levels?
   
  BrandonDialup USA, 
Inc.
  
  -- 
  
  NB: I am 
travelling this week, so there may be delays in our 
  correspondence.
  Radiator: 
the most portable, flexible and configurable RADIUS serveranywhere. 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.


Re: (RADIATOR) Attribute Length

2001-06-22 Thread Hugh Irvine
Title: Re: (RADIATOR) Attribute
Length



Hello Brandon -

You can do both these things in a PostAuthHook.

There are some examples in the file
"goodies/hooks.txt".

hth

Hugh


At 1:54 AM -0700 6/21/01, Brandon wrote:
Ive had a
request to reduce attribute 242 (Ascend Data Filter) from 28 to 26
characters.
Anyone have
any idea how to do this?
 
Also, any
idea how to strip off the 2nd proxy-state attribute when a request is
proxied mutiple levels?
 
Brandon
Dialup USA, Inc.


--


NB:
I am travelling this week, so there may be delays in our
correspondence.

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.



(RADIATOR) Attribute Length

2001-06-21 Thread Brandon



Ive had a request to reduce attribute 242 (Ascend 
Data Filter) from 28 to 26 characters.
Anyone have any idea how to do this?
 
Also, any idea how to strip off the 2nd proxy-state 
attribute when a request is proxied mutiple levels?
 
BrandonDialup USA, 
Inc.