https://bugs.winehq.org/show_bug.cgi?id=55304
--- Comment #17 from Dmitry Timoshkov dmitry@baikal.ru --- (In reply to Hans Leidekker from comment #1)
I can find references for Windows changing from 12000 max token size to 48000 but not 48256. Where does it come from?
Also note that your changes to sasl_decode() and sasl_encode() break NTLM.
I've attached new version of the patch that should address your concerns. Hans, does it look better for you?