Fix nested OU issue.
cr
@@ -263,7 +263,9 @@ func makeArguments(log log.T, pluginInput DomainJoinPluginInput) (commandArgumen
if len(pluginInput.DirectoryOU) != 0 {
log.Debugf("Customized directory OU parameter provided: %v", pluginInput.DirectoryOU)
buffer.WriteString(DirectoryOUArg)
+ buffer.WriteString("'")
buffer.WriteString(pluginInput.DirectoryOU)
+ buffer.WriteString("'")
}
if len(pluginInput.DnsIpAddresses) == 0 {
