To open a sample in the development environment using MAKEFILE 

From the File menu, click Open Workspace.


Locate and open the MAKEFILE you want to build.


Click Yes to the message that asks if you want to proceed.


Select the platforms supported in the MAKEFILE.


From the Project menu, click Settings.


Type the name of the sample's executable name in the Output file name box of the General tab and, for debug builds, type the sample's executable name in the Executable for debug session box in the Debug tab. If you do not know the sample's executable name, you can either look in the MAKEFILE and search for the -out string or you can click Build Makefile.exe from the Build menu and then inspect the sample directory to see which executable has been created. Be aware that not all samples output a .EXE; for example, a sample might output a .dll.


From the Build menu, click Execute Makefile.exe. 
For more information on NMAKE and the commands in a MAKEFILE, see theNMAKE Reference.





SockAuth

This sample is distantly related to the httpauth sample which
demonstrates the use of the SSPI package to implement the client side
of NTLM authentication when interacting with IIS.  However, this sample
shows both the client and server conversations with the security
provider when just a socket connection is used.

The server side, in this sample, authenticates the client and provides
evidence of this by reporting the client's user name back to the client
via the socket connection.

KerbAuth Directory

This directory contains a modified version of security.c file, which 
enables the sample to use Kerberos Security Package to obtain security
services.
Note the two changes:
    *  The package name is "kerberos"
    *  The TOKEN_SOURCE needs to be a valid principal name of the form
        "Domain\User"


NegoAuth Directory

This directory contains a modified version of security.c file, which
enables the sample to use Negotiate Security Package (SPNEGO) to obtain
security services.
Note the two changes:
    *   The package name is "negotiate"
    *   The TOKEN_SOURCE needs to be a valid principal name of the form
        "Domain\User"


Please copy the appropriate security.c to try out the sample using different
security packages.
