PacketFence安装问题

PacketFence安装问题

一、mschap: Program returned code (1) and output 'Reading winbind reply failed! (0xc0000001)'
原因:winbind 服务没有开机未启动
解决办法:手动重启winbind 服务
运行systemctl enable smb、systemctl enable winbind这两个命令把smb和winbind设置成开机自启并重启smb和winbind服务,然后运行命令net join -U Administrator(管理员用户名)加入AD域并重启服务器。
可以使用wbinfo -a (用户名)测试

二、mschap: Program returned code (1) and output 'The attempted logon is invalid. This is either due to a bad username or authentication information. (0xc000006d)'
原因:/etc/samba/smb.conf 中security = user
解决办法:修改smb.conf配置文件,修改后文件如下。然后重启smb、winbind这俩个服务。修改dns文件vi /etc/resolv.conf 将下一行内容写入文件中并重启网卡
search pftest.com nameserver ADIP

[global]
	workgroup = PFTEST
	security = ads
    realm = PFTEST.COM
	passdb backend = tdbsam
    password server = 192.168.1.127 
	printing = cups
	printcap name = cups
	load printers = yes
	cups options = raw
[homes]
	comment = Home Directories
	valid users = %S, %D%w%S
	browseable = No
	read only = No
	inherit acls = Yes
[printers]
	comment = All Printers
	path = /var/tmp
	printable = Yes
	create mask = 0600
	browseable = No
[print$]
	comment = Printer Drivers
	path = /var/lib/samba/drivers
	write list = @printadmin root
	force group = @printadmin
	create mask = 0664
	directory mask = 0775

三、
mschap: Program returned code (1) and output ‘No logon servers are currently available to service the logon request. (0xc000005e)’
原因:未知
解决办法:重新加入AD域 命令如下
net join -U Administrator(管理员用户名)
可以使用wbinfo -a 用户名)测试

四、
PF服务器验证已经通过但是PC依然认证失败
原因:可能configuration–switches–交换机–roles–Role by VLAN ID
解决办法:使用默认配置
可能解决用一个已经可以认证PF服务器认证这个PC

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值