We use IISADMPWD webapplication to allow users to change their AD account password.
Some of our AD accounts dont have the same UPN as mail, but we are changing that for the new users. So the new users now have the same on both UPN and mail.
Can I somehow add or modify IISADMPWD so it accept users e-mailaddress when changing password?
Today it only works with UPN,
is it possible to replace the attributes in the code to support mail instead?
or perhaps add a feature to "search for users with this mail"?
or search for user by mail and then get the users UPN to continue changing password?
Can anyone help me with this?
Or is there another method that's better for me? I dont know how to code ASP C# ASP.NET.
But Im comfy with powershell, lokal VBScript and PHP.
According to your description, I suggest you could firstly searching the user's e-mail address according to its username.
Then you could write a logic to allow user changing the the password by checking the user has typed in the right email address.
More details about how to search the email according to username, you could refer to this
sample.
Best Regards,
Brando
.NET forums are moving to a new home on Microsoft Q&A, we encourage you to go to Microsoft Q&A for .NET for posting new questions and get involved today.
500 is just a server side message and you should have as well a VBScript error message with more details. Make sure you'll get some benefit. IMO it might be more confusing for users (ie to log they'll have to use the upn but to change the password they'll
have to use their main email instead ?)
Im I understanding correct that you want me to check the Event viewer for VBScript error messages? I will check this and come back.
We use a 3:e part Identity provider solution where e-mail is the primary login name. This is set up after our demands.
So when communicating out to users we always use e-mail for log in guidance.
Users log in to device with e-mail, and they log in to webapps with e-mail.
I have a working .vbs file that runs perfect and gives me the UPN from a E-mail account.
But I dont know how to run it on my IIS and .asp-file.
My idea is to modify achg.asp. Get the post for E-mail (the input from user) and use it to gather the user accounts UPN and then let the file continue it's stuff.
Your question falls into a category which requires a more in-depth level of support. Please visit the below link to see the various free and paid support options that are available to better meet your needs.
http://support.microsoft.com/default.aspx?id=fh;en-us;offerprophone
Please note that use the password change site is that this component is officially supported by Microsoft up to and including Windows 2003 and IIS 6. Thus when support ends for Windows 2003 support will end for this
component as well as stated on the Microsoft Support Site. The IISADMPWD functionality is not included with IIS 7.0 or above, it will NO LONGER be supported with Windows 2008 and IIS 7 or Windows 7 and IIS 7.5.
IISADMPWD is not an IIS component, though in IIS 5/6 it seems to be something shipped with IIS. Historically it was developed by Exchange guys to meet OWA needs, and became obsolete some time in 2007. Below article
mentions another feature ISA Server 2006 to replace IISADMPWD, please have a refer about it:
Im well aware it's not supported. That's why im not seeking official support. But instead I'm looking for a professional who can suggest a workaround.
We have ISSADMPWD running fine on a Windows Server 2008 R2 though.
None
0 Points
5 Posts
IISADMPWD change password with e-mail
Dec 15, 2017 08:29 AM|Fcarenborn|LINK
We use IISADMPWD webapplication to allow users to change their AD account password.
Some of our AD accounts dont have the same UPN as mail, but we are changing that for the new users. So the new users now have the same on both UPN and mail.
Can I somehow add or modify IISADMPWD so it accept users e-mailaddress when changing password?
Today it only works with UPN,
I believe the development of this feature should be made in the achg.asp file
https://github.com/sysboss/IISADMPWD/blob/master/iisadmpwd/achg.asp
I found this vbscript
https://stackoverflow.com/questions/23843380/vbscript-get-username-from-mail
But dont know how to implement it in a .asp file.
Tried just to paste the script into <% %> but got Internal error 500.
Can anyone help me with this?
Or is there another method that's better for me? I dont know how to code ASP C# ASP.NET.
But Im comfy with powershell, lokal VBScript and PHP.
Sincerely Fredrik
Star
9831 Points
3120 Posts
Re: IISADMPWD change password with e-mail
Dec 18, 2017 08:31 AM|Brando ZWZ|LINK
Hi Fcarenborn,
According to your description, I suggest you could firstly searching the user's e-mail address according to its username.
Then you could write a logic to allow user changing the the password by checking the user has typed in the right email address.
More details about how to search the email according to username, you could refer to this sample.
Best Regards,
Brando
All-Star
48570 Points
18082 Posts
Re: IISADMPWD change password with e-mail
Dec 18, 2017 09:37 AM|PatriceSc|LINK
Hi,
500 is just a server side message and you should have as well a VBScript error message with more details. Make sure you'll get some benefit. IMO it might be more confusing for users (ie to log they'll have to use the upn but to change the password they'll have to use their main email instead ?)
None
0 Points
5 Posts
Re: IISADMPWD change password with e-mail
Dec 18, 2017 08:17 PM|Fcarenborn|LINK
Im I understanding correct that you want me to check the Event viewer for VBScript error messages? I will check this and come back.
We use a 3:e part Identity provider solution where e-mail is the primary login name. This is set up after our demands.
So when communicating out to users we always use e-mail for log in guidance.
Users log in to device with e-mail, and they log in to webapps with e-mail.
None
0 Points
5 Posts
Re: IISADMPWD change password with e-mail
Dec 18, 2017 08:22 PM|Fcarenborn|LINK
I have a working .vbs file that runs perfect and gives me the UPN from a E-mail account.
But I dont know how to run it on my IIS and .asp-file.
My idea is to modify achg.asp. Get the post for E-mail (the input from user) and use it to gather the user accounts UPN and then let the file continue it's stuff.
Participant
1060 Points
343 Posts
Re: IISADMPWD change password with e-mail
Dec 21, 2017 06:18 AM|gtscdsi|LINK
Dear forum user,
Your question falls into a category which requires a more in-depth level of support. Please visit the below link to see the various free and paid support options that are available to better meet your needs. http://support.microsoft.com/default.aspx?id=fh;en-us;offerprophone
Please note that use the password change site is that this component is officially supported by Microsoft up to and including Windows 2003 and IIS 6. Thus when support ends for Windows 2003 support will end for this component as well as stated on the Microsoft Support Site. The IISADMPWD functionality is not included with IIS 7.0 or above, it will NO LONGER be supported with Windows 2008 and IIS 7 or Windows 7 and IIS 7.5.
https://blogs.msdn.microsoft.com/friis/2009/03/24/setting-up-the-iis-6-password-change-site-iisadmpwd/
IISADMPWD is not an IIS component, though in IIS 5/6 it seems to be something shipped with IIS. Historically it was developed by Exchange guys to meet OWA needs, and became obsolete some time in 2007. Below article mentions another feature ISA Server 2006 to replace IISADMPWD, please have a refer about it:
https://blogs.technet.microsoft.com/exchange/2008/12/09/what-you-need-to-know-about-the-owa-change-password-feature-of-exchange-server-2007/
Regards,
Sylvia
http://blogs.msdn.com/b/asiatech/
None
0 Points
5 Posts
Re: IISADMPWD change password with e-mail
Dec 27, 2017 08:00 AM|Fcarenborn|LINK
Im well aware it's not supported. That's why im not seeking official support. But instead I'm looking for a professional who can suggest a workaround.
We have ISSADMPWD running fine on a Windows Server 2008 R2 though.
None
0 Points
5 Posts
Re: IISADMPWD change password with e-mail
Dec 28, 2017 09:24 AM|Fcarenborn|LINK
This ended with me using this project instead
https://ltb-project.org/documentation/self-service-password