| Anonymous | Login | Signup for a new account | 2010-09-07 09:19 MSD |
| Main | My View | View Issues | Change Log | Roadmap | Docs |
| Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | |||||||||||
| ID | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
| 0000367 | [SVNKit] bug | minor | always | 2010-04-13 21:19 | 2010-04-20 16:47 | |||||||
| Reporter | hmazzoni | View Status | public | |||||||||
| Assigned To | oka | |||||||||||
| Priority | normal | Resolution | open | |||||||||
| Status | assigned | Product Version | 1.3.x | |||||||||
| Summary | 0000367: Cannot negotiate authentication mechanism with subversion server with NTLM authentication | |||||||||||
| Description |
From eclipse via svn protocol (svn://). [^] The subversion server have NTLM authentication. I get the follow error: "svn: Cannot negotiate authentication mechanism" Version svnkit: 1.3.0 Version Eclipse: Galileo 3.5 |
|||||||||||
| Additional Information |
Attach StackTrace: org.eclipse.team.svn.core.connector.SVNConnectorAuthenticationException: svn: Cannot negotiate authentication mechanism at org.polarion.team.svn.connector.svnkit.SVNKitConnector.handleClientException(SVNKitConnector.java:1422) at org.polarion.team.svn.connector.svnkit.SVNKitConnector.mkdir(SVNKitConnector.java:1112) at org.eclipse.team.svn.core.extension.factory.ThreadNameModifier.mkdir(ThreadNameModifier.java:398) at org.eclipse.team.svn.core.operation.remote.CreateFolderOperation.runImpl(CreateFolderOperation.java:90) at org.eclipse.team.svn.core.operation.AbstractActionOperation.run(AbstractActionOperation.java:77) at org.eclipse.team.svn.core.utility.ProgressMonitorUtility.doTask(ProgressMonitorUtility.java:104) at org.eclipse.team.svn.core.operation.CompositeOperation.runImpl(CompositeOperation.java:94) at org.eclipse.team.svn.core.operation.AbstractActionOperation.run(AbstractActionOperation.java:77) at org.eclipse.team.svn.core.operation.LoggedOperation.run(LoggedOperation.java:38) at org.eclipse.team.svn.core.utility.ProgressMonitorUtility.doTask(ProgressMonitorUtility.java:104) at org.eclipse.team.svn.core.utility.ProgressMonitorUtility.doTaskExternal(ProgressMonitorUtility.java:90) at org.eclipse.team.svn.ui.utility.DefaultCancellableOperationWrapper.run(DefaultCancellableOperationWrapper.java:55) at org.eclipse.team.svn.ui.utility.SVNTeamOperationWrapper.run(SVNTeamOperationWrapper.java:35) at org.eclipse.team.internal.ui.actions.JobRunnableContext.run(JobRunnableContext.java:144) at org.eclipse.team.internal.ui.actions.JobRunnableContext$ResourceJob.runInWorkspace(JobRunnableContext.java:72) at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) Caused by: org.tigris.subversion.javahl.ClientException: svn: Cannot negotiate authentication mechanism at org.tigris.subversion.javahl.JavaHLObjectFactory.throwException(JavaHLObjectFactory.java:778) at org.tmatesoft.svn.core.javahl.SVNClientImpl.throwException(SVNClientImpl.java:1924) at org.tmatesoft.svn.core.javahl.SVNClientImpl.mkdir(SVNClientImpl.java:910) at org.polarion.team.svn.connector.svnkit.SVNKitConnector.mkdir(SVNKitConnector.java:1109) ... 15 more Caused by: org.tmatesoft.svn.core.SVNAuthenticationException: svn: Cannot negotiate authentication mechanism at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:62) at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:51) at org.tmatesoft.svn.core.internal.io.svn.SVNPlainAuthenticator.authenticate(SVNPlainAuthenticator.java:114) at org.tmatesoft.svn.core.internal.io.svn.sasl.SVNSaslAuthenticator.authenticate(SVNSaslAuthenticator.java:92) at org.tmatesoft.svn.core.internal.io.svn.SVNConnection.authenticate(SVNConnection.java:173) at org.tmatesoft.svn.core.internal.io.svn.SVNRepositoryImpl.authenticate(SVNRepositoryImpl.java:1260) at org.tmatesoft.svn.core.internal.io.svn.SVNRepositoryImpl.getCommitEditorInternal(SVNRepositoryImpl.java:1567) at org.tmatesoft.svn.core.io.SVNRepository.getCommitEditor(SVNRepository.java:2474) at org.tmatesoft.svn.core.wc.SVNCommitClient.doMkDir(SVNCommitClient.java:467) at org.tmatesoft.svn.core.javahl.SVNClientImpl.mkdir(SVNClientImpl.java:908) ... 16 more |
|||||||||||
| Tags | No tags attached. | |||||||||||
| planned for version | 1.2.x | |||||||||||
| Attached Files | ||||||||||||
|
|
||||||||||||
Notes |
|
|
(0000811) hmazzoni (reporter) 2010-04-13 21:23 |
the problem ocurrs when I commit a file |
|
(0000818) oka (administrator) 2010-04-20 16:47 |
Hello, SVNKit uses SASL support that is built into JVM. First, make sure you're using JDK 1.5 or newer, as there is no SASL support in older versions. Then, take into account that JVM SASL support limited number of authentication types over SASL. I.e. it does support DIGEST-MD5, CRAM-MD5, but I doubt it supports NTLM. Refer to this article for more information on how to configure server-side SASL with DIGEST-MD5 mechanism: http://www.question-defense.com/2009/04/29/svn-checkout-svn-cannot-negotiate-authentication-mechanism [^] Also, make sure min-encryption option is set below 128 (i.e. 64), as JDK may not support higher encryption values. |
| Mantis 1.1.0[^] Copyright © 2000 - 2007 Mantis Group |