From 1b03a7013c96f92ea2a9a5ea6dcbccd4866d68a4 Mon Sep 17 00:00:00 2001 From: "grafana-delivery-bot[bot]" <132647405+grafana-delivery-bot[bot]@users.noreply.github.com> Date: Tue, 30 Sep 2025 17:07:42 -0400 Subject: [PATCH] [release-11.6.7] LDAP Authentication: Fix URL to propagate username context as parameter (#111846) LDAP Authentication: Fix URL to propagate username context as parameter (#111723) Fix URL to propagate username context as parameter (cherry picked from commit 7055ba914024a2bb9daa8421cd2b8ae715cd5afd) Co-authored-by: Bradley <12028233+bradleypettit@users.noreply.github.com> --- public/app/features/admin/UserLdapSyncInfo.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/app/features/admin/UserLdapSyncInfo.tsx b/public/app/features/admin/UserLdapSyncInfo.tsx index 36ddefdfb65..ec15deb347b 100644 --- a/public/app/features/admin/UserLdapSyncInfo.tsx +++ b/public/app/features/admin/UserLdapSyncInfo.tsx @@ -28,7 +28,7 @@ export class UserLdapSyncInfo extends PureComponent { const { ldapSyncInfo, user } = this.props; const nextSyncSuccessful = ldapSyncInfo && ldapSyncInfo.nextSync; const nextSyncTime = nextSyncSuccessful ? dateTimeFormat(ldapSyncInfo.nextSync, { format }) : ''; - const debugLDAPMappingURL = `${debugLDAPMappingBaseURL}?user=${user && user.login}`; + const debugLDAPMappingURL = `${debugLDAPMappingBaseURL}?username=${user && user.login}`; const canReadLDAPUser = contextSrv.hasPermission(AccessControlAction.LDAPUsersRead); const canSyncLDAPUser = contextSrv.hasPermission(AccessControlAction.LDAPUsersSync);