0

LDAP 登录在我的 Flask 应用程序(本地)启动时有效,但是,使用相同的代码和服务器,当通过 Apache 部署应用程序时,LDAP 返回“无效的用户名/密码”。

以下是我能找到的唯一日志:

DEBUG:root:Validating LDAPLoginForm against LDAPDEBUG:flask_ldap3_login:Opening connection with bind user 'ldapuser@example.com'
DEBUG:flask_ldap3_login:Destroying connection at <0x7f6af0d29950>
ERROR:flask_ldap3_login:no active server available in server pool after maximum number of tries

有人可以帮忙吗?

4

0 回答 0