Salut Hugh,

> > - is it possible to define default check and reply items like :
> > 
> >             Auth-Type = System
> >                 User-Service-Type = Framed-User,
> >                 Framed-Protocol = PPP,
> >                 Framed-Netmask = 255.255.255.0,
> >                 Framed-Routing = None,
> >                 Framed-MTU = 1500,
> >                 Ascend-Idle-Limit = 600     
> > 
> > for each user instead of defining them in users file ?
> 
> Sure - you can use AddToReply or AddToReplyIfNotExist in your AuthBy, or you
> can use cascaded AuthBy's. Tell me a bit more about what you want to do and
> I'll give you an example configuration file.
> 
> > In this case, do other entries in users file take precedence on default one ?
> 
> If you specify AddToReplyIfNotExist, the users file will take precedence.

What I would like is to define the minimum things in users database and define 
default check and reply items which can be overwritten by users entries.
I would like to defined the default check items :

 Auth-Type = System
 User-Service-Type = Framed-User

and the default reply items :
 
                Framed-Protocol = PPP,
                Framed-Address = 193.149.106.4,
                Framed-Netmask = 255.255.255.255,
                Framed-Routing = None,
                Framed-MTU = 1500,
                Ascend-Idle-Limit = 600       

I suppose that the only entry for certain users will be its login then ?

> Using the defintion in the standard Radiator dictionary is this:
> 
> p50fr           Password = "fdsfdsfsdf"
>       Service-Type = Framed-User,
>       Framed-Protocol = PPP,
>       Framed-Address = 193.149.103.161,
>       Framed-Netmask = 255.255.255.240,
>       Ascend-Idle-Limit = 300
> 
> You can either edit your users file to use the standard Radiator dictionary, or
> add User-Service-Type to the Radiator dictionary (its just a text file). Also
> notice that there is an error with a trailing comma "," after the 
> Password = "fdsfdsfsdf". 

Effectively, a comma after Password = "jjk" is an error but I don't understand 
since Service-Type is check item and in the Figure 6 (Typical user entry in a 
flat user database of 15.2), it is said : no comma at end of check item => I 
would put a comma after Password not after Service Type.

Thanks in advance for your help.                        Gildas.
-- 
Gildas PERROT, [EMAIL PROTECTED]         __o
FranceNet, 28 rue Desaix, 75015 Paris ---_ \<,_
http://www.francenet.fr            ---- (_)/ (_)



�
Archive at http://www.thesite.com.au/~radiator/
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.

Reply via email to