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/

Reply via email to