Username Case Sensitive Problem Of Subversion(SVN)

11 views
Skip to first unread message

GuoXiao3322

unread,
Aug 19, 2024, 4:33:32 AMAug 19
to TortoiseSVN
Environment

I'm using Subversion(1.14.1) and Ubuntu(22.04.4 LTS) as the server, TortoiseSVN(1.14.7) as the client.

Case

【Case1】
Yesterday, I have no user group on svn server. My passwd and authz files are like:

[users]
User1=password1
User2=password2
User3=password3

[groups]
# empty

[/]
* = rw

At that time, I can log in svn from client by both Username=User1 and Username=user1, which is case insensitive.

【Case2】
Today, I add some groups to svn server. My passwd and authz files are like:

[users]
User1=password1
User2=password2

[groups]
Group1 = User1,User2
Group2 = User3

[/]
@Group1 = rw
* =

Now, I can log in svn from client only by Username=User1. Username=user1 fails, which is case sensitive.

Question

This is very wired to me.
I changed no setting on Subversion, but Subversion changes its behavior on case sensitive for username.
Besides, I don't know this problem is caused by the server or the client.


I have also asked this question on StackOverflow

My Question On StackOverflow

Daniel Sahlberg

unread,
Aug 19, 2024, 4:41:16 AMAug 19
to TortoiseSVN
As far as I know, the username is ALWAYS case sensitive.

That said, in [Case 1] ALL users have access. The server in that case wouldn't even ask for authentication and TortoiseSVN shouldn't even ask for a username. If you used the command line client you can specify a username and password using the --username and --password options, but these are only sent to the server if it asks for authentication so in that case it would look like you authenticated with "user1" although it wasn't so.

Kind regards,
Daniel

 
Reply all
Reply to author
Forward
0 new messages