Good afternoon,
I'm trying to figure out a way of changing an object in Active Directory's password through a webpage. Basically, we have around 3000+ accounts on our domain (workin in a school), and our Tech Support spends a lot of time resetting students passwords when they forget them. I'm trying to find a way of allowing teachers to log into our intranet (web based) and enter the students logon ID, clicking submit and the asp resetting the password. I know we COULD make them all domain admins and installed AD on every machine in the school... Painful... But I'd rather do it through a natty little web based form thing.
I have an asp script which will authenticate and allow changed of descriptions etc etc so all the permissions are set properly (i think)
I can change the password with:
call objUser.ChangePassword("oldpass", "newpass")
But obviously this is no good if the person in question has forgotten it.
I've also tried using objUser.SetPassword but this doesn't do anything (no error is reported, but the password isn't changed either...)
Does anyone have any ideas or am I barking up the wrong tree here?
Any help would be appreciated.
Thanks,
Craig.
I'm trying to figure out a way of changing an object in Active Directory's password through a webpage. Basically, we have around 3000+ accounts on our domain (workin in a school), and our Tech Support spends a lot of time resetting students passwords when they forget them. I'm trying to find a way of allowing teachers to log into our intranet (web based) and enter the students logon ID, clicking submit and the asp resetting the password. I know we COULD make them all domain admins and installed AD on every machine in the school... Painful... But I'd rather do it through a natty little web based form thing.
I have an asp script which will authenticate and allow changed of descriptions etc etc so all the permissions are set properly (i think)
I can change the password with:
call objUser.ChangePassword("oldpass", "newpass")
But obviously this is no good if the person in question has forgotten it.
I've also tried using objUser.SetPassword but this doesn't do anything (no error is reported, but the password isn't changed either...)
Does anyone have any ideas or am I barking up the wrong tree here?
Any help would be appreciated.
Thanks,
Craig.