cli_raw_ntlm_smb_encryption_start() talloc_move's the gensec_security to the NULL talloc context.
Created attachment 12637 [details] git-am fix for master. Metze, I think this might do the trick (also fixes the incorrect comments) - can you confirm ? Jeremy.
Fixed in d6216b8f375fe553a1dbe9b85da3b994384ac392