[Samba] Another interesting side-effect of july patch... powershell...

Marco Gaiarin gaio at lilliput.linux.it
Wed Oct 4 15:10:28 UTC 2023


In a Win10 22H2 64bit box, in an AD domain with an unpatched samba (that for
user logon, works as expected):

 PS P:\> Get-AppxPackage -allusers
 Get-AppxPackage : La relazione di trust tra questa workstation e il dominio primario non è riuscita. (Eccezione da HRESULT: 0x800706FD)
 In riga:1 car:1
 + Get-AppxPackage -allusers
 + ~~~~~~~~~~~~~~~~~~~~~~~~~
     + CategoryInfo          : NotSpecified: (:) [Get-AppxPackage], COMException
     + FullyQualifiedErrorId : System.Runtime.InteropServices.COMException,Microsoft.Windows.Appx.PackageManager.Commands.GetAppxPackageCommand

(Sorry for italian, but...) eg 'Get-AppxPackage -allusers' return trust
relationship trouble. But:

 PS P:\> Get-AppxPackage
 Name              : Microsoft.BioEnrollment
 Publisher         : CN=Microsoft Windows, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
 Architecture      : Neutral
 ResourceId        :
 Version           : 10.0.19041.1023
 [...]

plain 'Get-AppxPackage' works.


In an Win10 21H2, both works as expected...


Boh... if someone have some clue...

-- 
  Stanno arrivando da lontano con il futuro nella mano
  sotto la pioggia					(A. Venditti)





More information about the samba mailing list