Hello Okan -

On Thu, 03 Aug 2000, OKAN ARISU wrote:
> Thank alot Hugh.  I look at that sections.
> 
> I have a question in mymind;
> if i define two or more <AddressPool poo1>, <AddressPool poo2>.. 
in our <AddressAllocator> section, what is the command i should write in our
<AuthBy DYNADDRESS> to use pool1 or pool2 for one of my <AuthBy FILE> or
<AuthBy SQL> in our <AuthBy GROUP> sections.
> 
> There is a line saying 
> #PoolHint %{Reply:PoolHint}
> 
> For example, if i want to say use pool 1; is the correct command 
> 
> PoolHint %1
> 

There is an example in the file "goodies/addressallocator.cfg" in the
distribution. However, what happens is this: you will set up your AuthBy
DYNADDRESS clause(s) as the last step in whatever authentication processing you
are doing. In a previous AuthBy to the AuthBy DYNADDRESS you would do something
like this:

        <AuthBy ....>
                ......
                AddToReply  PoolHint = class1
        </AuthBy>

        <AuthBy DYNADDRESS>
                .....
        </AuthBy>

In other words, you add an attribute called PoolHint to the reply packet, the
value of which is used to identify which address pool to allocate the address
from. As shown in the example file, don't forget to remove the PoolHint
attribute before actually sending the reply packet.

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.

Reply via email to