Reputation: 718
I'm trying to import some files into my SVN via Command line like this:
svn import -m "message" "mypath" "https://mysvn" --username "user" --password "password"
The issue I'm facing is that the provided credentials are completely ignored and instead my windows user is taken for authentication at the SVN. So the import succeeds but the SVN history mentions my Windows user as Author and not the user I provided via command line.
Is anyone familiar with this issue? Is there a way the get the credentials in the command used for import instead of the windows user?
Thanks in advance!
Upvotes: 0
Views: 462
Reputation: 16
This has been answered in the thread: In SVN how do I override automatic Windows domain authentication
Thus, in your case, using the command line
svn import -m "message" "mypath" "https://mysvn" --username "user" --password "password" --config-option servers:global:http-auth-types=basic;digest
should do the job.
Upvotes: 0
Reputation: 30662
I can only guess that your server is using AD Single Sign-On and therefore you are getting authenticated under your user account's credentials. Enter another account's credentials to Windows Credential Manager if you want to use other user account.
Upvotes: 2