Partager via


Step 2: Create a New AD LDS Instance

Applies To: Windows Server 2008

Follow this procedure to create an active AD LDS instance and create a partition by using the Active Directory Lightweight Directory Services Setup Wizard.

To create a new AD LDS instance

  1. Click Start, point to Administrative Tools, and then click Active Directory Lightweight Directory Services Setup Wizard.

  2. On the Welcome to the Active Directory Lightweight Directory Services Setup Wizard page, click Next.

  3. On the Setup Options page, select A unique instance, and then click Next.

  4. On the Instance Name page, type a name for the instance, and then click Next.

Note

For the purpose of this example, use the instance name nfsadldsinstance.

  1. On the Ports page, fill in the LDAP port number and SSL port number text boxes, and then click Next.

Note

The default LDAP port number is 389 and the default SSL port number is 636.

  1. On the Application Directory Partition page, select the Yes, create an application directory partition. Then, in the Partition name text box, use the following format to type a partition name that does not already exist in this instance:

    CN=<Partition>,DC=<Computer name>

Note

By convention, this string is based on the fully qualified domain name; for example, if the instance name is nfsadldsinstance and the server name is server1, the partition name would be represented as follows:
CN=nfsadldsinstance,dc=server1

When you are finished typing the partition name, click **Next**.
  1. On the File Locations page, in the Data files and the Data recovery files text boxes, type or browse to the locations where you want to store files associated with AD LDS, and then click Next.

  2. On the Service Account Selection page, select Network service account, and then click Next.

Note

If the computer is not a member of a domain, a notification message appears. It warns you that this AD LDS instance will not be able to replicate data with AD LDS instances on other computers while using this service account. Click Yes to continue or No to cancel.

  1. On the AD LDS Administrators page, select the Currently logged on user: <Username> option, and then click Next.

  2. On the Importing LDIF Files page, select the check box for each LDIF file name that you want to import, and then click Next.

Note

MS-InetOrgPerson.LDF and MS-User.LDF are required.

  1. On the Ready to Install page, under Selections, review the listed selections, and then click Next.

  2. Click Finish to exit the wizard.

To verify the existence of an active AD LDS instance, start Services.msc. Each AD LDS instance is listed. Add/Remove Programs should also show that AD LDS is present.