This topic describes the support for automatic logon for CPI-C applications that is available in Microsoft® SNA Server version 3.0 with Service Pack 1 or higher. This feature requires specific configuration by the network administrator: For more information on configuring this feature, see the SNA Server online documentation.
The CPI-C application must be invoked on the LAN side from a client of SNA Server. The client must be logged into a Microsoft® Windows NT® domain, but can be any platform that supports SNA Server's CPI-C APIs.
The client application is coded to use "program" level security, with a special hard-coded CPI-C user name MS$SAME and password MS$SAME. When this session allocation flows from client to SNA Server, the SNA Server looks up the host account and password corresponding to the Windows NT account under which the client is logged in, and substitutes the host account information into the APPC attach message it sends to the host.
In CPI-C, this is done in three separate function calls: