hirochachacha / go-smb2

SMB2/3 client library written in Go.
BSD 2-Clause "Simplified" License
350 stars 94 forks source link

smb and kerberos #63

Open wlkx0925 opened 2 years ago

wlkx0925 commented 2 years ago

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?

ILightThings commented 1 year ago

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

lorenz commented 1 year ago

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.

testcheyi commented 3 months ago

We have been using hirochachacha smb stack for last 5 years and now we need kerberos support. Any plans to get it added?