« 上一篇下一篇 »

4-3+ Using Automation to Manage Group Accounts

Lesson 3 Using Automation to Manage Group Accounts 4-17 Practice: Using LDIFDE to Manage Group Accounts
In the following exercises, you list the options available for LDIFDE, export users from the Active Directory, and create a group object in the directory.
Exercise 1: Starting LDIFDE
In this exercise, you list the command options available with LDIFDE.
1. Open a Command Prompt.
2. For a list of commands, at the command prompt, type: ldifde /?.
Exercise 2: Exporting the Users from an Organizational Unit
In this exercise, you will export the entire contents of an OU named Marketing, complete with all its users, from the contoso.com domain.
1. In the contoso.com domain (Server01 is a domain controller for contoso.com), create an OU named Marketing.
2. In the Marketing OU, add two or three users. These users may be named whatever you choose.
3. Open a command prompt and type the following LDIFDE command (the character : indicates continuation to the next line)
ldifde -f marketing.ldf -s server01 : -d "ou=Marketing,dc=contoso,dc=com" : -p subtree -r : "(objectCategory=CN=Person,CN=Schema,CN=Configuration,: DC=contoso,DC=com)" Figure 4-4 shows the code in action. Figure 4-4 Output of LDIFDE export–Marketing OU
This creates a LDIF file named Marketing.ldf by connecting to the server named Server01 and executing a subtree search of the Marketing OU for all objects of the category Person.
4-18 Chapter 4 Group Accounts Exercise 3: Using LDIFDE to Create a Group
In this exercise, you will use LDIFDE to add a group named Management to the Marketing OU of contoso.com.
1. Start a text editor, such as Notepad, and create a text file named Newgroup.ldf. (Save the file as an LDIF file, not as a text file.)
2. Edit the LDIF file Newgroup.ldf, and add the following text:
dn: CN=Management,OU=Marketing,DC=contoso,DC=com changetype: add cn: Management objectClass: group samAccountName: Marketing
3. Save and close the LDIF file.
4. Open a Command Prompt, type the following command and then press Enter: ldifde -i -f newgroup.ldf -s server01 Tip Watch for extra “white space” (tabs, spaces, carriage returns, line feeds) in the file. Extra white space in the file will cause the command to fail. 5. To confirm that the new group has been created, check the Active Directory Users And Computers snap-in.
Lesson Review
The following questions are intended to reinforce key information presented in this lesson. If you are unable to answer a question, review the lesson materials and try the question again. You can find answers to the questions in the “Questions and Answers” section at the end of this chapter.
1. Which of the following LDIFDE commands changes the function of LDIFDE from export to import?
a. -i
b. -t
c. -f
d. -s
2. What object classes are possible to export and import using LDIFDE?
Chapter 4 Group Accounts 4-19 3. You have a database of users that is capable of exporting CSV files. Can you use such a file, or must you create an *.ldf file manually for importing?
Lesson Summary
■ LDIFDE is an included tool with Windows Server 2003 that allows for the importing and exporting of data into and out of Active Directory.
■ If you have an existing directory of user data, you can use LDIFDE to export the desired data for importing into the Active Directory, which is, generally, a more efficient process than creating each element individually by hand. CSV files are usable, so long as the data is correctly formatted, with all required elements included and in their proper order.
■ LDIFDE can be copied from a Windows Server 2003 to a Windows 2000 or Windows XP desktop for use with an Active Directory.
Case

  还没注册Payoneer的朋友可免费申请一个,现在申请Payoneer可获得25美元奖励并且直接享受1.2%全包的优惠:不仅入账免费,全币种提现只收1.2%的费用,无汇损,当你累积收款100美元时将一次性获得25美元奖励。需要注意的是,如果你直接打开Payoneer官网进行注册,是没有上述优惠的,请务必打开【野猪尖的推荐链接】进行注册。Payoneer注册咨询QQ:2822129880

Payoneer

野猪尖的推荐链接https://www.payoneer.com/zh/znp (此地址要完整地复制,建议直接点击)

【Payoneer申请教程:个人账户企业账户订购Payoneer实体卡(P卡)

Payoneer注册与使用指南(包括P卡申请、Payoneer官方、手续费、收款、提现和消费):
注册-收款工具那么多,为何选择Payoneer? | 为何申请Payoneer万事达预付卡+欧美日收款银行账号
   Payoneer有卡账户和无卡账户的区别Payoneer个人账户注册申请教程P卡公司帐户注册教程
   Payoneer欧元帐户虚拟卡) | Payoneer英镑帐户Payoneer日元帐户订购实体卡(P卡
   Payoneer卡年费啥时候扣? | Payoneer卡休眠和激活P卡到期后如何更换? | 如何注销P卡

官方-Payoneer秉承公正、公开、透明服务Payoneer官方最新政策汇总官方客服联系方式
   Payoneer官方费用表如何减少Payoneer的手续费?点此免除入账费点此降低提现费
   跨境收款服务商拷问篇——PayoneerPayoneer客户答疑手册(FAQ)Payoneer手机App

收款-跨境电商/外贸收款方式对比Payoneer可以错名收款吗
   Amazon亚马逊卖家设置Payoneer卡收款教程Payoneer可提供亚马逊KYC审核所需银行账单
   Amazon亚马逊收款方式对比(Payoneer,World First,PingPong,美国/香港银行卡)
   CJ联盟设置Payoneer卡收款ClickBank联盟设置Payoneer收款Amazon联盟设置P卡收款
   Payoneer如何从东南亚电商平台Lazada收款如何在Lazada开店
   Payoneer如何从拉美电商平台Linio收款? | Payoneer绑定非洲电商平台Jumia收款
   Payoneer支持从美国电商平台Newegg收款
   Payoneer如何从跨境移动电商Wish收款? | Wish模式正在改变电商格局
   Payoneer支持从法国乐天Priceminister收款法国电商平台CDiscount对接Payoneer收款
   如何使用Payoneer请求付款?如何向Payoneer充值
   从PayPal提现到Payoneer卡教程及手续费用PayPal无法绑定并转账到Payoneer卡

提现-从Payoneer卡提现到国内银行账户Payoneer无法从Dating联盟收款并限制提现方式
   用P卡在中国银行ATM机取款4000元用Payoneer卡在中国建设银行ATM机取款500元

消费-Payoneer为卖家提供更便捷的VAT缴费方案用Payoneer卡在GoDaddy买域名主机教程


人在做天在看,转载请以链接的形式注明本文地址
本文地址:http://www.zhaoniupai.com/blog/archives/237.html