大德砂 2024-09-06 17:16 采纳率: 0%
浏览 12

微软AD域回复以下代码是什么问题呢

微软2019 AD域回复以下代码是什么问题呢??



Lightweight Directory Access Protocol
    LDAPMessage searchResDone(5) operationsError (000004DC: LdapErr: DSID-0C090A37, comment: In order to perform this operation a successful bind must be completed on the connection., data 0, v4563) [0 results]
        messageID: 5
        protocolOp: searchResDone (5)
            searchResDone
                resultCode: operationsError (1)
                matchedDN: 
                errorMessage: 000004DC: LdapErr: DSID-0C090A37, comment: In order to perform this operation a successful bind must be completed on the connection., data 0, v4563
        [Response To: 40]
        [Time: 0.000445000 seconds]


  • 写回答

1条回答 默认 最新

  • 一轮明月照丘壑 2024-09-06 19:46
    关注

    以下回复参考:皆我百晓生券券喵儿等免费微信小程序作答:

    这段回复来自LDAP(轻型目录访问协议)服务器,具体是微软的Active Directory域服务返回的结果。从你给出的代码来看,问题的主要内容在于返回的操作结果(resultCode):这是一个“operationsError”,其具体的错误信息是:“In order to perform this operation a successful bind must be completed on the connection”。简单来说,这是因为你没有先绑定(登录)到Active Directory域上。在你执行其他LDAP操作之前,必须先完成成功的绑定操作。因此,这个错误表示你在尝试执行一个LDAP操作(可能是搜索、读取或更新等),但在此之前并没有完成登录操作。你应该先通过LDAP的“bind”操作进行身份验证。解决这个问题的方式通常是在尝试其他LDAP操作之前先进行一次成功的绑定操作。如果你在编写代码进行LDAP操作时,需要确保你已经完成了绑定步骤。如果你在手动使用LDAP客户端时,你需要先进行身份验证,然后再尝试执行其他操作。如果你是在配置某种软件或服务时遇到这个问题,你可能需要检查你的配置以确保已经正确配置了绑定所需的凭据(例如用户名和密码)。

    评论

报告相同问题?

问题事件

  • 创建了问题 9月6日