Quantcast

SVN auth cache?

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

SVN auth cache?

Jeff Vincent
When I first set up Jenkins I configured many of the initial jobs to pull from SVN using my personal user credentials.  Once I got it working, I got our IT guys to create me a service account that is used to do the builds and changed all of my jobs to use the service account.
 
This worked great until this morning when I had to change my password.  There is something on the Jenkins server that has cached my personal credentials which it seems to be attempting to use before it tries the Service Account.
 
By doing this, it keeps locking my account.  I am running on Windows server 2008 R2 x64 with Tomcat 7.  I have removed TortoiseSVN and SlikSVN, removed all cache folders I could find from my <LOCAL_USER>/AppData/ folders, removed all subversion.credentials files from each job folder and reran all jobs, verified that the subversion credentials file has the Service Account, but it is STILL attempting to authenticate using my old password and I'm missing something.
 
I fired up WireShark and verified that it is connecting and getting a HTTP/401 error for most of my jobs.
 
Can someone point me to other places to look for SVN credentials?

--
Jeff Vincent
[hidden email]
See my LinkedIn profile at:
http://www.linkedin.com/in/rjeffreyvincent
I ♥ DropBox !! 

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: SVN auth cache?

Jeff Vincent
I think I found it...

C:\Windows\System32\config\systemprofile\AppData\Roaming\Subversion

This is for the LOCALSYSTEM account that is running my tomcat as a service...:-)

On Mon, Jul 30, 2012 at 8:00 PM, Jeff <[hidden email]> wrote:
When I first set up Jenkins I configured many of the initial jobs to pull from SVN using my personal user credentials.  Once I got it working, I got our IT guys to create me a service account that is used to do the builds and changed all of my jobs to use the service account.
 
This worked great until this morning when I had to change my password.  There is something on the Jenkins server that has cached my personal credentials which it seems to be attempting to use before it tries the Service Account.
 
By doing this, it keeps locking my account.  I am running on Windows server 2008 R2 x64 with Tomcat 7.  I have removed TortoiseSVN and SlikSVN, removed all cache folders I could find from my <LOCAL_USER>/AppData/ folders, removed all subversion.credentials files from each job folder and reran all jobs, verified that the subversion credentials file has the Service Account, but it is STILL attempting to authenticate using my old password and I'm missing something.
 
I fired up WireShark and verified that it is connecting and getting a HTTP/401 error for most of my jobs.
 
Can someone point me to other places to look for SVN credentials?

--
Jeff Vincent
[hidden email]
See my LinkedIn profile at:
http://www.linkedin.com/in/rjeffreyvincent
I ♥ DropBox !! 




--
Jeff Vincent
[hidden email]
See my LinkedIn profile at:
http://www.linkedin.com/in/rjeffreyvincent
I ♥ DropBox !! 

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Antwort: SVN auth cache?

Andreas Schilling
In reply to this post by Jeff Vincent
Hi Jeff,

I think the preffered way would be to enter credentials via
http://${YOURJENKINSINSTANCE}/scm/SubversionSCM/enterCredential

kind regards,

Andreas Schilling
CAE Processes & Data Management
-------------------------------------------------------------------
Dipl. Inf. Andreas Schilling
Senior Software Architect

TWT GmbH
Science & Innovation
Bernhäuser Str. 40 - 42
73765 Neuhausen

Tel: +49 - 7158 - 17 15 - 673
E-Mail: [hidden email]
--------------------------------------------------------------------
www.twt-gmbh.de
--------------------------------------------------------------------
Geschäftsführung: Dimitrios Vartziotis, Joachim Laicher (stv.)
Registergericht: Amtsgericht Stuttgart, HRB Nr. 212778
Umsatzsteuer: ID-Nr.: DE147841145
--------------------------------------------------------------------




Von:        Jeff <[hidden email]>
An:        [hidden email]
Datum:        31.07.2012 04:05
Betreff:        SVN auth cache?
Gesendet von:        [hidden email]




When I first set up Jenkins I configured many of the initial jobs to pull from SVN using my personal user credentials.  Once I got it working, I got our IT guys to create me a service account that is used to do the builds and changed all of my jobs to use the service account.
 
This worked great until this morning when I had to change my password.  There is something on the Jenkins server that has cached my personal credentials which it seems to be attempting to use before it tries the Service Account.
 
By doing this, it keeps locking my account.  I am running on Windows server 2008 R2 x64 with Tomcat 7.  I have removed TortoiseSVN and SlikSVN, removed all cache folders I could find from my <LOCAL_USER>/AppData/ folders, removed all subversion.credentials files from each job folder and reran all jobs, verified that the subversion credentials file has the Service Account, but it is STILL attempting to authenticate using my old password and I'm missing something.
 
I fired up WireShark and verified that it is connecting and getting a HTTP/401 error for most of my jobs.
 
Can someone point me to other places to look for SVN credentials?

--

Jeff Vincent
predatorvi@...
See my LinkedIn profile at:

http://www.linkedin.com/in/rjeffreyvincent
I ♥ DropBox !! 

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: SVN auth cache?

Jeff Vincent
Where the heck is that darned thing documented?

Also, I find it interesting that as I watched the WireShark traces, that the SVN polling first tries to authenticate anonymously, then tries the global cache, then tries the job specific settings.  Shouldn't it be the other way around?

The job settings were right but I would get TWO HTTP/401-Unauthorized errors before succeeding for EACH JOB!  Ugh.

Thanks for the tip.

On Tue, Jul 31, 2012 at 2:33 AM, Andreas Schilling <[hidden email]> wrote:
Hi Jeff,

I think the preffered way would be to enter credentials via
http://${YOURJENKINSINSTANCE}/scm/SubversionSCM/enterCredential

kind regards,

Andreas Schilling
CAE Processes & Data Management
-------------------------------------------------------------------
Dipl. Inf. Andreas Schilling
Senior Software Architect

TWT GmbH
Science & Innovation
Bernhäuser Str. 40 - 42
73765 Neuhausen

Tel: <a href="tel:%2B49%20-%207158%20-%2017%2015%20-%20673" value="+4971581715673" target="_blank">+49 - 7158 - 17 15 - 673
E-Mail: [hidden email]
--------------------------------------------------------------------
www.twt-gmbh.de
--------------------------------------------------------------------
Geschäftsführung: Dimitrios Vartziotis, Joachim Laicher (stv.)
Registergericht: Amtsgericht Stuttgart, HRB Nr. 212778
Umsatzsteuer: ID-Nr.: DE147841145
--------------------------------------------------------------------




Von:        Jeff <[hidden email]>
An:        [hidden email]
Datum:        <a href="tel:31.07.2012%2004" value="+13107201204" target="_blank">31.07.2012 04:05
Betreff:        SVN auth cache?
Gesendet von:        [hidden email]




When I first set up Jenkins I configured many of the initial jobs to pull from SVN using my personal user credentials.  Once I got it working, I got our IT guys to create me a service account that is used to do the builds and changed all of my jobs to use the service account.
 
This worked great until this morning when I had to change my password.  There is something on the Jenkins server that has cached my personal credentials which it seems to be attempting to use before it tries the Service Account.
 
By doing this, it keeps locking my account.  I am running on Windows server 2008 R2 x64 with Tomcat 7.  I have removed TortoiseSVN and SlikSVN, removed all cache folders I could find from my <LOCAL_USER>/AppData/ folders, removed all subversion.credentials files from each job folder and reran all jobs, verified that the subversion credentials file has the Service Account, but it is STILL attempting to authenticate using my old password and I'm missing something.
 
I fired up WireShark and verified that it is connecting and getting a HTTP/401 error for most of my jobs.
 
Can someone point me to other places to look for SVN credentials?

--

Jeff Vincent
[hidden email]
See my LinkedIn profile at:

http://www.linkedin.com/in/rjeffreyvincent
I ♥ DropBox !! 




--
Jeff Vincent
[hidden email]
See my LinkedIn profile at:
http://www.linkedin.com/in/rjeffreyvincent
I ♥ DropBox !! 

Loading...