Hello Cesar -

On Friday 08 June 2001 20:59, Cesar Garcia wrote:
> Hi all.
>
> I am using radiator and cisco, and all my users are in a LDAP database.
>
> If i want that get a dinamic IP from NAS pool, i reply this.
>
>       cisco-avpair="ip:addr-pool=pool1"
>
> and if i want anf Fixed IP for a user, i can reply
>
>       framed-ip-address = xxx.xxx.xxx.xxx
>
> OK, id like that if framedipaddress in LDAP  = 0 then reply
>       cisco-avpair="ip:addr-pool=pool1"
> and if = xxx.xxx.xxx.xxx, then reply
>       Framed-Ip-Address = xxx.xxx.xxx.xxx
>
> Any single Idea?
>

Use a PostAuthHook to do exactly what you describe above. There are some 
example hooks in the file "goodies/hooks.txt" in the Radiator distribution.

regards

Hugh


-- 
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