måndag 19 augusti 2024 kl. 10:33:32 UTC+2 skrev guoxi...@gmail.com:

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 
<https://stackoverflow.com/questions/78874507/username-case-sensitive-problem-of-subversionsvn>


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

 

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tortoisesvn/06ce3433-700b-4fb8-890e-4beea65fc026n%40googlegroups.com.

Reply via email to