If you define your NetWare servers and NDS trees in the network server attributes, you can simplify enrollment by first defining a default list of those servers and trees. Then when you enroll users, you can refer to that list of default attributes by specifying *NWSA on the appropriate CHGNWSUSRA command parameters.
When you specify the NDS tree list (NDSTREELST) parameter as *NWSA, you avoid having to change iSeries group or user profiles when you add or remove NetWare servers from your network. Changes to any user or group profiles that you define to use the *NWSA value extend automatically to new servers that you add to the network server attributes. Refer to Examples: Specify *NWSA for examples that show how to enroll a group profile or a user profile to the system-default list of NetWare servers and NDS trees.
To see what your NWSA values are, use the Display NWS Attributes (DSPNWSA) command with OPTION(*NETWARE).
IBM® grants you a nonexclusive copyright license to use all programming code examples from which you can generate similar function tailored to your own specific needs.
SUBJECT TO ANY STATUTORY WARRANTIES WHICH CANNOT BE EXCLUDED, IBM, ITS PROGRAM DEVELOPERS AND SUPPLIERS MAKE NO WARRANTIES OR CONDITIONS EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OR CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT, REGARDING THE PROGRAM OR TECHNICAL SUPPORT, IF ANY.
UNDER NO CIRCUMSTANCES IS IBM, ITS PROGRAM DEVELOPERS OR SUPPLIERS LIABLE FOR ANY OF THE FOLLOWING, EVEN IF INFORMED OF THEIR POSSIBILITY:
SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO SOME OR ALL OF THE ABOVE LIMITATIONS OR EXCLUSIONS MAY NOT APPLY TO YOU.