LDAP绑定问题 [英] LDAP Bind Issue

查看:80
本文介绍了LDAP绑定问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



与绑定到 LDAP服务器并检索用户列表.如果我将基本dn设置为 根,然后应用程序绑定确定.然后,我可以在基本dn的根目录下绑定所有 but 三个对象.

问题是用户包含在我是3个对象下 当前无法绑定到子树或其子树的任何对象.一切 对象是DC = *,并且可以使用相同的凭据浏览 Softerra LDAP浏览器.

我已经捕获了返回的错误,它是一个相当无用的操作错误".

有人知道吗?

这是我的代码绑定:

DirectoryEntry rootEntry = new DirectoryEntry(connectionString.ToString(),用户名,密码,AuthenticationTypes.None);

连接字符串,用户名和密码与 Softerra.我唯一想到的可能是导致

Hi,

I have an odd problem with an application that binds to an LDAP server and retrieves a list of users. If I set the base dn to the root then the application binds ok. I can then bind all but three of the objects below the root at the base dn.

The problem is that the users are contained under the 3 objects that I am currently unable to bind to or any objects of their subtrees. All the objects are DC=* and are browsable using the same credentials with Softerra LDAP browser.

I have trapped the error coming back and its a rather unhelpful "operations error".

Has anyone got any ideas?

Here is my code to bind:

DirectoryEntry rootEntry = new DirectoryEntry(connectionString.ToString(), username, password, AuthenticationTypes.None);

The connection string, username and password are the same as used in Softerra. The only thing that I can think of that might be causing the issue is the Authentication Type?

推荐答案

Microsoft TechNet >之一中. 论坛首页> Windows Server > 目录服务位于此处: http://social.technet.microsoft.com/Forums/zh-CN/winserverDS/threads/.

Thank you for your post!  I would suggest posting your question in one of the Microsoft TechNet > Forums Home > Windows Server > Directory Services located here:  http://social.technet.microsoft.com/Forums/en-US/winserverDS/threads/.


这篇关于LDAP绑定问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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