go-smb2 icon indicating copy to clipboard operation
go-smb2 copied to clipboard

smb and kerberos

Open wlkx0925 opened this issue 2 years ago • 3 comments

I want to connect to nas through smb2, but the authentication in the middle is not ntlm way, it is kerberos way authentication, how do I deal with it, can you help me solve it?

wlkx0925 avatar Apr 19 '22 11:04 wlkx0925

This library only supports NTLM Authentication. There is currently no way to use Kerberos authentication.

ILightThings avatar Mar 06 '23 19:03 ILightThings

If you want to play around with it, my gokrb5 fork and https://github.com/lorenz/go-smb2/commit/7a091ab768e3ed62d88a4933f65969dd2f6e05e0 implements working Kerberos in pure Go. I'll see if I can make this upstreamable at some point.

lorenz avatar Sep 25 '23 01:09 lorenz