Megosztás a következőn keresztül:


How to Create a Data Source for Active Directory and Active Directory for Application Mode

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

You can create a new data source with a lightweight directory access protocol (LDAP)v3-compliant source partition.

To create a data source for Active Directory and Active Directory for Application Mode

  1. Expand Commerce Server Manager, expand Global Resources, expand Profiles (<Server name_database name>), expand Profile Catalog, right-click Data Sources, and then click New Data Source.

  2. In the New Data Source dialog box, do the following:

    Use this

    To do this

    Name

    Type the programmatic name of the data source. The name can contain a maximum of 127 alphanumeric characters and the underscore (_) symbol. The name cannot contain spaces.

    Display Name

    Type a display name that contains a maximum of 127 Unicode characters.

    Description

    Type a description for the data source. The description can contain a maximum of 127 Unicode characters.

  3. Click Next.

  4. In the Data Source dialog box, in the Source Type drop-down list, select LDAPv3 Compliant Source, and then click Next.

  5. In the Partitions dialog box, click Partitioned Data Source to partition the data source, and then click Add.

  6. In the Partition dialog box, click Edit.

  7. In the LDAP Connection String dialog box, do the following:

    Use this

    To do this

    Server

    Type the server name where the LDAP source is located.

    Port

    Type the port name. The default port is 389.

  8. To return to the Partition dialog box, click OK.

  9. In the Partition dialog box, do the following:

    Use this

    To do this

    Default Partition

    Select to designate this partition as the default partition.

    User Name

    Type the user name that you use to access the LDAP source. If you are using an Active Directory server, type the user name in the form domain\username.

    Password

    Type the password you use to access the LDAP source.

  10. To open the System Attributes dialog box, click Next.

  11. In the System Attributes dialog box, do the following:

    Use this

    To do this

    Parent URL

    Type the location in the LDAP directory tree where you want your data to be stored. If the data source runs Active Directory Application Mode (ADAM), type the full path to the desired LDAP object.

    Use the same credentials for all users

    Select this option to specify that the Profiles Schema Manager always use the same credentials when binding to LDAP sources. If you do not select this option, the Profiles Schema Manager will use the credentials of the current user.

    Allow Simple Bind

    Select this option to send the password in clear text. This option is less secure, but some directory services may require this option.

    Dynamic Container

    Select this option to connect to a dynamic store, such as Internet Locator Service (ILS).

    One-Level

    Select this option to set the default search scope to the current directory.

    Sub-Tree

    Select this option to set the default search scope to the current directory and sub-directories.

    Domain Name

    Type the domain name of the server if you are using Active Directory directory service.

    Discover

    Click to find the domain name.

  12. Click Next.

  13. To return to the Partition dialog box, click OK.

  14. Click Finish to close the dialog box.

The data source is saved. You can now add partitions, custom attributes, and data objects to the data source.

See Also

Other Resources

How to Create a Data Source for SQL Server

Managing Data Sources

About the Profiles Schema Manager