OK, I had neglected to convert to UTF-16LE before MD4. I can now manually insert the password values and it works. So what's up with smbpasswd not doing the right thing? -- Mark J. Reed <markjreed at mail.com>