1)Create Active Directory Service
配置Active Directory 域服务
开始菜单-->运行-->输入命令“dcpromo”点击“确定” 按钮
进入安装界面
弹出 Active Directory 域服务安装向导,并点击“下一步”按钮
点击“下一步”按钮
选择“在新林中新建域”并点击“下一步”按钮
输入域名并点击“下一步”按钮
林功能级别选择“Windows Server 2008 R2” 并点击“下一步”按钮
点击“下一步”按钮,如果最初没有安装DNS服务器,此处可以勾选并安装
点击“下一步”按钮
弹出DNS提示框,点击“是“按钮,继续安装
点击“下一步”按钮
输入Administrator密码和确认密码,点击“下一步”按钮
点击“下一步”按钮
点击“完成”按钮,重启服务器
到处AD域服务安装完成!
C# AD(Active Directory)域同步 组织单位、用户等信息查询
主要结合AD域的实际应用,AD域中组织单位、用户等信息的查询
2)Set Static IP And DNS Server
Open Newwork and Sharing Center->Change Adapter Settings->Local Area Connections->Properties->IPV4
3)Create Users for Domains Group
1. Logon to Windows server 2008 domain controller with domain admin account.
2. Click on Start button and at the bottom of menu in search box type DSA.MSC command and press enter key.
3. Right click on any container or organizational unit where you want to create a new domain user account and from the available menu point the mouse pointer to New.
4. From the available submenu click on User.
5. Populate the fields according to the labels mentioned in the opened box.
6. In User logon name text box specify the name you want the user to use while logging on to the domain.
7. Leave User logon name (pre-Windows 2000) field intact and click on Next button.
Create a New User Account
8. On the next box type and retype a complex password in their respective fields and click on Next button.
9. On the final page click on Finish button to create a new domain user account.
4)Set Client Configuration
1 modify domain
Computer->Properties->Computer Name,Domain,and Group Settings->Change Settings->Change->domain
input the domain user and password to join the domain
2 set dns
Open Newwork and Sharing Center->Change Adapter Settings->Local Area Connections->Properties->IPV4
3 login into the domain
login with :domain\domainUser