The information in this article applies to:
SUMMARY
This article describes how to configure Internet Information Server (IIS)
so that users can change their Windows NT passwords.
MORE INFORMATION
To configure IIS so users can change their Windows NT passwords, you can
use either the IISADMPWD virtual directory or the Microsoft Active
Directory Service Interfaces (ADSI) provided with IIS.
http://servername/IISADMPWD/aexp.htrThese properties can be set either through the MetaEdit tool that ships in the IIS 4.0 Resource Kit, or you can include the following sample script in ASP, Visual Basic, or the Windows Script Host:
For additional information, please see the following article in the
Microsoft Knowledge Base:
Q184665 : ADSI Calls From ASP Fail With (0x800401e4) or Invalid SyntaxUsing the ADSI Interfaces provided by IIS: IIS supports ADSI, which allows access to many directory stores including Windows NT user accounts. To use the ADSI functions from ASP, you must have administrator privileges. If the server is configured to use Anonymous Access, then the server will fail. The following is some sample code to create a new user account, <USERNAME>, with the password, <PASSWORD>, in the group, <GROUP>, and domain, <DOMAIN>: NOTE: This sample script only works if you have installed the "winnt://"
namespace provider. By default, this is not on a typical Windows NT 4.0
computer. You can, however, install the "winnt://" namespace provider by
installing the Adsi 2.0 runtime available at:
http://www.microsoft.com/ntserver/nts/downloads/other/ADSI2/default.aspFor additional information, please see the following article in the Microsoft Knowledge Base: Q184058 Unable to Change Password Using the IIS 4.0 Change Password Feature Additional query words:
Keywords : kbADSI kbIIS kbiis400 |
Last Reviewed: September 30, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |