perhag
asked on
How to allow local win_2003_server users to change own password using VBscript and objUser.SetPassword ?
Hi,
I want to allow local win_2003_server users to change their own password
(from a web portal gui) using VBscript and objUser.SetPassword. But it is only
working if I'm logged in as admin user. Is their a server permission/security
setting for this?
Cheers
/Per
I want to allow local win_2003_server users to change their own password
(from a web portal gui) using VBscript and objUser.SetPassword. But it is only
working if I'm logged in as admin user. Is their a server permission/security
setting for this?
Cheers
/Per
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I got it :-) I don't need objUser.SetInfo now!
Seems to work now!
//Per
Seems to work now!
//Per
:-D
Chris
ASKER
My vbscript look like this (and is working for admin users):
strComputer = "bkv-sas5"
strOldPassword = "ludde123"
strNewPassword = "ludde1234"
Set objUser = GetObject("WinNT://" & strComputer & "/156, user")
objUser.ChangePassword strOldPassword, strNewPassword
objUser.SetInfo
It there any difference calling the LDAP connection?
//Per