How to reproduce: 1. Try using smbclient with username and NT hash smbclient -U myusername%878d8014606cda29677a44efa1353fc7 --pw-nt-hash -L localhost It works. 2. Try rpcclient with the same parameters: rpcclient -U myusername%878d8014606cda29677a44efa1353fc7 --pw-nt-hash localhost Cannot connect to server. Error was NT_STATUS_LOGON_FAILURE Easy way to generate NT hash is: printf '%s' "mypassword" | iconv -t utf16le | openssl md4 Tested with Samba 4.1.11 on Ubuntu 12.04.
Got it reproduced, looking for a fix.
A fix is in master, should be backport it?
Created attachment 12124 [details] patches for 4.3.x and 4.4.x with cherry-pick information
Comment on attachment 12124 [details] patches for 4.3.x and 4.4.x with cherry-pick information LGTM.
Reassigning to Karolin for inclusion in 4.4.next, 4.3.next.
(In reply to Jeremy Allison from comment #5) Pushed to autobuild-v4-[4|3]-test.
(In reply to Karolin Seeger from comment #6) Pushed to both branches. Closing out bug report. Thanks!