Re: Pass variables between modules

2002-07-22 Thread 3APA3A

Dear [EMAIL PROTECTED],



--Monday, July 22, 2002, 6:26:38 PM, you wrote to [EMAIL PROTECTED]:


dcur> What manner is best for doing this?
dcur> I suppose that first module should set
dcur> some attributes in request, and second remove it... But how I should

Not in request but in configured items.

dcur> assign number to such internal attributes?

To  be  absolutely  correct  you should obtain private enterprise number
(PEN)  from  IANA,  to  add  your  own  dictionary  and  to  create  any
Vendor-specific attributes under your PEN.

But if you just need it to work and you don't care about possible future
incompatibility   you   can   add   some   large   unassigned  value  to
dictionary.freeradius (for example) or to take some unassigned PEN.


-- 
~/ZARAZA
ðÉÛÉÔÅ ÅÝÅ. é ÅÓÌÉ × ×ÁÛÅÊ ÐÅÔÉÃÉÉ ÉÍÅÌÓÑ ËÁËÏÊ-ÎÉÂÕÄØ
ÓÍÙÓÌ, ÔÏ, ÎÅ ÓÔÅÓÎÑÑÓØ, ÒÁÚßÑÓÎÉÔÅ × ÞÅÍ ÄÅÌÏ. (ô×ÅÎ)


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html



Pass variables between modules

2002-07-22 Thread dendy

Hi, all!
I need my own modules for freeradius, and want to pass some values, produced
by first module at authorization step, to second module which act later.

What manner is best for doing this?
I suppose that first module should set
some attributes in request, and second remove it... But how I should
assign number to such internal attributes?

Thanks.

-- 
Denis Tatarskikh [UdSU/MF] [UdSU/IC]mailto:[EMAIL PROTECTED]



- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html