学习如何在域外使用 C# 连接到 LDAP 的最简单方法是什么?

发布于 2024-10-02 02:33:46 字数 223 浏览 1 评论 0原文

有没有一种方法可以让我在我的开发人员机器上托管轻量级版本的 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

微凉 2024-10-09 02:33:46

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).

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文