PATCH: ADSI WinNT (ADSNT.DLL) Provider Fixes

ID: Q167801

The information in this article applies to:

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          : kbnokeyword kbKernBase kbGrpKernBase 
Platform          : NT WINDOWS

Last Reviewed: May 3, 1997