学习如何在域外使用 C# 连接到 LDAP 的最简单方法是什么?
有没有一种方法可以让我在我的开发人员机器上托管轻量级版本的 LDAP,以便我可以测试诸如在雇用新员工时创建新域帐户之类的场景。
我正在使用订阅“NewEmployeeHired”消息的 NServiceBus 构建 IT 服务。当雇用一名员工时,我需要能够为该员工创建一个在其开始日期激活的域帐户。
我对通过 C# 创建域帐户的经验很少,所以我希望有一个轻量级的环境,我可以在其中学习如何执行此操作。
Is there a way that I can host a light weight version of LDAP on my developer box, so I can test out scenarios like creating a new domain account when a new employee is hired.
I am building an IT Service using NServiceBus that subscribes to a "NewEmployeeHired" message. When an employee is hired I need to be able to create a domain account for that employee that is activated on their start date.
I have very little experience with creating domain accounts via c#, so I would like to have a light weight environment where I can learn to do this.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Active Directory 轻型目录服务(或 AD-LDS),以前称为ADAM(Active Directory 应用程序模式)正是针对这种情况(当然还有更多情况)而存在。
Active Directory Lightweight Directory Services (or AD-LDS), formerly know as ADAM (Active Directory Application Mode), exists for just this kind of situation (and more, of course).