Tom's Hardware > Forum > Windows XP > Windows XP General Discussion > Looking for active directory change of password sample sou..

Looking for active directory change of password sample sou..

Forum Windows XP : Windows XP General Discussion - Looking for active directory change of password sample sou..

Tom's Hardware: Over 1.4 million members in 6 different countries available to answer all your high-tech questions. Sign up now! Its free!
Word :    Username :           
 

Archived from groups: microsoft.public.windowsxp.basics (More info?)

 

Hi,

I am looking for sample source code to change a user's password using active
directory.

Best regards,

Philippe

Sponsored Links
Register or log in to remove.

Archived from groups: microsoft.public.windowsxp.basics (More info?)

 

hello

to change password you can use this command line:
for example: username guyt in cp.com domain within ou name = guyds , his
password will be a1yc24kg.

dsmod user "cn=guyt, ou=guyds, dc=cp, dc=com" -pwd a1yC24kg

to add user you can use:
for example: adding user that called: pault in cp.com domain and in guyds ou
with a1yC24kg password

dsadd user "cn=pault, ou=guyds, dc=cp, dc=com" -pwd a1yC24kg


--
Very Warm Regards
Haim Lazarovitch
mcse + messaging 2003


"Philippe C. Martin" wrote:

> Hi,
>
> I am looking for sample source code to change a user's password using active
> directory.
>
> Best regards,
>
> Philippe
>

Reply to Anonymous
Tom's Hardware > Forum > Windows XP > Windows XP General Discussion > Looking for active directory change of password sample sou..
Go to:

There are 526 identified and unidentified users. To see the list of identified users, Click here.

Please mind

You are about to answer a thread that has been inactive for more than 6 months.
If you still wish to proceed, please ensure that your posting is original and does not duplicate or overlap any prior responses to this thread.

Add a reply Cancel
Sponsored links
  • Ask the community now
  • Publish
Ad
They won a badge
Join us in greeting them