You are here: Learn about Citrix App Layering [UnideskVersion Layering 4.0.8] > Set up > Set up Unidesk > Connect to a Directory Service

Connect to a Directory Service

In this article:

About connecting Unidesk to a directory service

Create a directory junction

Connect to a Directory Service

You can configure Unidesk to connect to a Directory Service, for example, Active Directory. When you connect to your directory service, you will create one or more Directory Junctions to access specific domains or OUs. Unidesk does not modify the directory service you connect to. The Unidesk software caches the attributes for each directory service entry, so that if the connection to the directory service is lost temporarily, the software can use the cached information for management tasks.

About connecting Unidesk to a directory service

The Unidesk Management Console Directory Tree displays a hierarchical view of Users and Groups. Each Directory Junction that you create specifies a starting node in the directory tree.

Overlapping Directory Junctions

Overlapping (or nested) Directory Junctions occur when you create multiple Directory Junctions that contain the same users and then import the users into the Unidesk directory tree. When overlapping occurs, each Directory Junction contains its own copy of the duplicate users.

Example: Overlapping directory junctions

Assume you create Directory Junction A that starts at the Marketing folder in a directory service tree. Next, you create Directory Junction B which starts at a folder above the Marketing folder. If you browse both Directory Junctions, you can see the Marketing users in both folders.

User attributes are imported from the directory service

The Unidesk software imports and caches user and group attributes from your directory service when:

The attributes that the Unidesk software caches are read only. All changes to the attributes for directory service users come from the directory server.

Imported attributes are synchronized regularly

The Unidesk software synchronizes the information it caches for directory service users with the directory service every 12 hours. If the software discovers that a user is no longer an object in the directory service, it classifies the user as abandoned (you can view this information in the Information view for the user).

Create a directory junction

Create the folders where you want to place the Directory Junctions or decide which existing folder you want to use. You can add a Directory Junction folder to any existing folder in the Unidesk Management Console directory tree.

Best Practice: Avoid creating overlapping Directory Junctions, if possible. In some circumstances, deleting an overlapping Directory Junction can affect your ability to delete another Directory Junction that contains the same users.

  1. Select Users > Directory Service.

  2. Select Create Directory Junction in the Action bar. This opens the Create Directory Junction wizard.

  3. In the Connection Details tab, specify the details for the directory server.

  4. In the Authentication Details tab, enter the authentication details for a user who has permissions to search the directory service.

  5. In the Distinguished Name Details tab, specify where the software should start searching for users and groups in the remote directory service.

  6. In the Folder Location tab, select the folder in the Unidesk tree where you want to add the directory junction for the remote directory service.
  7. In the Attribute Mapping tab, enter the names of directory service attributes that you want to map to the local attributes or use the default settings.

    Note: To change the mapping from local attributes back to default mappings, click Use Defaults.

  8. In the Confirm and Complete tab, verify the Directory Junction settings, enter a comment if required, and click Create Directory Junction.

    If you enter comments, they appear in the Information view Audit History.

Next step

Assign Unidesk Roles to users