Thanks, but I have absolutely no idea how to apply that to the asp
script I have here :S

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: 12 April 2006 10:05
To: ActiveDir@mail.activedir.org
Subject: RE: [ActiveDir] Changing a users password

Google is a wonderful thing :)

http://www.dotnetjunkies.com/Tutorial/1A07BA3D-72EC-41E8-9713-557B9189F8
20.dcik

neil


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Oliver Marshall
Sent: 12 April 2006 09:53
To: ActiveDir@mail.activedir.org
Subject: RE: [ActiveDir] Changing a users password

Hmmm interesting. It certainly does what it says on the tin.

Don't suppose you know how to create an 8 character alphanumeric random
string of characters do you ? 

Thanks

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: 12 April 2006 09:00
To: ActiveDir@mail.activedir.org
Subject: RE: [ActiveDir] Changing a users password

Delegate the ability to reset password to your helpdesk lady.
 
Then grab http://www.rlmueller.net/Programs/ResetPassword.txt
 
Clean that up, put it behind an asp page that requires authentication.
Give
your helpdesk lady access to the page and show her how to use it.
 

Sincerely, 
   _____                                
  (, /  |  /)               /)     /)   
    /---| (/_  ______   ___// _   //  _ 
 ) /    |_/(__(_) // (_(_)(/_(_(_/(__(/_
(_/                             /)      
                               (/       
Microsoft MVP - Directory Services
www.readymaids.com <http://www.readymaids.com>  - we know IT
www.akomolafe.com <http://www.akomolafe.com> Do you now realize that
Today is the Tomorrow you were worried about Yesterday? -anon
 

________________________________

From: [EMAIL PROTECTED] on behalf of Oliver Marshall
Sent: Wed 4/12/2006 12:45 AM
To: ActiveDir@mail.activedir.org
Subject: RE: [ActiveDir] Changing a users password



Net user command only works if you have full admin rights. I've google'd
till 2am this morning, haven't found any free script that doesn't use
the DN.

Cant use ADUC as I'm afraid that, if they see what info they *could*
change, that it will snowball and they will want to change it all. The
whole reason for this is that I am out of the office more and more and
users here have a massive issue with passwords. At the moment they right
them down on a pad on the "receptionists" desk (I say receptionist, but
this lady has been here longer than the earth has been turning, and I
would rather she could generate a new random password with "change on
next logon" for all the users in a given OU than have the passwords
written on a pad on someones desk, admin users are in a diff OU).

I'll keep hunting. Thanks for the help anyway.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ulf B.
Simon-Weidner
Sent: 12 April 2006 07:01
To: ActiveDir@mail.activedir.org
Subject: RE: [ActiveDir] Changing a users password

Hi Oliver,

First of all the receptionist needs to be delegated the rights to reset
users passwords, as well as being made aware of the consequences (local
credential cache of the users f.e.).

To reset the password you can use commands like "net user username
password
/domain" or you can use AD-Tools like ADUC, "dsquery user domainroot
-name
whatever | dsmod -pwd newpass -mustchangepwd yes", or you can create
your
own script which searches for the user and changes password after asking
for
approval. Www.microsoft.com/technet/scriptcenter provides the examples
you
have to glue together for this.

Gruesse - Sincerely,

Ulf B. Simon-Weidner

  MVP-Book "Windows XP - Die Expertentipps": http://tinyurl.com/44zcz
  Weblog: http://msmvps.org/UlfBSimonWeidner
  Website: http://www.windowsserverfaq.org
  Profile:
http://mvp.support.microsoft.com/profile=35E388DE-4885-4308-B489-F2F1214
C811
D  



|-----Original Message-----
|From: [EMAIL PROTECTED]
|[mailto:[EMAIL PROTECTED] On Behalf Of
|Oliver Marshall
|Sent: Wednesday, April 12, 2006 1:56 AM
|To: ActiveDir@mail.activedir.org
|Subject: [ActiveDir] Changing a users password
|
|Hi,
|
|I want to create a script that will allow a user here to
|change the password of any other user.
|
|I have found several examples, most based on the examples on
|the MS site. Thing is, they all depend on knowing the
|Distinguished Name of the user, and the poor old receptionist
|wont have a clue what that is.
|
|Can anyone help me with a script that will change the password
|of a user just knowing the username of the user ? At the least
|I'm after some code to find the DN of a user from their
|username, and I can then use that with the code I already have
|(I think).
|
|
|Thanks
|
|Olly
|List info   : http://www.activedir.org/List.aspx
|List FAQ    : http://www.activedir.org/ListFAQ.aspx
|List archive:
|http://www.mail-archive.com/activedir%40mail.activedir.org/

List info   : http://www.activedir.org/List.aspx
List FAQ    : http://www.activedir.org/ListFAQ.aspx
List archive:
http://www.mail-archive.com/activedir%40mail.activedir.org/
List info   : http://www.activedir.org/List.aspx
List FAQ    : http://www.activedir.org/ListFAQ.aspx
List archive:
http://www.mail-archive.com/activedir%40mail.activedir.org/


List info   : http://www.activedir.org/List.aspx
List FAQ    : http://www.activedir.org/ListFAQ.aspx
List archive:
http://www.mail-archive.com/activedir%40mail.activedir.org/
List info   : http://www.activedir.org/List.aspx
List FAQ    : http://www.activedir.org/ListFAQ.aspx
List archive:
http://www.mail-archive.com/activedir%40mail.activedir.org/



PLEASE READ: The information contained in this email is confidential and
intended for the named recipient(s) only. If you are not an intended
recipient of this email please notify the sender immediately and delete
your
copy from your system. You must not copy, distribute or take any further
action in reliance on it. Email is not a secure method of communication
and
Nomura International plc ('NIplc') will not, to the extent permitted by
law,
accept responsibility or liability for (a) the accuracy or completeness
of,
or (b) the presence of any virus, worm or similar malicious or disabling
code in, this message or any attachment(s) to it. If verification of
this
email is sought then please request a hard copy. Unless otherwise stated
this email: (1) is not, and should not be treated or relied upon as,
investment research; (2) contains views or opinions that are solely
those of
the author and do not necessarily represent those of NIplc; (3) is
intended
for informational purposes only and is not a recommendation,
solicitation or
offer to buy or sell securities or related financial instruments.  NIplc
does not provide investment services to private customers.  Authorised
and
regulated by the Financial Services Authority.  Registered in England
no. 1550505 VAT No. 447 2492 35.  Registered Office: 1 St
Martin's-le-Grand,
London, EC1A 4NP.  A member of the Nomura group of companies.

List info   : http://www.activedir.org/List.aspx
List FAQ    : http://www.activedir.org/ListFAQ.aspx
List archive:
http://www.mail-archive.com/activedir%40mail.activedir.org/
List info   : http://www.activedir.org/List.aspx
List FAQ    : http://www.activedir.org/ListFAQ.aspx
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/

Reply via email to