macsux / gmsa-ccg-plugin

6 stars 7 forks source link

Error: No such interface supported #3

Open ngwwm opened 1 year ago

ngwwm commented 1 year ago

I'm getting the below docker error when executing docker run --security-opt ...

docker: Error response from daemon: hcsshim::CreateComputeSystem b78a19b4941c6963d973af5391133c10088e4d6cdd6a018d460d6ed9e04ee26b: winapi error #3489792023.

From event log, I can see the No such interface supported error.

Get-WinEvent -logname Microsoft-Windows-Containers-CCG/Admin | format-list

TimeCreated  : 22/02/2023 23:10:20
ProviderName : Microsoft-Windows-Containers-CCG
Id           : 4
Message      : Container Credential Guard failed to instantiate the plugin: {DEFFF03C-3245-465F-8391-CC586A2D1F32}. Error: No such interface supported

do you have any idea?

macsux commented 1 year ago

It's been a while since I looked at it, but I know my code works cuz it was used as foundation to implement IWA support in VMware Tanzu application service, which will have this feature rolled out next release. I've disassembled my Ad lab so hard for me to look at this atm

On Wed, Feb 22, 2023, 6:25 p.m. Martin N @.***> wrote:

I'm getting the below docker error when executing docker run --security-opt ...

docker: Error response from daemon: hcsshim::CreateComputeSystem b78a19b4941c6963d973af5391133c10088e4d6cdd6a018d460d6ed9e04ee26b: winapi error #3489792023.

From event log, I can see the No such interface supported error.

Get-WinEvent -logname Microsoft-Windows-Containers-CCG/Admin | format-list

TimeCreated : 22/02/2023 23:10:20 ProviderName : Microsoft-Windows-Containers-CCG Id : 4 Message : Container Credential Guard failed to instantiate the plugin: {DEFFF03C-3245-465F-8391-CC586A2D1F32}. Error: No such interface supported

do you have any idea?

— Reply to this email directly, view it on GitHub https://github.com/macsux/gmsa-ccg-plugin/issues/3, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAINFWFS2OBW2RXPCZTB273WY2N5TANCNFSM6AAAAAAVE6FSKI . You are receiving this because you are subscribed to this thread.Message ID: @.***>

ngwwm commented 1 year ago

Thanks for your reply. I don't have much experience in com objects. The com registration is correct as I can create an instance of the object and invoke the GetPasswordCredentials method. I can see the log file as well.

devAlex-zz commented 1 year ago

I'm getting exactly the same error. Maybe it has something to do with the Windows Version ? Documentation says:

Requirements: Minimum supported client | Windows 10 Build 20348 Minimum supported server | Windows 10 Build 20348

https://learn.microsoft.com/en-us/windows/win32/api/ccgplugins/nf-ccgplugins-iccgdomainauthcredentials-getpasswordcredentials#requirements

Build Number 20348 corresponds to Windows Server 2022

macsux commented 1 year ago

I'll try to recreate the environment next week see if I can reproduce the issue.

On Wed, Mar 8, 2023 at 12:30 PM devAlex-zz @.***> wrote:

I'm getting exactly the same error. Maybe it has something to do with the Windows Version ? Documentation says:

Requirements: Minimum supported client | Windows 10 Build 20348 Minimum supported server | Windows 10 Build 20348

https://learn.microsoft.com/en-us/windows/win32/api/ccgplugins/nf-ccgplugins-iccgdomainauthcredentials-getpasswordcredentials#requirements

Build Number 20348 corresponds to Windows Server 2022

— Reply to this email directly, view it on GitHub https://github.com/macsux/gmsa-ccg-plugin/issues/3#issuecomment-1460546187, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAINFWGJKMQZIKXHYKJRS4LW3C65HANCNFSM6AAAAAAVE6FSKI . You are receiving this because you commented.Message ID: @.***>