Friday, June 13, 2008

Redirect to IISADMPWD on Password Expired in Sharepoint

Redirect to IISADMPWD on Password Expired in Sharepoint

Mart Muller's (Tam Tam Webblogs) has very well explained on how to redirect to IISADMPWD to change the password when password is expired in Active Directory (AD).

http://blogs.tamtam.nl/mart/SharePointTipSPSWSSPasswordManagement.aspx

Things to make it work on MOSS 2007

  • Skip step 2. i.e. Exclude IISADMPWD from WSSManagedPath.
  • Also you need to make minor change to file aexp3.asp

<form method="POST" action="http://<%=Server.HTMLEncode(Request.ServerVariables("SERVER_NAME"))%>:
<%=Server.HTMLEncode(Request.ServerVariables("
SERVER_PORT"))%>
/iisadmpwd/achg.asp?<%=Server.HTMLEncode(Request.QueryString)%>"
>
Also make sure that you create a virtual directory for iisadmpwd inside your web application directory.

1 comment:

Anonymous said...

using iis 7 on w2k8 x64 everything seems to work ok however it does not seem to redirect when password change required. Any ideas? The password change page works fine if i manually enter the url. Is there any way to get iis/sharepoint to send users to change password automatically?

Most Recent Post

Subscribe Blog via Email

Enter your email address:



Disclaimers:We have tried hard to provide accurate information, as a user, you agree that you bear sole responsibility for your own decisions to use any programs, documents, source code, tips, articles or any other information provided on this Blog.
Page copy protected against web site content infringement by Copyscape