![]() |
Chapter 17. Managing NetWare Server Connections
![]()
Establishing a connection is like logging into the server from a PC workstation. This chapter contains the following topics about NetWare connections:
When is a Connection Needed? When you establish a connection between the NetWare server and AS/400, you establish your authority to access file systems, print servers, and other Enhanced Integration for NetWare functions. Functions that require such a connection include the following:
![]() Starting a NetWare Connection To start an authenticated connection to a specified NetWare server:
If you have an authentication entry, the authentication entry must identify the following:
Figure 17-1. Work with Network Server Status Display--Enhanced Integration for NetWare +--------------------------------------------------------------------------------+ | Work with Network Server Status | | System: SYSTEMA | | Server type . . . . . : *NETWARE | | | | Type options, press Enter. | | 5=Display details 7=Display users 8=Work with configuration status | | 10=Start connection 11=Work with connections 14=Restart server | | 15=Work with storage 16=Work with volumes 17=Work with user enrollment | | | | Enhanced | | Opt Server Status Location Functions | | NWHERMAN1 INACTIVE *RMT *NO | | PUBS ACTIVE *LCL *NO | | ITSONTW ACTIVE *RMT *YES | | CHICAGO ACTIVE *RMT *YES | | DAKOTA ACTIVE *RMT *YES | | FINANCE ACTIVE *LCL *YES | | BACKUP ACTIVE *LCL *NO | | MINNSVR ACTIVE *RMT *YES | | More... | | Parameters or command | | ===> | | F3=Exit F4=Prompt F5=Refresh F6=Print list F9=Retrieve | | F11=Display entire server names F12=Cancel F24=More keys | +--------------------------------------------------------------------------------+About Connections Some things to keep in mind when working with NetWare connections are:
You can authorize connections to be used:
![]()
![]() Figure 17-2. Start NetWare Connection (STRNTWCNN) Prompt Display +--------------------------------------------------------------------------------+ | Start NetWare Connection (STRNTWCNN) | | | | Type choices, press Enter. | | | | Server . . . . . . . . . . . . . SERVER > SERVER01 | | | | Server type . . . . . . . . . . SVRTYPE *SERVER | | NDS tree . . . . . . . . . . . . NDSTREE *SERVER | | | | Authorized user profile . . . . AUTUSR *CURRENT | | NDS context . . . . . . . . . . NDSCTX *AUTE | | | | | | | | NetWare user . . . . . . . . . . NTWUSER *AUTE | | | | | | Password . . . . . . . . . . . . PASSWORD | | | | | | More... | | F3=Exit F4=Prompt F5=Refresh F12=Cancel F13=How to use this display | | F24=More keys | | | +--------------------------------------------------------------------------------+ +--------------------------------------------------------------------------------+ | Start NetWare Connection (STRNTWCNN) | | | | Type choices, press Enter. | | | | Authorized job . . . . . . . . . AUTJOB * | | Connection type . . . . . . . . CNNTYPE *USER | | | | Connection idle time . . . . . . CNNIDLTIME *NOMAX | | | | | +--------------------------------------------------------------------------------+
The *SERVER value uses system information about the specified server to determine the NDS tree name. The *SERVER value cannot be used when *ANY or *ALL is specified for the SERVER parameter. If a connection cannot be started using an authentication entry, printing to a NetWare print server requires a connection for any job (AUTJOB(*ANY)). NetWare 3.12 -- SMDR.NLM, TSA312.NLM NetWare 4.1 -- SMDR.NLM, TSANDS.NLM, TSA410(or TSA411).NLMThe *SAVRST connection must use the same user name and password used to start the *USER connection.
You can use this to: This topic contains a examples for setting up various connections. To change the user ID being used on NetWare: If you have been using a one user ID on NetWare and now need to use a different user ID, end the current connection, and start a new one.
![]()
If you have an authentication entry for the user profile if the authentication entry for the desired NDS tree or NetWare 3.12 server has the correct NetWare user name and password, you can either: STRNTWCNN SERVER(name) To start a connection for another user profile, you must have *USE authority to that user profile. +--------------------------------------------------------------------------------+ | Start NetWare Connection (STRNTWCNN) | | | | Type choices, press Enter. | | | | Server . . . . . . . . . . . . . > RCHNW480N | | | | Server type . . . . . . . . . . *SERVER *SERVER, *NETWARE3, *NDS | | NDS tree . . . . . . . . . . . . *SERVER | | Authorized user profile . . . . lueke Name, *CURRENT | | NDS context . . . . . . . . . . prog.roch.ibm | | | | | | | | NetWare user . . . . . . . . . . edith | | | | | | Password . . . . . . . . . . . . | | | | | | Authorized job . . . . . . . . . * *, *ANY | | More... | | F3=Exit F4=Prompt F5=Refresh F12=Cancel F13=How to use this display | | F24=More keys | +--------------------------------------------------------------------------------+This connection will be used by AS/400 user profile LUEKE for the current job (*). The NetWare user name for this user is EDITH, and she is defined in the context prog.roch.ibm on the tree, which will be determined by the AS/400 system. The only time you would use a different authorized user profile from *CURRENT is if you are using an application that swaps user profiles. Figure 17-4 shows a connection for a batch job that will run under the current user profile name. In this specific case, the current user profile does not have an authentication entry. Therefore, the NDS context, NetWare user profile, and password have been specified. The authorized job is *ANY because this connection is for a batch job. Figure 17-4. Starting a Connection for the Current User When No Authentication Entry Exists +--------------------------------------------------------------------------------+ |Type choices, press Enter. | | | |Server . . . . . . . . . . . . . > RCHNW480N | | | |Server type . . . . . . . . . . *SERVER *SERVER, *NETWARE3, *NDS | |NDS tree . . . . . . . . . . . . *SERVER | |Authorized user profile . . . . *CURRENT Name, *CURRENT | |NDS context . . . . . . . . . . prog.roch.ibm | | | | | | | |NetWare user . . . . . . . . . . edith | | | | | |Password . . . . . . . . . . . . | | | | | |Authorized job . . . . . . . . . *ANY *, *ANY | | More... | |F3=Exit F4=Prompt F5=Refresh F12=Cancel F13=How to use this display | +--------------------------------------------------------------------------------+Connecting to a Specific Server: Assuming you have an authentication entry for the user PUBS1, to start a connection to a specific server, enter: STRNTWCNN SERVER(PUBS1) SVRTYPE(*NDS)Connecting to a All Servers in a Tree: Connect to all servers in a tree for example, when copying from one server in the tree to another, or copying between partitions of the NDS tree. To start a connection to all servers in a tree, enter: STRNTWCNN SVRTYPE(*NDS) NDSTREE(IBMTREE) SERVER(*ALL) PASSWORD(XXXX)Connecting to Any Server: Use *ANY for the server name to start a connection to be used to access NDS objects in a tree when there is no preference for the server to be used. If you run the STRNTWCNN command and the following error appears: Could not find authentication entry for SERVER1. Do one of the following:
You can use connections in a batch job or for printing. However, There are some special considerations involved. These considerations concern the following:
If no authentication entry exists, or there is no password in the authentication entry, you must start a connection manually in one authentication entry. To start this connection manually, you have two options:
STRNTWCNN SERVER(X) AUTUSR(batch-usrprf) AUTJOB(*ANY) PASSWORD(XXX) - or - STRNTWCNN SERVER(X) AUTUSR(batch-usrprf) AUTJOB(*ANY) NDSCTX(XXX) NTWUSER(XXX) PASSWORD(XXX) STRNTWCNN SERVER(X) NTWUSER(XXX) PASSWORD(XXX) ![]()
Working with NetWare Connections Once a connection is established to a NetWare server, you can work with the connections to that server. Use the WRKNTWCNN command to see the Work with Connections display. From this display, you can:
In Figure 17-5 the local connections from AS/400 to a NetWare server are displayed. The QNETWARE user profile and user LUEKE have connections to the server PUBS1. You can also access this display by specifying CGY(*LOCAL) on the WRKNTWCNN command. +--------------------------------------------------------------------------------+ | Work with NetWare Connections | | System: SYSTEMA | | Category . . . . . . . : *LOCAL | | User profile . . . . . : *ALL | | | | Type options, press Enter. | | 4=End 5=Display 6=Print 8=Work with job | | | | Connection | | Opt number Server User -------------Job-------------- | | 2 PUBS1 QNETWARE QNETWARE QSYS 011446 | | 9 PUBS1 LUEKE *ANY | | | | | | | | | | | | | | Bottom | | Parameters or command | | ===> | | F3=Exit F4=Prompt F5=Refresh F6=Print list F9=Retrieve F10=Start | | F12=Cancel F17=Position to | +--------------------------------------------------------------------------------+ Working with Server Connections Work with server connections by selecting option 11, from the WRKNWSSTS display, then pressing F4. Specify *SERVER. Optionally, work with server connections by specifying CGY(*SERVER) on the WRKNTWCNN command. Figure 17-7 displays all connections to the server (including the local AS/400 connections). If you usually want to work with *SERVER category connections rather than with local connections, change the command default. Use the CHGCMDDFT command to change the CGY default. CHGCMDDFT CMD(WRKNTWCNN) NEWDFT('CGY(*SERVER)')The object name displayed on the *SERVER panel is relative to the current context of the job (which is set by the CHGNDSCTX command or permanently by CHGNWSA or CHGNWSUSRA commands). For more information about user context, see Chapter 21. "Managing User Enrollment". The three connections of type *FILESRV in Figure 17-7 show that the objects that are connected are file servers. The possible objects that can show connections are:
Displaying Connections Use option 5 from the 'Work with NetWare Connections' display to display the NetWare connection. Press Enter to see additional information about the connection. Figure 17-6 shows a connection by user LUEKE to the server PUBS1. Figure 17-6. Display NetWare Connection Display +--------------------------------------------------------------------------------+ | Display NetWare Connection | | System: SYSTEMA | | Server name . . . . . . . . . . . : PUBS1 | | | | Current context . . . . . . . . . : PUBS.ROCH.IBM | | Object name . . . . . . . . . . . : LUEKE | | Object type . . . . . . . . . . . : *USER | | Connection number . . . . . . . . : 9 | | Option . . . . . . . . . . . . . : *SERVER | | | | Network address . . . . . . . . . : 30318C01 | | Node address . . . . . . . . . . : 000000000001 | | Time of last login . . . . . . . : 08/20/96 14:31:12 | | Expiration time . . . . . . . . . : *NOMAX | | Connection in use . . . . . . . . : No | | NetWare connection class . . . . : *NLM | | Requests . . . . . . . . . . . . : 0 | | Kilobytes read . . . . . . . . . : 0 | | Kilobytes written . . . . . . . . : 0 | | More... | | Press Enter to continue. | | | | F3=Exit F6=Print F12=Cancel | | | +--------------------------------------------------------------------------------+ +--------------------------------------------------------------------------------+ | Display NetWare Connection | | System: SYSTEMA | | Files locked . . . . . . . . . . : 0 | | Records locked . . . . . . . . . : 0 | | Semaphores . . . . . . . . . . . : 0 | | | | Status . . . . . . . . . . . . . : Logged in | | | | | | | | | +--------------------------------------------------------------------------------+ Ending NetWare Connections You can use this display to end connections. Or you can use the ENDNTWCNN command.
![]() +--------------------------------------------------------------------------------+ | Work with NetWare Connections | | System: SYSTEM1 | | Server . . . . . . . . : PUBS1 | | Current context . . . : PUBS.ROCH.IBM | | Category . . . . . . . : *SERVER | | | | Type options, press Enter. | | 4=End 5=Display 6=Print | | | | Connection Object | | Opt Object name number type Time of last login | | LUEKE 5 *USER 08/30/96 19:57:20 | | LUEKE 6 *USER 08/30/96 19:57:32 | | QNETWARE 4 *USER 08/29/96 13:54:31 | | PUBS2 3 *FILESRV 08/22/96 12:50:39 | | PUBS1.PUBS 1 *FILESRV 08/22/96 12:49:40 | | SPRINGF1.FSIOP 2 *FILESRV 08/30/96 16:10:23 | | | | Bottom | | Parameters or command | | ===> | | F3=Exit F4=Prompt F5=Refresh F6=Print list F9=Retrieve F12=Cancel | | F17=Position to | +--------------------------------------------------------------------------------+ [ Top of Page | Previous Page | Next Page | Table of Contents | Index ] |