jjzjj

edirectory

全部标签

javascript - 使用 node.js 和 ldapjs 的 LDAP 绑定(bind)错误

我正在尝试使用以下node.js文件实现基本的ldap绑定(bind)。不幸的是,我一直收到代码128的绑定(bind)错误。我在网上查找并没有找到代码128的引用。我试图搜索的LDAP服务器是一个eDirectory。有没有人有这方面的经验或者你有过类似的问题?我的node版本是v0.10.22,我的ldapjs版本是v0.7.1varldap=require('ldapjs');varcreds={url:"ldaps://ldap.url.com:636",bindDN:"cn=ldap,o=com"};varopts={filter:"(cn=username)",scope:

c# - 使用 DirectoryServices 从 C# 连接到 LDAP

我正在尝试连接到运行LDAP的edirectory8.8服务器。我将如何着手在.Net中执行此操作?我是否仍可以使用System.DirectoryService中的类,例如DirectoryEntry和DirectorySearcher,或者它们是否特定于AD?我是否需要以任何不同方式指定“连接字符串”?我正在尝试类似下面的代码,但它似乎不起作用...DirectoryEntryde=newDirectoryEntry("LDAP://novellBox.sample.com","admin","password",AuthenticationTypes.None);Director