Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Accessing SVN repository from CCNet (CruiseControl.net) using an Active Directory user

I have CCNet setup to talk to our SVN repository, which has it's ACLs setup using Active Directory groups. This is working fine, except I'm not happy with having the user name and password of the AD user stored in plain text on the CCNet instance.

Is there a way to either encrypt the AD username/password, or get the CCNet service (I've tried running the service as the user and removing the the username/password section of the CCNet/SVN config) to use a domain account outside of the standard config?

like image 621
Tr1stan Avatar asked Jun 14 '10 07:06

Tr1stan


1 Answers

On the server that will run ccnet, use SVN from the command line to do something that requires authentication. That will cache your credentials using Windows.

Then run the service as the user and use <authCaching>Always</authCaching> in the config file.

<sourcecontrol type="svn">
  <authCaching>Always</authCaching>
</sourcecontrol>
like image 80
maddoxej Avatar answered Nov 01 '22 20:11

maddoxej