How to change users in TortoiseSVN

后端 未结 6 2323
无人及你
无人及你 2020-12-22 16:16

I was setting up another user to use our SVN repository. He didn\'t have a username/password, so I logged in with my credentials. We now have a username/password for him.

6条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-22 17:08

    When you use Integrated Windows Authentication (i.e., Active Directory Single Sign-On), you authenticate to AD resources automatically with your AD credentials. You've are already signed in to AD and these credentials are reused automatically. Therefore if your server is IWA-enabled (e.g., VisualSVN Server), the server does not ask you to enter username and password, passing --username and --password does not work, and the SVN client does not cache your credentials on disk, too.

    When you want to change the user account that's used to contact the server, you need use the Windows Credential Manager on client side. This is also helpful when your computer is not domain joined and you need to store your AD credentials to access your domain resources.

    Follow these steps to save the user's domain credentials to Windows Credential Manager on the user's computer:

    1. Start Control Panel | Credential Manager on the client computer.
    2. Click Add a Windows Credential.
    3. As Internet or network address enter the FQDN of the server machine (e.g., svn.example.com).
    4. As Username enter your domain account's username in the DOMAIN\Username format.
    5. Complete the password field and click OK.

    Now when you will contact https://svn.example.com/svn/MyRepo or a similar URL, the client or web browser will use the credentials saved in the Credential Manager to authenticate to the server.

提交回复
热议问题