Re: User change password (command line)
- From: Johan Gielens <johan.gielens@xxxxxxxxx>
- Date: Fri, 09 Nov 2007 05:53:35 -0800
On 8 nov, 10:09, v-rob...@xxxxxxxxxxxxxxxxxxxx (Robert Li [MSFT])
wrote:
Hi Johan,
Thanks for posting in our newsgroup.
From your description, I know that you need to implement a script so users
canchangetheir passwords online. If that not right, please don't hesitate
to let me know.
I researched and find thecommand"netuserusernamepassword" can do so.
The administrator can run thecommandsuccessfully. However, when common
users run thecommand, there is a error message "Theusername could not be
found". We must run as administrator first to run thecommand. It's not
recommended to giveusertoo much privilege only tochangepasswordfor
security concern. You canchangepasswordin OWA as Lanwench suggested.
If you stick to write a script to accomplish this task, a suggestion is to
open a new thread in our Microsoft.public.msdn newsgroup. Thanks for your
understanding.
If you need further assistance, please don't hesitate to let me know.
Best regards,
Robert Li(MSFT)
Microsoft CSS Online Newsgroup Support
Get Secure! -www.microsoft.com/security
=====================================================
This newsgroup only focuses on SBS technical issues. If you have issues
regarding other Microsoft products, you'd better post in the corresponding
newsgroups so that they can be resolved in an efficient and timely manner.
You can locate the newsgroup here:http://www.microsoft.com/communities/newsgroups/en-us/default.aspx
When opening a new thread via the web interface, we recommend you check the
"Notify me of replies" box to receive e-mail notifications when there are
any updates in your thread. When responding to posts via your newsreader,
please "Reply to Group" so that others may learn and benefit from your
issue.
Microsoft engineers can only focus on one issue per thread. Although we
provide other information for your reference, we recommend you post
different incidents in different threads to keep the thread clean. In doing
so, it will ensure your issues are resolved in a timely manner.
For urgent issues, you may want to contact Microsoft CSS directly. Please
checkhttp://support.microsoft.comfor regional support phone numbers.
Any input or comments in this thread are highly appreciated.
=====================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
<From: "Johan Gielens" <johan.giel...@xxxxxxxxx>
<References: <OcOg7$MIIHA.2...@xxxxxxxxxxxxxxxxxxxx>
<O8kzHYOIIHA.4...@xxxxxxxxxxxxxxxxxxxx>
<Subject: Re:Userchangepassword(commandline)
<Date: Wed, 7 Nov 2007 11:36:50 +0100
<Lines: 24
<X-Priority: 3
<X-MSMail-Priority: Normal
<X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
<X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198
<X-RFC2646: Format=Flowed; Response
<Message-ID: <OHpMgoSIIHA.5...@xxxxxxxxxxxxxxxxxxxx>
<Newsgroups: microsoft.public.windows.server.sbs
<NNTP-Posting-Host: ip565b4bf7.direct-adsl.nl 86.91.75.247
<Path: TK2MSFTNGHUB02.phx.gbl!TK2MSFTNGP01.phx.gbl!TK2MSFTNGP03.phx.gbl
<Xref: TK2MSFTNGHUB02.phx.gbl microsoft.public.windows.server.sbs:74296
<X-Tomcat-NG: microsoft.public.windows.server.sbs
<
<I want to implement this in a (PHP) script, souserscanchangetheir
<passwords online. Most uses only use OWA so they don't come here often.
<
<I found a method through LDAP but it's not easy, because you have to setup
<secure ldap yourselves. (maybe some info on this?)
<
<
<
<"Lanwench [MVP - Exchange]"
<<lanwe...@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> schreef in
<berichtnews:O8kzHYOIIHA.4684@xxxxxxxxxxxxxxxxxxxxxxx
<> Johan Gielens <johan.giel...@xxxxxxxxx> wrote:
<>> How can a normaluserchangehispasswordon thecommandline? Or
<>> maybe a script will do the job. If i use NETUSERusernamepassword
<>> /DOMAIN you have to be an administrator even if you are the username
<>> specified.
<>
<> Not possible that I know of - and RunAs isn't useful unless you want to
<> give them admin credentials to use/enter. What's wrong with CTRL+Alt+Del
<> ...changepassword?
<>
<>
<
<
<
Ok, i'm trying the secure ldap method right now. If this won't succeed
then i'll start a new thread in the microsoft.public.msdn newsgroup.
.
- Follow-Ups:
- Re: User change password (command line)
- From: Robert Li [MSFT]
- Re: User change password (command line)
- References:
- User change password (command line)
- From: Johan Gielens
- Re: User change password (command line)
- From: Lanwench [MVP - Exchange]
- Re: User change password (command line)
- From: Johan Gielens
- Re: User change password (command line)
- From: Robert Li [MSFT]
- User change password (command line)
- Prev by Date: Re: SBS Backup fails with 0x8007007a
- Next by Date: validate certificate error,what do i do?
- Previous by thread: Re: User change password (command line)
- Next by thread: Re: User change password (command line)
- Index(es):
Relevant Pages
|