-
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
spnego support #436
Comments
I have a question and requests.
|
|
Thanks! Let me check it. |
Can you check your old client can connect with samba after adding raw NTLMv2 auth = yes smb.conf of samba ? raw NTLMv2 auth = yes I am finding the proper config parameter in samba's smb.conf. |
thank you for looking into this!
to make sure I understand it correctly:
I'll try this as soon as I have some spare time (which may take until the weekend) and then update you in here |
Right, I expect that your old client connection failed with samba when setting the parameter I suggested.
Thanks! If it is clear, I will add "raw NTLMv2 auth" parameter in ksmbd's configuration. |
adding or removing packet dump with above setting enabled (I removed everything after the successful "Tree Connect" response to keep things simple): https://gist.github.com/xdarklight/e18c83855bbd1aa278eeb61788eafc2c/raw/4c54fe8479ff138c9c2635e6f2dc1bfefbd90bff/samba4.pcap |
Have you added/removed this parameter at global section like the following ? and should use_spnego = false in ksmbd at the same time. [global] |
yes, sorry for not being clear about that
I added in the meantime I have found this inside the samba source-code: https://github.com/samba-team/samba/blob/0b742ec6a0558397d5cf01b99a401f8e2bc0e2e0/source4/smb_server/smb/negprot.c#L299 |
fixed with 365d380 |
Hello,
I have an old SMB client which unfortunately cannot connect to
ksmbd
my server config:
I found the following TODO in
smb1pdu.c:875
:setting
conn->use_spnego = false;
make this odd client work for me.Are there any plans to make it configurable through
smb.conf
as the comment says?If not: do you have any reference that I can follow for implementing it myself?
Thank you!
Martin
The text was updated successfully, but these errors were encountered: