tfenster/dockeraccesshelper

trust relationship error

Closed this issue · 2 comments

PS C:\WINDOWS\system32> Add-AccountToDockerAccess "myusername"
Exception calling "AddAccessRule" with "1" argument(s): "The trust relationship between this workstation and the primary domain failed.
"
At C:\Program Files\WindowsPowerShell\Modules\dockeraccesshelper\0.0.3\Add-AccountToDockerAccess.psm1:67 char:5

  • $dSec.AddAccessRule($rule)
    
  • ~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : NotSpecified: (:) [], MethodInvocationException
    • FullyQualifiedErrorId : SystemException

@tprzyzycki This happens in my experience if a) you've been disconnected from the domain controller for too long or b) the password you use locally and the password that is stored on the directory are out of sync. Does everything else work for you?

I managed to get it working. Thanks for your suggestions