模拟在开发一个Active Directory登录/测试环境 [英] Simulating an Active Directory Login in Dev/Test Environment

查看:190
本文介绍了模拟在开发一个Active Directory登录/测试环境的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

目前建立一个WPF应用程序将在一个环境中运行,用户登录到Windows PC上这是对一个域(DC)。该应用程序会要求用户在启动时再次输入登录名和密码,登录/密码对Active Directory(原谅我,如果我的术语是不正确的位置)。

Currently building a WPF app that will run in an environment where the user logs into Windows PC which is on a domain (DC). The app will ask the user to enter their login and password again when it starts up, and the login/password will be verified against Active Directory (forgive me if my terminology is not correct here).

登录是要么全有要么全无的;如果他们的密码是正确的,没有(目前)关注检索群体,权利或这种性质的东西。

The login is all-or-nothing; if their password is correct, there is no (current) concern with retrieving groups, rights or anything of that nature.

开发环境是不是基于AD的,而不是一个域。是否有模拟这种登录,而无需通过建立域控制器并加入开发和测试环境的机器给它的过程中的任何选项?

The development environment is not AD-based, and is not on a domain. Are there any options for simulating this kind of login without going through the process of setting up a domain controller and adding the development and test environment machines to it?

会有的部分的机会,在项目过程中做部署测试(IOW创建一个测试登录的应用程序,将其部署到用户,并确保最终部署之前的登录工作)。与此同时,我将需要使用某种形式的实现,在测试/开发环境中工作。

There will be some opportunity to do deployment testing during the course of the project (IOW create a test login app, deploy it to the user and make sure the login works before final deployment). At the same time, I will need to use some sort implementation that works in the test/dev environment.

有什么想法?你会推荐的的代替设立DC的模拟呢?

Any thoughts? Would you recommend against simulating this in lieu of setting up a DC?

推荐答案

使用 ADAM (在Windows Server 2003 Active Directory应用程序模式)

Use ADAM (Windows Server 2003 Active Directory Application Mode)

有关要求组织   为启用目录的灵活的支持   应用程序,微软开发   Active Directory应用程序模式   (ADAM)。 ADAM是一种轻型   目录访问协议(LDAP)   作为一个用户运行目录服务   服务,而不是作为一个系统   服务。 Active Directory应用程序   模式重新presents方面取得突破性进展   目录服务技术   提供了灵活性,并有助于   组织避免增加   基础设施成本。

For organizations that require flexible support for directory-enabled applications, Microsoft has developed Active Directory Application Mode (ADAM). ADAM is a Lightweight Directory Access Protocol (LDAP) directory service that runs as a user service, rather than as a system service. Active Directory Application Mode represents a breakthrough in directory services technology that provides flexibility and helps organizations avoid increased infrastructure costs.

也就是说,从微软免费广告服务器,你可以在桌面上运行。

That is, a free AD server from Microsoft that you can run on your desktop.

这篇关于模拟在开发一个Active Directory登录/测试环境的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆