From 076767682040a1c775314a871b817ee74ab43d16 Mon Sep 17 00:00:00 2001 From: Zac Bergquist Date: Fri, 29 Mar 2024 21:21:55 -0600 Subject: [PATCH] log correct pki_domain in windows_desktop_service (#40034) --- lib/srv/desktop/windows_server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/srv/desktop/windows_server.go b/lib/srv/desktop/windows_server.go index 76f2809046aef..469c7312572d7 100644 --- a/lib/srv/desktop/windows_server.go +++ b/lib/srv/desktop/windows_server.go @@ -360,7 +360,7 @@ func NewWindowsService(cfg WindowsServiceConfig) (*WindowsService, error) { if s.cfg.PKIDomain != "" { caLDAPConfig.Domain = s.cfg.PKIDomain } - s.cfg.Log.Infof("Windows PKI will be performed against %v", s.cfg.PKIDomain) + s.cfg.Log.Infof("Windows PKI will be performed against %v", caLDAPConfig.Domain) s.ca = windows.NewCertificateStoreClient(windows.CertificateStoreConfig{ AccessPoint: s.cfg.AccessPoint,