I wasn't reading the logs closely enough. Your email pointed me in the right 
direction. Needed quotes around my OU path.

________________________________
John Marcum
Lead Desktop Engineer
Bradley Arant Boult Cummings LLP
________________________________

From: [email protected] [mailto:[email protected]] On 
Behalf Of Miller, Todd
Sent: Friday, February 07, 2014 1:09 PM
To: [email protected]
Subject: [MDT-OSD] RE: Maik's Webservice Verbose Logging

Here is how my successful log for a OU move differs from yours.  I am showing 
the line in the log you posted with the line in my log at the exact same spot 
in that Move OU function.  Maybe it will give you a clue if you could see what 
the log would look like in a successful OU move operation. I don't know if this 
will help or not.


The spot where you have LDAP://mydoamin  like
2014-02-07 10:25:13.3661|DEBUG|MaikKoster.Deployment.AD.Controller|Search Root 
is "LDAP://mydomain".

Mine has a FQDN style domain listed like
2014-02-07 05:33:24.9460|DEBUG|MaikKoster.Deployment.AD.Controller|Search Root 
is "LDAP://mysubdomain.mydomain.com".


And  where you get the error
2014-02-07 10:25:13.3791|TRACE|MaikKoster.Deployment.AD.Controller|leaving 
method
2014-02-07 10:25:13.3791|TRACE|MaikKoster.Deployment.AD.Controller|leaving 
method
2014-02-07 10:25:13.3791|WARN|MaikKoster.Deployment.WebService.AD|Error 
resolving computer and/or OU. Skipping further processing


Mine shows it talking to a DC.
2014-02-07 05:33:24.9771|TRACE|MaikKoster.Deployment.AD.Controller|leaving 
method
2014-02-07 05:33:24.9771|TRACE|MaikKoster.Deployment.AD.Controller|leaving 
method
2014-02-07 05:33:24.9771|INFO|MaikKoster.Deployment.WebService.AD|Moving 
computer on Domain Controller DC.mysubdomain.mydomain.com


It seems like it is having trouble locating a DC to perform the move - or maybe 
having trouble talking to the DC it found.  After mine finds a DC to use there 
is still lots of getting objects and whatnot before the actual move happens.  
Yours is breaking at the point where my logs tells me what DC it is going to 
use to perform the move.

If you logged into a server that has AD Users and Computers installed using the 
account the webservice is running as, would you be able to perform the move?  
Maybe it is a permissions problem?

From: [email protected]<mailto:[email protected]> 
[mailto:[email protected]] On Behalf Of Marcum, John
Sent: Friday, February 07, 2014 10:38 AM
To: [email protected]<mailto:[email protected]>
Subject: [MDT-OSD] Maik's Webservice Verbose Logging

Does anyone know how to enable verbose logging on Maik's web service?

I am trying to use the MoveComputertoOU function. For some reason it returns 
false. I've verfied ComputerIsKnown for my test machine. I also enumerated a 
list of OU's using GetOUs to ensure I am entering a valid OU name.

Logs are attached if anyone cares to take a look.


________________________________
John Marcum
Lead Desktop Engineer
Bradley Arant Boult Cummings LLP
________________________________


________________________________

Confidentiality Notice: This e-mail is from a law firm and may be protected by 
the attorney-client or work product privileges. If you have received this 
message in error, please notify the sender by replying to this e-mail and then 
delete it from your computer.

________________________________
Notice: This UI Health Care e-mail (including attachments) is covered by the 
Electronic Communications Privacy Act, 18 U.S.C. 2510-2521, is confidential and 
may be legally privileged.  If you are not the intended recipient, you are 
hereby notified that any retention, dissemination, distribution, or copying of 
this communication is strictly prohibited.  Please reply to the sender that you 
have received the message in error, then delete it.  Thank you.
________________________________

________________________________

Confidentiality Notice: This e-mail is from a law firm and may be protected by 
the attorney-client or work product privileges. If you have received this 
message in error, please notify the sender by replying to this e-mail and then 
delete it from your computer.

________________________________

Confidentiality Notice: This e-mail is from a law firm and may be protected by 
the attorney-client or work product privileges. If you have received this 
message in error, please notify the sender by replying to this e-mail and then 
delete it from your computer.

Reply via email to