问题描述
有时会出现此错误。
看来服务器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 (将#修改为@)