PHP 警告:ldap_bind():无法绑定到服务器:无法联系 LDAP 服务器

2022-01-17 00:00:00 ldap php

我的 php 脚本有以下问题:

I've following problem with my php script:

PHP 警告:ldap_bind(): Unable to bind to server: Can't contact LDAP server in ....

PHP Warning: ldap_bind(): Unable to bind to server: Can't contact LDAP server in ....

ldap_connect() 说成功"但 ldap_bind() 失败,如何解决这个问题?

ldap_connect() says "Success" but ldap_bind() fails, how to fix that issue?

推荐答案

Connect 打开会话.绑定是真正验证你的东西.因此,您连接但未使用有效凭据登录.

Connect opens the session. Bind is what actually authenticates you. Thus you connected but did not login with valid credentials.

相关文章