PHP警告:ldap_bind():无法绑定到服务器:无法联系LDAP服务器 [英] PHP Warning: ldap_bind(): Unable to bind to server: Can't contact LDAP server

查看:574
本文介绍了PHP警告:ldap_bind():无法绑定到服务器:无法联系LDAP服务器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的php脚本出现以下问题:

I've following problem with my php script:

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

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.

这篇关于PHP警告:ldap_bind():无法绑定到服务器:无法联系LDAP服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆