Skip to content

Commit 36bca77

Browse files
committed
add images
1 parent e859f42 commit 36bca77

File tree

6 files changed

+6
-9
lines changed

6 files changed

+6
-9
lines changed

articles/azure-netapp-files/lightweight-directory-access-protocol-schemas.md

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -66,26 +66,23 @@ In smaller environments, this doesn't cause issues. But in larger environments (
6666

6767
Attributes are indexed via [the `searchFlags` value](/openspecs/windows_protocols/ms-adts/7c1cdf82-1ecc-4834-827e-d26ff95fb207) for the attribute object, which is configurable via [ADSI Edit](/windows/win32/adsi/about-adsi) in the Schema naming context. Access to ADSI Edit should be approached with caution and requires at minimum [Schema Admin](/services-hub/unified/health/remediation-steps-ad/remove-all-members-from-the-schema-admins-group-unless-you-are-actively-changing-the-schema) privileges.
6868

69-
70-
:::image type="content" source="./media/lightweight-directory-protocol-schemas/____.png" alt-text="Screenshot of connection settings menu." lightbox="./media/lightweight-directory-protocol-schemas/____.png":::
71-
69+
:::image type="content" source="./media/lightweight-directory-access-protocol-schemas/connection-settings.png" alt-text="Screenshot of connection settings menu." lightbox="./media/lightweight-directory-access-protocol-schemas/connection-settings.png":::
7270

7371
By default, the uid attribute object’s `searchFlags` are set to 0x8 (PRESERVE_ON_DELETE). This default setting esnures that even if the object in Active Directory is deleted, the attribute value remains stored in the directory as a historical record of the user’s attribute.
7472

75-
:::image type="content" source="./media/lightweight-directory-protocol-schemas/____.png" alt-text="Screenshot of uid properties menu." lightbox="./media/lightweight-directory-protocol-schemas/____.png":::
73+
:::image type="content" source="./media/lightweight-directory-access-protocol-schemas/search-flag-no-index.png" alt-text="Screenshot of uid properties menu." lightbox="./media/lightweight-directory-access-protocol-schemas/search-flag-no-index.png":::
7674

7775
In comparison, an attribute that is indexed in Active Directory for LDAP searches would have the value of 0x1 (or some combination including that value), such as the uidNumber:
7876

79-
:::image type="content" source="./media/lightweight-directory-protocol-schemas/____.png" alt-text="Screenshot of UiDNumber properties menu." lightbox="./media/lightweight-directory-protocol-schemas/____.png":::
77+
:::image type="content" source="./media/lightweight-directory-access-protocol-schemas/number-properties.png" alt-text="Screenshot of UiDNumber properties menu." lightbox="./media/lightweight-directory-access-protocol-schemas/number-properties.png":::
8078

8179
Because of this, queries for uidNumber return faster than queries for uid. For consistency and performance, you can adjust the `searchFlags` value for uid to 9 by adding 0x1 along with the existing value of 0x8, which is (INDEX | PRESERVE_ON_DELETE). This addition maintains the default behavior while adding attribute indexing to the directory.
8280

83-
:::image type="content" source="./media/lightweight-directory-protocol-schemas/____.png" alt-text="Screenshot of integer attribute editor." lightbox="./media/lightweight-directory-protocol-schemas/____.png":::
84-
85-
:::image type="content" source="./media/lightweight-directory-protocol-schemas/____.png" alt-text="Screenshot of uid properties menu with indexing added." lightbox="./media/lightweight-directory-protocol-schemas/____.png":::
81+
:::image type="content" source="./media/lightweight-directory-access-protocol-schemas/integer-attribute-editor.png" alt-text="Screenshot of integer attribute editor." lightbox="./media/lightweight-directory-access-protocol-schemas/integer-attribute-editor.png.png":::
8682

87-
With indexing added, searches for user attributes with uid are as fast as searches for other indexed attributes.
83+
:::image type="content" source="./media/lightweight-directory-access-protocol-schemas/search-flag-indexed.png" alt-text="Screenshot of uid properties menu with indexing added." lightbox="./media/lightweight-directory-access-protocol-schemas/search-flag-indexed.png":::
8884

85+
With indexing, searches for user attributes with uid are as fast as searches for other indexed attributes.
8986

9087
## Next steps
9188

0 commit comments

Comments
 (0)