如何解决SMTP / SASLAUTHD无法联系LDAP服务器
有时会出现此错误。
看来服务器fr003-pr*****
无法与ldap服务器连接。
我们需要重新启动服务saslauthd
才能解决问题。
但是我们如何要求服务saslauthd
在失败之前再次尝试?
我们在ldap_servers中放置了两个服务器。我们不知道该服务是否在失败之前询问这两个服务器。
###################configuration file#########################
[root@fr003-pr***** :~]$ cat /etc/saslauthd.conf
ldap_servers: ldap://FR03-****.*local ldap://FR03-****.*.local
ldap_version: 3
ldap_search_base: DC=eu,DC=*,DC=local
ldap_scope: sub
ldap_filter: sAMAccountName=%u
ldap_auth_method: bind
ldap_debug: 0
ldap_bind_dn: SVC-****@eu.*.local
ldap_bind_pw: *****
############################## status of saslauth before restart service#####################
Oct 06 10:56:16 fr003-pr***** saslauthd[20961]: do_auth : auth failure: [user=SVC-*****]
[service=smtp] [realm=] [mech=ldap] [reason=UnkNown]
Oct 06 10:56:20 fr003-pr***** saslauthd[20958]: user ldap_search_st() Failed: Timed out
Oct 06 10:56:20 fr003-pr***** saslauthd[20958]: retrying authentication
Oct 06 10:56:25 fr003-pr***** saslauthd[20958]: user ldap_search_st() Failed: Timed out
Oct 06 10:56:25 fr003-pr***** saslauthd[20958]: Authentication Failed for SVC-*****: Retry condition
(ldap server connection reset or broken) (-3)
Oct 06 10:56:25 fr003-pr***** saslauthd[20958]: do_auth : auth failure: [user=SVC-*****] [service=smtp] [realm=] [mech=ldap] [reason=UnkNown]
Oct 06 11:31:23 fr003-pr***** saslauthd[20961]: ldap_simple_bind() Failed -1 (Can't contact LDAP server).
Oct 06 11:31:23 fr003-pr*****saslauthd[20961]: retrying authentication
Oct 06 11:35:07 fr003-pr***** saslauthd[20962]: ldap_simple_bind() Failed -1 (Can't contact LDAP server).
Oct 06 11:35:07 fr003-pr***** saslauthd[20962]: retrying authentication
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。