vbscript to generate unicodepw
Windows Server Forum Index Windows Server
Server discussion on Windows platform.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web winserverhelp.com
vbscript to generate unicodepw

 
Post new topic   Reply to topic    Windows Server Forum Index -> Active Directory
Author Message
GMartin
Guest





Posted: Fri Jan 14, 2005 4:03 am    Post subject: vbscript to generate unicodepw Reply with quote

Does anyone have a vb snippet that will generate the unicode/base64
string that is needed to set a password via LDAP?

Thanks

\\Greg
Back to top
Joe Kaplan (MVP - ADSI)
Guest





Posted: Fri Jan 14, 2005 9:04 am    Post subject: Re: vbscript to generate unicodepw Reply with quote

I don't think this is going to happen in vbscript unless you write some code
in another language that can give you a byte array as unicode encoded text
from a string.

This is pretty easy to do in .NET or C++ though.

Why not just call SetPassword?

Joe K.

"GMartin" <gmartin@gmartin.org> wrote in message
news:%23i%23Arub%23EHA.4004@tk2msftngp13.phx.gbl...
Quote:
Does anyone have a vb snippet that will generate the unicode/base64 string
that is needed to set a password via LDAP?

Thanks

\\Greg
Back to top
 
Post new topic   Reply to topic    Windows Server Forum Index -> Active Directory All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




New Topics Powered by phpBB