MoveComputerToOU

Jun 30, 2014 at 9:24 AM
Hi guys,

Just about to try and configure move computer to OU but I'm got a question regarding OU's with spaces.

Basically, when I try to test the MoveComputerToOU function by hand from the ad.asmx page, I generate an error whenever there are spaces present.

Everything is OK and can be found leading up to the error. It seems only when it tries to move the object that there is an issue.

2014-06-30 09:13:49.9464|DEBUG|MaikKoster.Deployment.AD.Controller|Moving object "CN=TESTBOX" from "LDAP://OU=TEST2,DC=PINKE,DC=NET" to "LDAP://OU=Moonbase One HQ,DC=PINKE,DC=NET"

2014-06-30 09:13:49.9464|DEBUG|MaikKoster.Deployment.AD.Controller|Exception: An invalid dn syntax has been specified.

Any ideas?