RESOLUTION
Depending on which version of SNA Server you are running one of the
following solutions applies.
SNA Server 2.1
When you log on to Windows NT Server using TCP/IP, NetWare IPX/SPX, or
Banyan IP from Windows 3.1 or Windows for Workgroups 3.11 clients, you can
use one of the two WNAP command lines noted below to cache your credentials
and prevent the Domain Login dialog box from appearing when you start WNAP
manually.
Add an icon in the Windows Startup group for WNAP.EXE (the SNA Windows 3.1
and Windows for Workgroups 3.11 client program) that has the following
command line. This causes WNAP to start automatically when Windows for
Workgroups is started:
NOTE: Do not type a user name and password after /user: and /pwd:,
respectively! There must be no space after the colon in /pwd:; however, a
space after /user: is allowed.
This command lets you log on to the Windows NT Server using the guest
account (provided that the guest account is enabled and has no password).
The next command requires that you have a valid account in the Windows NT
SNA Server domain:
wnap /user:<user_name> /pwd:<password>
SNA Server 2.11 and Later
The following additional options are available under SNA Server version 2.11 and later:
- You can add the following two new entries to the [WNAP] section of
the WIN.INI file:
LogonUserName=<user_name>
LogonPassword=<password>
WNAP parses these entries and uses them when an application is first
started, reducing the need for starting WNAP manually with command-
line parameters.
Also, to use the guest account using the parameters in WIN.INI, add
these entries:
LogonUserName=guest
LogonPassword=
NOTE: Do not include a space after the equal sign (=).
- Automate the use of Windows for Workgroups 3.11 cached domain passwords.
If the above WIN.INI entries are not present on a Windows for Workgroups
3.11 client, and if you are using the cached domain password feature of
Windows for Workgroups (enabled in the network Control Panel Startup dialog
box by selecting Log On To Windows NT Or LAN Manager Domain), WNAP
automatically retrieves your credentials from Windows for Workgroups when
WNAP starts.
WNAP starts automatically when an SNA Server application (3270, 5250,
or an application written to the SNA Server APIs) is started, or when
Windows for Workgroups is started (if a WNAP icon is added to the Startup
group).
NOTE: Your data on SNA Server resources may not be safe if you log off from
Windows for Workgroups without terminating WNAP.
This is because, by default, WNAP remains running even if you log off from
Windows for Workgroups and then log back on. Therefore, if you log off from
Windows for Workgroups without terminating WNAP and a new user logs on,
then WNAP still has your credentials cached because WNAP only checks the
Windows for Workgroups credentials during WNAP startup. This can become a
security problem because the new user now has access to all your SNA Server
resources.
To solve this problem, configure WNAP as follows so that it terminates
automatically when you quit the last SNA application:
- Add AutoTerminate=Yes to the [WNAP] section of the WIN.INI file.
- Start WNAP automatically by starting an SNA application.
NOTE: If you start WNAP manually, WNAP does not terminate automatically
when the last SNA application quits, even if AutoTerminate is set to
Yes.
With some emulators, WNAP terminates when the last connection is
disconnected; with other emulators, you need to quit the emulator. This
behavior depends on how the emulator is implemented. With the SNA Server
applets, the WNAP terminates when you quit the applet.
NOTE: If your Windows for Workgroups domain password expires, or if you are
required to change your domain password during the next domain logon
attempt, the SNA client logon fails with Error 546.
To solve this problem, you must log on and change your domain password
first. You may then have to update your SNA client configuration to use
your new password. There is no additional user interaction required when
you use the Windows for Workgroups cached domain password.
SNA Server MS-DOS Client
When you use the SNA Server MS-DOS client, you can start the SNABASE.EXE
program as follows:
snabase /user:<user_name> /pwd:<password>