home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / winbase / security / winnt / sockauth / readme.txt < prev    next >
Encoding:
Text File  |  1997-09-09  |  1.3 KB  |  37 lines

  1. SockAuth
  2.  
  3. This sample is distantly related to the httpauth sample which
  4. demonstrates the use of the SSPI package to implement the client side
  5. of NTLM authentication when interacting with IIS.  However, this sample
  6. shows both the client and server conversations with the security
  7. provider when just a socket connection is used.
  8.  
  9. The server side, in this sample, authenticates the client and provides
  10. evidence of this by reporting the client's user name back to the client
  11. via the socket connection.
  12.  
  13. KerbAuth Directory
  14.  
  15. This directory contains a modified version of security.c file, which 
  16. enables the sample to use Kerberos Security Package to obtain security
  17. services.
  18. Note the two changes:
  19.     *  The package name is "kerberos"
  20.     *  The TOKEN_SOURCE needs to be a valid principal name of the form
  21.         "Domain\User"
  22.  
  23.  
  24. NegoAuth Directory
  25.  
  26. This directory contains a modified version of security.c file, which
  27. enables the sample to use Negotiate Security Package (SPNEGO) to obtain
  28. security services.
  29. Note the two changes:
  30.     *   The package name is "negotiate"
  31.     *   The TOKEN_SOURCE needs to be a valid principal name of the form
  32.         "Domain\User"
  33.  
  34.  
  35. Please copy the appropriate security.c to try out the sample using different
  36. security packages.
  37.