Migrate users file to mysql?
michel at casa.co.cu
michel at casa.co.cu
Sun Jun 14 05:51:50 CEST 2009
Hello
As you will see I'm still a beginner in freeradius
I recently upgrade my version of freeradius to latest version V2.1.6,
my users or the same parameters are declared in the file "users"
These authenticate against an LDAP.
I have several two NAS, NAS1 a module with an analog modems and NAS2
digital modems to connect where Dialin using the service.
My question is:
1 - How can my users migrate users from the file into mysql?
2 - I have users connecting to both Access Server, but when they
connect the NAS1, my server raidus
assigned different parameters when connecting the NAS2 to pass other
parameters or conditions, Framed-IP-Address
etc...
Currently I have declared the same user with different parameters and
conditions.
NAS1= 192.168.25.20
NAS2= 192.168.25.30
frank Auth-Type := LDAP, NAS-IP-Address == "192.168.25.20",
Calling-Station-Id == "76415044", Simultaneous-Use := 1
Service-Type = Framed-User,
Framed-Protocol = PPP,
Framed-MTU = 1500,
Framed-Compression = Van-Jacobsen-TCP-IP,
Framed-Protocol = PPP,
Framed-IP-Address = 192.168.28.110,
Framed-IP-Netmask = 255.255.255.0,
Idle-Timeout = 0
frank Auth-Type := LDAP, NAS-IP-Address == "192.168.25.30",
Simultaneous-Use := 1
Service-Type = Framed-User,
Framed-Protocol = PPP,
Framed-MTU = 1500,
Framed-Compression = Van-Jacobsen-TCP-IP,
Framed-Protocol = PPP,
Framed-IP-Address = 192.168.29.110,
Framed-IP-Netmask = 255.255.255.0,
Idle-Timeout = 0
As would be declared to migrate to mysql?
I have to repeat them twice as I have done here?
Thank you
----------------------------------------------
Webmail, servicio de correo electronico
Casa de las Americas - La Habana, Cuba.
More information about the Freeradius-Users
mailing list