quickstart-microsoft-sql icon indicating copy to clipboard operation
quickstart-microsoft-sql copied to clipboard

Malformed OU Path in CreateAGNode1.ps1

Open fodderOH opened this issue 5 years ago • 0 comments

In CreateAGNode1.ps1 on line 131 there is an error in the $OUPath variable.

It is currently set to: $OUPath = 'OU=Computers,OU=' + $DomainNetBIOSName + "," + $DN

$DomainNetBIOSName is unnecesary as $DN contains the fully parsed domain path. Also Computers is a CN, not an OU. So with this code you wind up with an $OUPath = "OU=Computers,OU=contoso,DC=contoso,DC=com".

This error causes the permissions to not be set properly on the OU, which can cause the cluster to fail to start if it can't create the VCO.

It should be:

$OUPath = "CN=Computers," + $DN

fodderOH avatar Jul 30 '20 12:07 fodderOH