radius+httpd+php+mysql+dialupadmin总结
7.[root@localhost raddb]# cat sql.conf//查看sql配置文件 sql { database = "mysql" driver = "rlm_sql_${database}" server = "localhost" login = "root"//修改数据用户名为root password = "123456"//密码为123456 radius_db = "radius"//数据库名字叫radius acct_table1 = "radacct" acct_table2 = "radacct" postauth_table = "radpostauth" authcheck_table = "radcheck" authreply_table = "radreply" groupcheck_table = "radgroupcheck" groupreply_table = "radgroupreply" usergroup_table = "radusergroup" deletestalesessions = yes sqltrace = no sqltracefile = ${logdir}/sqltrace.sql num_sql_socks = 5 connect_failure_retry_delay = 60 lifetime = 0 max_queries = 0 nas_table = "nas" $INCLUDE sql/${database}/dialup.conf } 8.[root@localhost raddb]# cat clients.conf//客户端配置文件 client localhost { ipaddr = 127.0.0.1 secret = testing123 require_message_authenticator = no } client 192.168.40.39 { secret =testing123 shortname =test nastype =other } //为你NAS的相应值 192.168.40.39为NAS要地址 secret = testing123为密钥 shortname = test任意 nastype = other为你NAS设备的类型 (编辑:莆田站长网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
- 在IBM Network Authentication Service for AIX中增强密码强
- iPhone 6c图片 iPhone 6c最新设计曝光
- Flex4 DataGrid中嵌入RadioButton实现思路及代码
- Apple Watch怎么与iPhone配对 Apple Watch使用方法
- 战旗tv手机版怎么用 战旗tv手机版怎么录直播
- 春节购物指南:推荐给不差钱土豪笔记本电脑
- cnblogs TagCloud基于jquery的实现代码
- 360智能摄像机绑定失败的原因及解决方法
- Applewatch OS破解 成功运行原生Flappy Bird
- Flex播放器(实现播放、缓冲进度条和音频曲线显示)