J
Jeannie
I have tried to generate the unicodePwd by double quoting
and then base64 encoding it. I have tried to use the tool
http://www.opinionatedgeek.com/DotNet/Tools/Base64Encode/De
fault.aspx, using perl and java to encode it.
However, I am not able to import it using LDIFDE, it
always complaint that "The unicodePwd attribute value must
be enclosed in double quotes. However, I am successful
using the sample in article Q263991 as follows:
The following sample Ldif file (chPwd.ldif) changes a
password to newPassword:
dn: CN=TestUser,DC=testdomain,DC=com
changetype: modify
replace: unicodePwd
unicodePwd::IgBuAGUAdwBQAGEAcwBzAHcAbwByAGQAIgA=
-
I am not able to get the above same encoded string if I
tried to encode "newPassword" myself. I search all other
postings and tried all the encoded password other people
used without any success.
Do anybody know how could I generate the unicodePwd
correctly?
Thanks a lot.
and then base64 encoding it. I have tried to use the tool
http://www.opinionatedgeek.com/DotNet/Tools/Base64Encode/De
fault.aspx, using perl and java to encode it.
However, I am not able to import it using LDIFDE, it
always complaint that "The unicodePwd attribute value must
be enclosed in double quotes. However, I am successful
using the sample in article Q263991 as follows:
The following sample Ldif file (chPwd.ldif) changes a
password to newPassword:
dn: CN=TestUser,DC=testdomain,DC=com
changetype: modify
replace: unicodePwd
unicodePwd::IgBuAGUAdwBQAGEAcwBzAHcAbwByAGQAIgA=
-
I am not able to get the above same encoded string if I
tried to encode "newPassword" myself. I search all other
postings and tried all the encoded password other people
used without any success.
Do anybody know how could I generate the unicodePwd
correctly?
Thanks a lot.