In order to set passwords in Active Directory via LDAP you must first
convert the data to utf-16, little-endian. Here is the javascript
method we used to use for it.

function convertpassword(input)
var output='';
for(var i = 0; i < input.length; i++)
output += String.fromCharCode( input.charCodeAt(i) &
0xFF,(input.charCodeAt(i) >>> 8) & 0xFF);
return output;

This does not seem to work in our driver. It only returns the first
char and tries to write that out to the password attribute. Any ideas?

IDM 3.6.1

coulior's Profile:
View this thread: