From c760f97bc40da790e53dbebee953eeef720f690d 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:55 -0400 Subject: [PATCH] [release-12.1.3] LDAP Authentication: Fix URL to propagate username context as parameter (#111848) 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 ca1d0ec148a..1baf9e219a2 100644 --- a/public/app/features/admin/UserLdapSyncInfo.tsx +++ b/public/app/features/admin/UserLdapSyncInfo.tsx @@ -30,7 +30,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);