Skip to content

adfs2 failed to join domain windomain.local #3

Description

@HtmlMak

When launching vagrant up adfs2, there is no connection. Do I need to make any settings after starting DC? Or maybe incompatibility with virtualbox 5.2 and vagrant 2.0?

Log:

Ooops, workgroup!
Join the domain
First, set DNS to DC to join the domain


__GENUS          : 2
__CLASS          : __PARAMETERS
__SUPERCLASS     :
__DYNASTY        : __PARAMETERS
__RELPATH        :
__PROPERTY_COUNT : 1
__DERIVATION     : {}
__SERVER         :
__NAMESPACE      :
__PATH           :
ReturnValue      : 0
PSComputerName   :

Now join the domain
HasSucceeded : False
ComputerName : adfs2

Hint: vagrant reload adfs2 --provision




Stderr from the command:

powershell.exe : Add-Computer : Computer 'adfs2' failed to join domain 'windomain.local' from its current workgroup 'WORKGROUP' with
    + CategoryInfo          : NotSpecified: (Add-Computer : ...ORKGROUP' with :String) [], RemoteException
    + FullyQualifiedErrorId : NativeCommandError
following error message: The specified domain either does not exist or could not be contacted.
At C:\vagrant\scripts\join-domain.ps1:17 char:1
+ Add-Computer -DomainName "windomain.local" -credential $DomainCred -PassThru
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OperationStopped: (adfs2:String) [Add-Computer], InvalidOperationException
    + FullyQualifiedErrorId : FailToJoinDomainFromWorkgroup,Microsoft.PowerShell.Commands.AddComputerCommand

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions