Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想使用 Delphi 程序连接(并获取用户组)到 Sun LDAP 服务器。我认为 ADSI 仅适用于 Microsoft LDAP。我尝试使用 ADO,但无法连接。
有人可以显示一些代码我会如何做到这一点?
我认为这段代码符合要求。
ADSI 不仅仅是 LDAP,而且根据我的经验,使用 LDAP 客户端连接到 ActiveDirectory 比使用其他方式更容易 - 不幸的是,这正是您正在尝试做的事情。
为了帮助您入门,这里有一种对用户进行身份验证的故障安全方法。