PATCH: ADSI WinNT (ADSNT.DLL) Provider Fixes

Last reviewed: May 1, 1997
Article ID: Q167801
The information in this article applies to:
  • Microsoft Win32 Software Development Kit (SDK) on the following platforms: - Windows NT - x86

SUMMARY

The accompanying files are replacements for the ADS.EXE runtime kit distributed with ADSI 1.0. This patch changes the following Windows NT provider properties:

                        IADsUser                        Accessible via
                        Interface                       IADsUser::Get
Property Name           Property        Write           or Put

AccountDisabled         Y               Y               -
AccountExpirationDate   Y               Y               get/put
IsAccountLocked         Y               N               -
                                        Can set only from TRUE to FALSE.

LastLogin               Y               N               get
LastLogoff              Y               N               get
        For the above 2, receive error '5' if values unset,
        that is, the user never logged in or out.

PasswordExpirationDate  Y               N               -
MinPasswordLength       Y               N               get
MinPasswordAge          N               N               get
MaxPasswordAge          N               N               get
PasswordHistoryLength   N               N               get
PasswordExpired         N               Y               get/put
        Equivalent to the 'must change password at next login' User
        Manager setting.

NOTE: the MinPasswordLength, MinPasswordAge, MaxPasswordAge, PasswordHistoryLength are all write-able on the Domain object.

The following files are available for download from the Microsoft Software Library:

 ~ AdsX86.exe (size: 574168 bytes) 
              - NT X86 version
 ~ Adsalpha.exe (size: 846184 bytes) 
                - NT Alpha version
 ~ Ads95.exe (size: 887512 bytes) 
             - Windows 95 version

For more information about downloading files from the Microsoft Software Library, please see the following article in the Microsoft Knowledge Base:

   ARTICLE-ID: Q119591
   TITLE     : How to Obtain Microsoft Support Files from Online Services

MORE INFORMATION

To install this patch:

  1. To extract the platform version of ads.exe and readme.txt run adsX86.exe in Windows NT, run ads95.exe in Windows 95, and run adsalpha.exe in Alpha NT.

  2. Run Ads.exe to update your ADSI runtimes.

  3. Restart your system when you are prompted by the install procedure.

  4. Run an ADSI application and verify that you can use ADSI.


Keywords : BseMisc
Platform : NT WINDOWS
Resolution Type : kbpatch


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: May 1, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.