CL Command Reference - CHGNWSA

CL Command List > CHGNWSA Reference

Description:

The Change Network Server Attributes (CHGNWSA) command changes the network server attributes of the system. Many of these attributes can be set on an individual user profile basis using the CHGNWSUSRA command. Many network server commands such as DSPNWSUSR and WRKNWSSTS can specify that information from the network server attributes should be used by specifying *NWSA for a given parameter.

Network server attributes are saved by the Save System (SAVSYS) command. Network server attributes are restored to the system when the operating system is installed.

Restrictions:

1. This command is shipped with public *EXCLUDE authority. When this command is shipped, authority is issued only to the security officer. The security officer can grant the use of this command to other users.

2. To make changes to the NDSTREELST, WNTDMNLST, WNTLCLSVRL, or NTWTCPSVRL parameters, you must have *SECADM special authority.

3. The Windows domain and server names specified in the WNTDMNLST and WNTLCLSVRL parameters must follow the naming conventions of Windows.



Examples:

Example 1: Setting Network Server Attributes for Windows

CHGNWSA DFTSVRTYPE(*WINDOWS)
WNTDMNLST((DMN01 USRTMP1) (DMN02))
WNTLCLSVRL((LCLSVR1 TMPL1) (LCLSRV2 *NONE))

The default server type is set to *WINDOWS. The default Windows domain list will be set to enroll profiles into domain DMN01 using user account USRTMP1 and into domain DMN02. Any Windows groups that are created in the domain will be created as global groups.

The Windows local server default list will be set to enroll profiles into local server LCLSVR1 using user account template TMPL1 and into local server LCLSRV2.



Example 2: Setting Network Server Attributes for NetWare

CHGNWSA NDSTREE(NWTREE1)
NDSCTX(.MARKETING.HDQTRS.IBM)
NDSTREELST(NWTREE1 NDSSVR1
MARKETING.HDQTRS.IBM *NONE)
NTW3SVRLST(NTW3SVR2 NTW3SVR3)

The above command will change the system default NDS tree to be NWTREE1 and the default context to MARKETING.HDQTRS.IBM. The tree list consists of one entry for NDS tree NWTREE1 with a default server of NDSSVR1, default user object context of MARKETING.HDQTRS.IBM and no default profile object name. The NetWare 3.12 default server list is set to include servers NTW3SVR2 and NTW3SVR3.



Example 3: Setting Network Server Attributes for NetWare/IP

CHGNWSA NDSTREE(NWTREE1)
NDSCTX(.MARKETING.HDQTRS.IBM)
NDSTREELST(NWTREE1 NTWS1
MARKETING.HDQTRS.IBM *NONE)
NTW3SVRLST(NTWS2 NTWS3)
NTWTCPSVRL(NTWS1 NTWS2)

The above command will change the system default NDS tree to be NWTREE1 and the default context to MARKETING.HDQTRS.IBM. The tree list consists of one entry for NDS tree NWTREE1 with a default server of NTWS1, default user object context of MARKETING.HDQTRS.IBM and no default profile object name. The NetWare 3.12 default server list is set to include servers NTWS2 and NTWS3. The NetWare/IP default server list is set to include servers NTWS1 and NTWS2. Thus, NTWS1 and NTWS3 will use TCP/IP as the communication protocol.