-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Auth failure from Windows client #572
Comments
Regarding the 10-second delay, have you entered the wrong password more than 10 times? In order to avoid dictionary attacks, ksmbd give a delay for 5 seconds if the password is wrong 10 times in a row.
"authentication failed" message is coming when an incorrect password from client is sent to ksmbd. Have you ever changed the password for testuser? If you create testuser2 and login from windows, Let me know if you still get same issue. |
I'm sure I was using the right password because it worked fine from linux and Mac clients. Today this is working again. There is still a long delay before asking for password, and another delay after I enter the password. Is there a way to reset the 5 second delay period? |
Can you send packet dump file captured on problem situation ? |
Today the behavior is different. Now mounting with
I'm also attaching a pcap of that using loopback interface. In both cases I see a lot of |
When I try to login from Windows 10 client, it takes a long time (10 seconds) before asking for the password, and then after I enter the password it takes another 10 seconds before saying it's wrong.
I can mount it successfully from linux using the same credentials with
smbclient
.Here's the debug log during one attempted login:
I'm using version 3.4.5 and I created the user with
ksmbd.adduser -a tester
.The text was updated successfully, but these errors were encountered: