Centos 6.2 Openwebmail修改密码问题

Centos 6.2 Openwebmail修改密码问题

最近搭建环境进行测试,安装openldap、openwebmail以及PAM认证模块遇到当前账号登录webmail修改密码后会提示“密码错误,修改不成功。。”

openwebmail.log显示

Fri Mar 21 16:50:40 2014 - [2543] (192.168.126.1) testuser - change password error - auth_pam.pl, ret -4, pam_authtok() err 10, User not known to the underlying authentication module

当前的设置

/etc/httpd/conf.d/openwebmail.conf

auth_module auth_pam.pl

/etc/pam.d/openwebmail

#%PAM-1.0
auth       sufficient   /lib/security/$ISA/pam_ldap.so
auth       required   /lib/security/$ISA/pam_unix.so
account    required   /lib/security/$ISA/pam_unix.so
account    sufficient     /lib/security/$ISA/pam_ldap.so
password   sufficient  /lib/security/$ISA/pam_ldap.so
password   required    /lib/security/$ISA/pam_unix.so

不知道是不是哪里的设置错误导致了这个问题?

相关内容