passport-ldapauth (and its dependency node-ldapauth) don't support binary data just yet. I have some patches sitting locally which address this which I'll try to submit to them. That might take a while though, as it entails breaking the API and 2 npm releases.