CruiseControl.Net is running on Server A (Win2003). It needs to copy some files from Server A to Server B (Win2008). It needs to do this unattended, without any user being logged into either machine.

We are not running a Windows domain, so all user accounts are local.

CC has no "authenticated copy" task, so there's no way to get it to authenticate to Server B and just use a UNC path.

I could open up an unrestricted share on Server B, but that seems like a bad idea.

What are my options other than FTP?

(And, yes, I realize that this is a precisely what domain controllers are for... :-)

link|improve this question

43% accept rate
feedback

1 Answer

up vote 5 down vote accepted

Create a user account on both machines with the same username and password (or mirror the user that CruiseControl uses over on ServerB). Then create a share on Server B with permissions for that user to write. The authentication sent from ServerA will be the username/pwd of the user, which will validate on ServerB as well.

link|improve this answer
Nice. Thank you. I had no idea credentials would pass like this. – Deane Jan 19 '10 at 21:00
You bet, that's what we're here for :) – squillman Jan 19 '10 at 21:03
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.