Work with NWS User Enrollment (WRKNWSENR)
The Work with Network Server User Enrollment (WRKNWSENR) command works with a list of user profiles that the iSeries administration support has enrolled, or is currently enrolling, into the network.
The information displayed differs depending on the value of the SVRTYPE parameter.
- If SVRTYPE(*NWSA) is specified, the display shown depends on the value specified for the DFTSVRTYPE parameter in the network server attributes (CHGNWSA command). The DFTSVRTYPE values that are supported are *WINDOWS, *WINDOWSNT, and *NETWARE.
- If SVRTYPE(*NWSUSRA) is specified, the display shown depends on the value specified for the DFTSVRTYPE parameter in the network server user attributes (CHGNWSUSRA command) for the current user. The value in the network server user attributes that are valid for this command are *WINDOWS, *WINDOWSNT, and *NETWARE.
- If SVRTYPE(*WINDOWS) or (*WINDOWSNT) is specified, enrollment information is shown for i5/OS users enrolled into Windows domains and local servers.
- If SVRTYPE(*NETWARE) is specified, the display works with enrollment information for those i5/OS users being enrolled into NetWare Directory Services trees.
In general, the Work with Network Server User Enrollment display shows a list of servers or NetWare Directory Services trees and the current enrollment status for a list of i5/OS profiles being enrolled into each server or NetWare Directory Services tree.
Specific options are available to work with individual profiles in the list. These options provide functions such as changing user profiles and changing network server user attributes.
Keyword |
Description |
Choices |
Notes |
USRPRF |
User profile |
Generic name, name, *ALL |
Optional, Positional 1 |
PRFTYPE |
Profile type |
*USER, *GROUP |
Optional, Positional 2 |
SVRTYPE |
Server type |
*NWSUSRA, *WINDOWS, *NWSA, *NETWARE, *WINDOWSNT |
Optional, Positional 3 |
NDSTREE |
NDS tree |
Character value, *ALL, *NWSA, *NONE |
Optional |
SERVER |
Server |
Character value, *ALL, *NWSA, *NONE |
Optional |
DOMAIN |
Domain |
Character value, *ALL, *NWSA, *NONE |
Optional |
User profile (USRPRF)
Specifies the name of a profile.
- *ALL
- The enrollment status for all profiles is displayed.
- generic*-user-name
- Specify the generic name of the profile to be displayed. A generic name is a character string of one or more characters followed by an asterisk (*); for example, ABC*. If a generic name is specified, then all users with names that begin with the generic name, and for which the user has authority, are shown. If an asterisk is not included with the generic (prefix) name, the system assumes it to be the complete user name.
- profile-name
- Specify the name of a profile to be displayed.
Profile type (PRFTYPE)
Specifies which enrollment status should be displayed.
- *USER
- A list of i5/OS users and their enrollment status is displayed. From this display an alternate view is available which will show, for each user in this list, a list of i5/OS groups the user belongs to, provided the group is currently being enrolled into that server or NetWare Directory Services tree.
- *GROUP
- A list of i5/OS groups and their enrollment status is displayed. An alternate view is available to display for each group in the list, those members of each group that are currently being enrolled into the server or NetWare Directory Services tree.
Server type (SVRTYPE)
Specifies which type of server to work with.
- *NWSUSRA
- The server type from the network server user attributes (CHGNWSUSRA command) for the user profile running the WRKNWSENR command is used.
- *NWSA
- The server type in the network server attributes (CHGNWSA command) is used.
- *WINDOWS or *WINDOWSNT
- Specifies that a list of users and groups enrolled into Windows domains and local servers are displayed.
Note: *WINDOWS should be used in V5R4 and later releases. The *WINDOWSNT value is supported for compatibility with releases prior to V5R4.
- *NETWARE
- The enrollment status for those profiles being enrolled into a NetWare network are displayed.
NDS tree (NDSTREE)
Specifies which NetWare Directory Services trees to work with.
- *ALL
- All NetWare Directory Services trees that have users enrolled are listed.
- *NWSA
- The enrollment information for all the NetWare Directory Services trees identified by the NDSTREELST parameter in the network server attributes are displayed.
- *NONE
- No enrollment information is listed for any NetWare Directory Services trees.
- generic*-tree-name
- Specify the generic name of NetWare Directory Services trees that have users enrolled.
- 'NDS tree-name'
- Specify the name of a specific NetWare Directory Services tree that has users enrolled.
Server (SERVER)
Specifies which network servers to work with.
- *ALL
- All servers that have users enrolled are listed.
- *NWSA
- The enrollment information for all the servers identified in the network server attributes is displayed.
For *WINDOWS or *WINDOWSNT servers, the enrollment information for all servers defined by the WNTLCLSVRL parameter are displayed.
- *NONE
- No enrollment information is listed for any servers. This is valid only when SVRTYPE(*NETWARE) is specified.
- generic*-server-name
- Specify the generic name of the server.
- server-name
- Specify the name of a specific server.
Domain (DOMAIN)
Specifies which Windows domains to work with.
- *ALL
- All domains that have users enrolled are listed.
- *NWSA
- The enrollment information for all the Windows domains identified by the WNTDMNLST parameter in the system network server attributes are displayed.
- *NONE
- No enrollment information is listed for any Windows domains. Only the enrollment information for local Windows servers is displayed based on the SERVER parameter.
- generic*-domain-name
- Specify the generic name of Windows domains that have users enrolled.
- 'domain-name'
- Specify the name of a specific Windows domain that has users enrolled.
Example 1: Working with Windows User Enrollment
WRKNWSENR SVRTYPE(*WINDOWS) DOMAIN(DMN*) SERVER(SRV*)
This command displays a list of all i5/OS users that the i5/OS user enrollment support has enrolled into all Windows domains whose name starts with 'DMN' and all local servers that start with 'SRV'.
Example 2: Working with NetWare NDS Tree User Enrollment
WRKNWSENR SVRTYPE(*NETWARE) NDSTREE(TREE1) SERVER(*NONE)
This command displays a list of all i5/OS users that the i5/OS user enrollment support has enrolled into NetWare Directory Services TREE1.
*ESCAPE Messages
- CPFA45A
- Network server users not displayed.