谢谢,谢谢楼主
这是我telnet的记录:
+OK Hello there.
user
wangpeng@liuQang.cn
+OK Password required.
pass 299480
-ERR Login failed.
同时生成的主机上生成的log:
[root@mail authlib]# tail /var/log/maillog
Apr 1 13:52:19 mail pop3d: LOGIN: ip=[::ffff:201.93.163.18], password=wangpeng
Apr 1 13:52:19 mail authdaemond: received auth request, service=pop3, authtype=login
Apr 1 13:52:19 mail authdaemond: authldap: trying this module
Apr 1 13:52:19 mail authdaemond: selected ldap protocol version 3
Apr 1 13:52:19 mail authdaemond: binding to LDAP server as DN 'mail=root@jme.cn,o=extmailManager,dc=liuQang,dc=cn', password 'extmail'
Apr 1 13:52:19 mail authdaemond: using search filter: (&(active=1)(mail=wangpeng))
Apr 1 13:52:19 mail authdaemond: number of entries returned: 0 (but we need exactly 1)
Apr 1 13:52:19 mail authdaemond: authldap: REJECT - try next module
Apr 1 13:52:19 mail authdaemond: FAIL, all modules rejected
Apr 1 13:52:19 mail pop3d: LOGIN FAILED, user=wangpeng, ip=[::ffff:201.93.163.18]