Mono.Security加载问题
我尝试使用 Novell SDK 连接到 LDAP 服务器,但由于 Mono 问题,它似乎不起作用。有人可以建议我在 C# 中通过 SSL 使用 LDAP 的任何其他方法吗?
提前致谢,
I have tried connecting to a LDAP server using novell SDK but it doesnt seems to work because of Mono issue. Can any one suggest me any other method to work with LDAP via SSL in C#?
Thanks in advance,
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您必须使用您下载的 Novell.Directory.Ldap.dll 附带的 Mono.Security.dll 文件,否则您将遇到二进制兼容性问题。
请注意,Mono.Security.dll 的版本号与框架版本相匹配,因为该程序集是 Mono 框架的一部分,大多数安全工具都使用它。因此,您无法四处寻找该文件(您可能很幸运,但不要指望它),您需要用于测试 Novell.Directory.Ldap.dll 的文件。
You must use the Mono.Security.dll file that comes with the Novell.Directory.Ldap.dll you downloaded, otherwise you'll run into binary compatibility issue.
Note that the version number of Mono.Security.dll match the framework version since this assembly is part of the Mono framework where it is used by most of its security tools. As such you cannot go around and look for the file (well you could be lucky, but don't count on it) you need the one that was used to test Novell.Directory.Ldap.dll.