---
updatedAt: 2025-12-18T00:04:39.000Z
---

# Manage users and groups | AD Bridge

Using AD Bridge, you can manage the AD Bridge Cell settings for Unix and Linux users and groups in Active Directory Users and Computers.

## Configure cell settings for users

In Active Directory Users and Computers, you can configure AD Bridge Cell settings for your users.

> ℹ️
>
> Administrative privileges are required to manage AD Bridge Cell settings. Ensure you are logged on as a Domain Administrator, Enterprise Administrator, or that you are assigned the appropriate permissions. For more information, see [Working with AD Bridge Cells](https://docs.beyondtrust.com/adb/v24.2.3/docs/work-with-adb-cells).

To establish connection between Active Directory and your clients, the following cell settings can be configured:

* **UID:** The Unix user ID. The user's settings can vary by cell.
* **GID:** The Unix primary group ID. By default, you can select any group or enter an arbitrary primary group ID for the user account. If you need to restrict this to only allow groups enabled in the cell and assigned to the user, you can use the **btopt.exe** tool to enforce this validation.

> ℹ️
>
> For more information, see [Use the btopt.exe tool to manage options](https://docs.beyondtrust.com/adb/v24.2.3/docs/btopt-exe-tool).

* **Login Name:** Provide an alias for an Active Directory user so that the user can log into a bridged client using the alias. An alias only applies to the selected cell.
* **Home Directory:** When you set the default home directory, you must use the default user name variable (**%U**). Using the default domain name using the domain name variable (**%D**) but it is optional.

> 🚧 Important information
>
> On Solaris, you cannot create a local home directory in <b>/home</b>, because <b>/home</b> is used by <b>autofs</b>, Oracle's automatic mounting service. The standard on Solaris is to create local home directories in <b>/export/home</b>.

* **Login Shell:** When assigning a login shell, you can select a user or more than one user. You can assign the login shell at the OU level or user level.
* **Comment (GECOS)**

> ℹ️
>
> The Cell Access Report can show you existing values for UID, GID, home directory, and login shells for users. For more information, see [BeyondInsight reporting in AD Bridge](https://docs.beyondtrust.com/adb/v24.2.3/docs/beyondinsight-reporting).

You can configure cell settings at the OU level, user level, or select a range of users in a selected OU. To configure cell settings for your users:

1. Start **Active Directory Users and Computers**.
2. Navigate to the OU where your users reside.
3. Right-click the user and then select **Properties**.
4. Select the cells where you want the settings to apply. When editing the properties for a particular cell, if the box is already checked, then select the cell to activate the settings in the user info section.

   ![AD Bridge Cell configuration](https://files.readme.io/ec461218f68338171543f39fe9085ea89970589fafb3484d7445ef394c34dc15-image.png)
5. Enter information for the following:

* **UID:** Click **Suggest**, or type a value in the box.
* **GID:** The GID value is automatically populated. Select a group from the list to change the primary group for the user account.

> ℹ️
>
> If you select another group from the list, the GID can be validated. If the group is unavailable, be sure to add the group to the cell. For more information, see [Configure cell settings for a group](#configure-cell-settings-for-a-group).

* **Login Name:** Type an alias for the user. The user must log on using the Active Directory account if a login name is not set here.
* **Home Directory:** To override the default home directory, type the directory that you want to set for the user. For example, **/home/%D/%U**
* **Login Shell:** Enter a login shell if you want to override the default. For example, **/bin/sh** or **/bin/bash**.
* **Comment (GECOS):** Enter a comment (Optional).

2. Click **OK**.

### Assign settings to more than one user

You can assign settings to more than one user at the same time. For example, you can assign users to a cell and then set the home directory. The users must be members of a group already associated to a cell and each user must have a UID-GID mapping.

## Configure cell settings for a group

In **Active Directory Users and Computers**, you can configure AD Bridge Cell settings for a group. You can configure a GID and group alias.

> ℹ️
>
> Administrative privileges are required to manage AD Bridge Cell settings. Ensure you are logged on as a Domain Administrator, Enterprise Administrator, or that you are assigned the appropriate permissions. For more information, see [Working with AD Bridge Cells](https://docs.beyondtrust.com/adb/v24.2.3/docs/work-with-adb-cells).

A cell must already be created.

> ℹ️
>
> For more information, see the following:<ul style="text-align:left;"><li> [Working with AD Bridge Cells](https://docs.beyondtrust.com/adb/v24.2.3/docs/work-with-adb-cells)</li><li> [What are AD Bridge Cells?](https://docs.beyondtrust.com/adb/v24.2.3/docs/adb-cells)</li></ul>

1. Start **Active Directory Users and Computers**.
2. In the console tree, right-click a group, and then click **Properties**.
3. Click the **AD Bridge Cell Settings** tab.
4. In the **AD Bridge Cells** section, select the check box for the cell that you want to provide the group access to.

   ![AD Bridge Cells group access configuration](https://files.readme.io/9d2ed176a11509135ac25b4168451233338ebe09a5be115a9033191e28c94b65-image.png)
5. In the **Group info for cell** section, set the following:

* **GID:** Click **Suggest**, or type a value in the **GID** box.

You can assign a group identifier (GID) to an Active Directory group by associating the group object with a cell and setting a GID value for the group object. The GID information that you enter is applied to all objects in the group. However, the settings are not applied to nested groups; you must apply the GID information to each group.

* **Group Alias:** Set an alias for the group (Optional). The alias applies only within the cell.

## Find users and groups in Active Directory users and computers

Because of a limitation with the Active Directory Users and Computers snap-in, when you try to find an AD Bridge user or group by right-clicking an OU and then clicking **Find**, the user or group will not appear in the results even when the user or group is in the OU. The **Find** command does, however, work at the domain level.

As an alternative, you can find AD Bridge users and groups in an OU using the following procedure:

1. Right-click the OU with an associated cell, select **Properties**, and then click the **AD Bridge Cell Settings** tab.

   ![An image of the Select Users or Groups screen in AD Bridge Cell Settings](https://files.readme.io/9b0411dd6493a730ac9ff70d01ee9bc1cb4aeea2e5325f680ecae18ddefdec28-image.png)
2. Click **Add**, and then search the *user* or *group*.

## Use the BeyondTrust Management Console to find orphaned objects

Use the BeyondTrust Management Console to find and remove orphaned objects. An orphaned object is a linked object, such as a Unix or Linux *user ID* or *group ID*, that remains in a cell after you delete a group or user's security identifier, or SID, from an Active Directory domain.

Removing orphaned objects from Active Directory cleans up manually assigned user IDs and improves search speed. We recommend that you remove orphaned objects before you use the migration tool with a domain that operates in Schemaless mode (see note below).

> ℹ️
>
> Schemaless mode is <b>deprecated</b>.

To find and remove orphaned objects:

1. In the BeyondTrust Management Console tree, expand **Enterprise Console**, and then click **Diagnostics & Migration**.
2. From the **Tasks** list, click **Find Orphaned Objects**.
3. Click **Select Domains**, select the domains that you want to scan, and then click **OK**.
4. Click **Begin Scan**.
5. To remove the objects that appear in the **Orphaned objects to delete** box, click **Delete Objects**.

## Find duplicate objects

Use the BeyondTrust Management Console to find and remove duplicate objects. Duplicate objects are any objects with the same Unix or Linux user ID or group ID, User login name, or Group Alias in the Active Directory domain.

Removing duplicate objects from Active Directory cleans up manually assigned user IDs and prevents conflicts. We recommend that you remove duplicate objects whenever they exist.

To find duplicate objects:

1. In the BeyondTrust Management Console tree, expand **Enterprise Console**, and then click **Diagnostics & Migration**.
2. From the **Tasks** list, click **Find Duplicate Objects**.

   ![Use BeyondTrust Management Console to find duplicate objects in Active Directory](https://files.readme.io/4647f3950d43033c194731cf4e42aa8890f815f9dded4a9d52d530931f9fe128-image.png)
3. Navigate the folders indicated in red to find the duplicates.

## Migrate users to Active Directory

The Network Information System (NIS) migration tool imports Linux and Unix passwd files and group files and maps them to users and groups in Active Directory. The migration tool includes options to ease your NIS migration to Active Directory, including:

* Migration of account information to the organizational units that you want.
* Creation of groups in Active Directory to match your Linux and Unix groups.
* Generation of scripts to repair file ownership and group settings.
* Changes to the GID of imported users to that of the AD Domain Users group.
* Automatically setting an alias for each migrated user.
* Generation of Visual Basic scripts to migrate users and groups in an automated and custom way.
* Modification of GIDs during migration.
* Selection of only the groups and users that you want to migrate from your full list of groups and users.
* Setting the home directory and shell for migrated users.
* Filtering out standard Unix and Linux accounts, such as mail and news.
* Modification of UID information during migration.
* Use of NIS map files to migrate netgroups, automounts, and other services to Active Directory.

### Overview

The AD Bridge migration tool can import Linux and Unix password and group files (typically **/etc/passwd** and **/etc/group**) and automatically map their UIDs and GIDs to users and groups defined in Active Directory.

You can also generate a Windows automation script to associate the Unix and Linux UIDs and GIDs with Active Directory users and groups. Before you commit the changes, you can resolve ambiguous user names and other conflicts.

> 🚧 Important information
>
> Before you migrate users to a domain that operates in Schemaless mode (note that Schemaless mode is <b>deprecated</b>), we recommend that you find and remove orphaned objects. The IDs associated with orphaned objects are reserved until you remove the orphaned objects. For more information, see [Use the BeyondTrust Management Console](https://docs.beyondtrust.com/adb/v24.2.3/docs/management-console).

### Before running the migration tool

Before running the migration tool, obtain the following information:

* The name of the domain where you want to migrate the account information.
* The credentials that allow you to modify the domain.
* The Unix or Linux **passwd** file and corresponding group file that you want to add to Active Directory. The password and group files can be from a computer or an NIS server.

### Run the migration tool

Use the Migration tool to import Linux and Unix password and group files and automatically map UIDs and GIDs to users and groups in Active Directory:

1. In the BeyondTrust Management Console tree, expand **Enterprise Console**, and then click **Diagnostics & Migration**.
2. From the **Tasks** list, click **Run Migration Tool**.
3. Click **Next**.
4. In the **Domain** box, type the domain name that you want to migrate the account information to.
5. Select credentials:

* **Use logon credentials:** Select if your logon credentials allow you to modify the domain.
* **Use alternate credentials:** Select if your logon credentials are not allowed to modify the domain, and then enter credentials that have the appropriate privileges.

6. Click **Next**.
7. Select your mapping files:

* Click **Import** to import a Linux/Unix password and group file, and then provide the following information.
  * **Map name:** The migration tool imports the passwd file and group file into the map file, which is then matched to existing Active Directory user and group names.
  * **Passwd file:** Type the path and name of the file that you want to import, or click **Browse** to find the file.
  * **Group file:** Type the path and name of the passwd file's corresponding group file, or click **Browse** and then find the file.  
  * To import default Unix or Linux user accounts such as **root** and **public,** clear the **Omit standard Linux/UNIX user accounts** check box.
  * In the list under **Users**, clear the **Import** check box for any user that you do not want to import, and then click **Next**.
* Click **Import NIS Map** to import an NIS Map File. You can run the **ypcat** command on the NIS server to create the map file.
  * **NIS Map file:** Click **Browse** to find the map file.
  * **Map type:** Select the map file type: **Netgroups**, **Automounts**, or **Services**.

8. Select the OU where you want to migrate the Linux or Unix account information.
   * If you select the top of your domain, the information is migrated to the default AD Bridge Cell of your Active Directory forest and UID numbers are automatically assigned within the domain's range.
   * If you select an OU, AD Bridge creates a cell for the OU and migrates the account information to it. UIDs and GIDs are maintained if the passwd and group files agree, and if the UIDs and GIDs do not conflict with existing users or groups.\
     The migrated account information applies only to computers that are members of the OU.
9. Click **Next**.
10. Select from the following list of migration options:

* **Create groups in Active Directory to match Linux/Unix groups:** Create groups in Active Directory that match your Linux or Unix groups.
* **Create all groups in AD:** Create all groups in Active Directory, not just the referenced ones. To select this option, you must first select the **Create groups in Active Directory to match Linux/UNIX groups** check box.
* **Generate scripts to repair file ownership and group settings:** Run scripts that can repair ownership issues and group settings issues.
* **Change GID of imported users to Domain Users**
* **Always set Login Name (alias), even when same as sAMAcountName**
* **Generate VBScript to perform migration:** Enter the name of the script in the **Script name** box. Enter the directory where the script is located.
* **Name map file (optional):** File to automatically map Linux and UNIX users and groups to Active Directory accounts and groups in the form of the key/value pairs (delimited by **=** sign). The value can use the LDAP path to the Active Directory user or group or it can use the format **DOMAIN\username**.

For example, **john=LDAP://CN=jdoe,OU=accounts,DC=thedomain,DC=com** or **john=thedomain\jdoe**, where Unix user with login **john** is matched to AD user with **CN=jdoe**.

If **\[name map file]** is not provided or a successful match is not found, then the Migration tool will try to find the best match in the target domain.

11. Click **Next**.
12. Click the **Users** tab and verify that the information is correct.
13. Click the **Groups** tab and verify that the information is correct.
14. To import the passwd and group files after you verify that the information is correct, click **Next**.

### Migrate NIS domains

If you use AD Bridge to migrate all your Unix and Linux users to Active Directory, in most cases you will assign these users a UID and GID that is consistent across all the Unix and Linux computers that are joined to Active Directory. This is a simple approach that reduces administrative overhead.

In cases when multiple NIS domains are in use and you want to eliminate these domains over time and migrate all users and computers to Active Directory, mapping an Active Directory user to a single UID and GID might be too difficult. When multiple NIS domains are in place, a user typically has different UID-GID maps in each NIS domain. With AD Bridge, you can eliminate these NIS domains but retain the different NIS mapping information in Active Directory because AD Bridge lets you use a cell to map a user to different UIDs and GIDs depending on the Unix or Linux computer that they are accessing.

To move to Active Directory when you have multiple NIS servers, you can create an OU or choose an existing OU, and join to the OU all the Unix computers that are connected to the NIS server. You can then use cells to represent users' UID-GID mapping from the previous identity management system.

## Disable a user's access with AD Bridge

> ℹ️
>
> When a computer cannot communicate with a domain controller, a user whose account was disabled on the domain controller, but who logged on to the computer prior to their account being disabled, can continue to log on until you clear the cache or until the computer regains communication with the domain controller.<p>By default, the cache expires after 4 hours. You can configure the interval using an AD Bridge Group Policy setting or, if the policy setting has not been configured, by using the AD Bridge config tool.</p>

1. Start **Active Directory Users and Computers**.
2. Find the user.
3. Right-click the user that you want to disable, and then click **Properties**.
4. Click the **AD Bridge Cell Settings** tab.
5. In the **AD Bridge Cells** section, clear the boxes for the cells where you want to disable the user. To disable the user's access to all Linux and Unix computers, clear all the boxes.