--username and --password not working

37 views
Skip to first unread message

Lindsay Herron

unread,
Aug 1, 2024, 8:20:46 AM8/1/24
to TortoiseSVN
Hi,
I have tried to use the --username fakeuser and --password fakepassword --no-auth-cache when using the svn commands in cmd. This is not working for me. 
I have tried  following:
  • deleting the auth folder:
    • rmdir /s /q "%APPDATA%\Subversion\auth"
  • observed the following in the %APPDATA%\Subversion\config file
    • # store-passwords = no
    • # store-auth-creds = no

Our SVN repos are set up with a https client, but other than that I'm not sure about the configuration. If I need to add any details please let me know.

General Version info:
TortoiseSVN 1.14.1, Build 29085 - 64 Bit , 2021/02/09 16:17:02
ipv6 enabled
Subversion 1.14.1, -release
apr 1.6.5
apr-util 1.6.1
serf 1.3.9
OpenSSL 1.1.1i  8 Dec 2020
zlib 1.2.11
SQLite 3.29.0

Pavel Lyalyakin

unread,
Aug 1, 2024, 9:19:40 AM8/1/24
to TortoiseSVN
When the server supports the Negotiate (SPNEGO) security package used for IWA / AD Single Sign-On, the SVN client will always prefer this authentication mode without falling back to password-based Basic authentication (unless you force the client to use Basic authentication). In this case, the SVN client doesn't prompt the end user for credentials and authenticates automatically using the credentials of the AD/Windows account that is currently signed into Windows on the client computer. The --username and --password options are ignored too.

If you want to sign in as a different user account, sign in under this account into Windows. Or try saving alternative credentials into the Windows Credential Manager.

--
You received this message because you are subscribed to the Google Groups "TortoiseSVN" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tortoisesvn...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tortoisesvn/0d395181-552b-4521-ae2e-472a16fdb94cn%40googlegroups.com.


--
With best regards,
Pavel Lyalyakin
VisualSVN Team
Reply all
Reply to author
Forward
0 new messages