Hi Fernando,
On Apr 26, 6:14pm, Fernando Martin wrote:
> Subject: (RADIATOR) Users file format with PM3
> Hi all,
>
> We are using Radiator 2.13.1 with patches over NT 4.0 SP3 and PM3
> with radpwtst it works.
>
> 1- We want to know the users file configuration that we need to give a
> dinamic IP ( We know that we can give an IP depending of the PORT). ( Using
> PM3 client)
> I have the dictionay.livingston file with all the ATTRIBUTE and VALUE
>
> I do not want to use the livingston users file. I want to define a new users
> file with the users profile ( IP assignement...).
>
> Could you send us a users file with this configuration?
>
> Someting like this:
>
>
> Users:
>
> mikem4 Password = "fred"
> Service-Type = Framed-User,
> Framed-Protocol = PPP,
> Framed-IP-Netmask = 255.255.255.255,
> Framed-Routing = None,
> Framed-MTU = 1500,
> Framed-Compression = Van-Jacobson-TCP-IP
The usual thing to do when you want to set a specific IP address for a user is
to add a Framed-IP-Address reply item for the user, eg:
mikem4 Password = "fred"
Service-Type = Framed-User,
Framed-Protocol = PPP,
Framed-IP-Netmask = 255.255.255.255,
Framed-Routing = None,
Framed-MTU = 1500,
Framed-Compression = Van-Jacobson-TCP-IP,
Framed-IP-Address = 203.63.154.10
> ....
>
> 2- My radius.cfg is:
>
>
> Foreground
> LogStdout
>
> # log (detail, radius.pid, password.log, ...)
>
> LogDir ./rad/log
>
> # usuarios ( users, dictionary, ...)
>
> DbDir ./rad/bd
>
> DictionaryFile %D/dictionary.livingston
>
>
> # You will probably want to change this to suit your site.
>
>
> <Client localhostT>
> Secret mysecret
> # base IP
> # Ej port=5 194.24.0.129+5
> FramedGroupBaseAddress 193.224.0.0.129
> </Client>
> # for PM3
>
> <Client 193.224.0.123>
> Secret mysecret
> FramedGroupBaseAddress 193.224.0.129
> DupInterval 0
> </Client>
>
> # others
>
> <Client DEFAULT>
> Secret mysecret
> FramedGroupBaseAddress 193.224.0.0.129
> </Client>
>
>
>
> <Realm DEFAULT>
> MaxSessions 1
> PasswordLogFileName %L/password.log
>
> <AuthBy FILE>
> Filename %D/users
> </AuthBy>
> # Log accounting to the detail file in LogDir
> AcctLogFileName %L/detail
> AcctLogFileFormat %User-Name %Acct-Status-Type %Acct-Session-Id
> WtmpFileName %L/wtmp
> </Realm>
>
> I am using dictionary.livingston to access ATTRIBUTEs and VALUEs.
> Is all right?
Yes, although you should be able to use the standard default dictionary (ie the
one called "dictionary") too.
>
> 3- I have problems with AcctLogFileFormat %User-Name %Acct-Status-Type
> %Acct-Session-Id.
> I can not write all what I want into the detail file.
> Only that when fred authentication
>
> Detail:
>
> fredser-Name %Acct-Status-Type %Acct-Session-Id
> fredser-Name %Acct-Status-Type %Acct-Session-Id
> fredser-Name %Acct-Status-Type %Acct-Session-Id
> fredser-Name %Acct-Status-Type %Acct-Session-Id
>
> I am using ATTRIBUTEs defined into dictionary.livingston file.
> What is the right format?
You should have:
AcctLogFileFormat %{User-Name} %{Acct-Status-Type} %{Acct-Session-Id}
ie curlies around each attribute name, as well as %
>
> 4-If you have experience with Radiator and PM3, please let me know if you
> could help me.
Anyone else? I dont have specific PM3 experience.
Hope that helps.
Cheers.
--
Mike McCauley [EMAIL PROTECTED]
Open System Consultants Pty. Ltd Unix, Perl, Motif, C++, WWW
24 Bateman St Hampton, VIC 3188 Australia http://www.open.com.au
Phone +61 3 9598-0985 Fax +61 3 9598-0955
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald,
Platypus, Freeside, external, etc etc on Unix, Win95/8, NT, Rhapsody
===
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.