SubAuth Sample: Sample SubAuthentication Package

Click to open or copy the files for the SubAuth sample.

Click to open or copy the Include files (required).

This sample demonstrates a SubAuthentication DLL for the MSV1_0 authentication package.

The MSV1_0 authentication package is the standard LSA authentication package for Windows NT. It provides or supports:

Windows NT allows SubAuthentication DLLs to be used in conjunction with the MSV1_0 authentication package. A SubAuthentication DLL allows the authentication and validation criteria stored in SAM to be replaced for particular subsystems that use the MSV1_0 authentication package. For instance, a particular server might supply a SubAuthentication DLL that validates a user's password via a different algorithm, uses a different granularity of logon hours, and/or specifies workstation restrictions in a different format.

Building SDK Samples

This sample uses the following keywords:

accountrestrictions; chartooemw; copymemory; copyunicodestring; equalcomputername; filetimetosystemtime; getpasswordexpired; getsystemtime; gettimezoneinformation; initunicodestring; localalloc; localfree; lstrcmpia; msv1_0subauthenticationroutine; netapibufferfree; netpsecondstodeltatime; netusermodalsget; nt_success; querysystemtime; sampmatchworkstation; systemtimetofiletime; wcslen; wcstok