(RADIATOR) Ip asignement and LDAP

Hugh Irvine hugh at open.com.au
Fri Jun 8 19:59:15 CDT 2001


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 radiator-announce at open.com.au
To unsubscribe, email 'majordomo at open.com.au' with
'unsubscribe radiator' in the body of the message.


More information about the radiator mailing list