Portal to reset AD Domain users password

Hi guys
any idea if it is possible to build a single page web app to reset domain users password.

Eg.

  1. power user open localhost/rdpu
  2. enter his login credentials and logs in and select user accounts to unlock and reset password.
  3. Either generates random password or enter from his side.

That should be possible via SQL. I guess you should go with Windows Plattform:

https://www.google.ch/amp/s/blog.sqlauthority.com/2016/03/30/sql-server-query-active-directory-data-using-adsi-ldap-linked-server/amp/

Maybe you use some Powershell or maybe only SQL is enough.

Cheers

:warning: PS: Take care about security, your AD is the bone of everything and your whole server infrastructure which could be critial! So maybe some 2FA or .htaccess as well…

1 Like