- 论坛徽章:
- 1
|
但是用smtp 也不能认证
[root@mail authlib]# testsaslauthd -s smtp -u test@xxxx.com -p test123
0: NO "authentication failed"
Jan 1 10:23:07 localhost authdaemond: received auth request, service=login, authtype=login
Jan 1 10:23:07 localhost authdaemond: authmysql: trying this module
Jan 1 10:23:07 localhost authdaemond: SQL query: SELECT username., password., "", '89'., '89', concat('/var/mailbox/',homedir)., concat('/var/mailbox/',maildir)., "", name, "" FROM mailbox. WHERE username. = "test@xxxx.com"
Jan 1 10:23:07 localhost authdaemond: supplied password '-ptest123' does not match encrypted password '$1$KwaEyhc/$2mVDfXXiGzCuegrlHg1jT/'
Jan 1 10:23:07 localhost authdaemond: authmysql: REJECT - try next module
Jan 1 10:23:07 localhost authdaemond: FAIL, all modules rejected
奇怪,这个'89'., '89'是从那里来的呢?
重启authdaemond后, 上面的错误变成
Jan 1 10:31:03 localhost authdaemond: modules="authmysql", daemons=10
Jan 1 10:31:03 localhost authdaemond: Installing libauthmysql
Jan 1 10:31:03 localhost authdaemond: Installation complete: authmysql
看来个'89'., '89' 是未重启authdaemond造成的
[ 本帖最后由 yuantong 于 2009-1-1 10:42 编辑 ] |
|