HP 9000 Networking NetWare 4.1/9000 Utilities Reference ® HP Part No. J2771-90013 Printed in U.S.A.
Notice Notice Hewlett-Packard makes no warranty of any kind with regard to this material, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose. Hewlett-Packard shall not be liable for errors contained herein or for incidental or consequential damages in connection with the furnishing, performance, or use of this material.
Printing History Printing History The manual printing date and part number indicate its current edition. The printing date will change when a new edition is printed. Minor changes may be made at reprint without changing the printing date. The manual part number will change when extensive changes are made. Manual updates may be issued between editions to correct errors or document product changes.
How to Use this Manual How to Use this Manual Purpose This manual provides reference information about NetWare Services utilities. You should be familiar with the platform you are using and with NetWare terms and concepts (see Concepts). For step-by-step instructions on completing tasks, use online help or refer to Supervising the Network and any other manuals that apply to your specific tasks. Command Syntax The command syntax shows what you must type to use the command.
How to Use this Manual Convention Explanation username Words that appear in italics are variables. They should be replaced with the information pertinent to your task. In the nwcommand example, you would replace username with the name of the user you want to send a message to. The angle brackets indicate that you should press the key whose name appears between them. [[ ]] Nested square brackets indicate that all enclosed items are optional.
How to Use this Manual vi
Contents 1 Overview Introduction 1-2 Workstation Utilities 1-3 Utilities for Windows 1-3 Utilities for DOS 1-4 Server Utilities 1-5 2 Workstation Utilities Introduction 2-2 ATOTAL 2-3 Purpose 2-3 Syntax 2-3 Additional Information 2-3 CAPTURE 2-4 Purpose 2-4 Syntax 2-4 CAPTURE Options 2-5 Using CAPTURE 2-7 Examples 2-8 Additional Information 2-8 COLORPAL 2-9 Purpose 2-9 Syntax 2-9 Using COLORPAL 2-9 vii
Contents CX 2-11 Purpose 2-11 Syntax 2-11 Using CX 2-12 Examples 2-12 Additional Information 2-13 FILER 2-14 Syntax 2-14 Using FILER 2-14 The Browse Screen 2-14 Managing File or Directory Information 2-15 Restoring Deleted Files or Directories 2-15 Examples 2-15 Additional Information 2-16 FLAG 2-17 Purpose 2-17 Syntax 2-17 FLAG Options 2-18 Directory Attributes 2-18 File Attributes 2-19 Search Modes for Executable Files Status Flags 2-21 Using FLAG 2-22 Examples 2-22 Additional Information 2-22 LOGIN 2
Contents Examples 2-24 Additional Information 2-25 LOGOUT 2-26 Purpose 2-26 Syntax 2-26 Using LOGOUT 2-26 Examples 2-27 MAP 2-28 Purpose 2-28 Syntax 2-28 MAP Options 2-29 Using MAP 2-29 Examples 2-30 Additional Information 2-30 NCOPY 2-31 Purpose 2-31 Syntax 2-31 NCOPY Options 2-32 Using NCOPY 2-32 Examples 2-33 Additional Information 2-34 NCUPDATE 2-35 Purpose 2-35 Syntax 2-35 Using NCUPDATE 2-35 Example 2-36 Additional Information 2-37 NDIR 2-38 Purpose 2-38 ix
Contents Syntax 2-38 NDIR Display Options 2-39 NDIR Format Options 2-39 NDIR Sort Options 2-40 NDIR Attribute Options 2-40 NDIR Status Flags 2-41 NDIR Restriction Options 2-42 Using NDIR 2-42 Examples 2-42 Additional Information 2-43 NETADMIN 2-44 Purpose 2-44 Syntax 2-44 Using NETADMIN 2-44 The Browse screen 2-44 Managing Object Properties 2-44 Assigning Rights 2-45 User Templates 2-45 Examples 2-46 Additional Information 2-47 NETUSER 2-48 Purpose 2-48 Syntax 2-48 Examples 2-48 Additional Information 2-
Contents Working with Objects 2-51 The Object Dialog 2-51 Warning that You Are Out of Connections Additional Information 2-52 2-52 NLIST 2-54 Purpose 2-54 Syntax 2-54 NLIST Options 2-55 Using NLIST 2-55 Examples 2-57 Users 2-57 Servers 2-58 Groups 2-58 Printers 2-59 Print Queues (Bindery Servers) Volumes 2-59 Objects 2-60 Additional Information 2-60 2-59 NMENU 2-61 Purpose 2-61 Syntax 2-61 Using NMENU 2-61 Additional Information 2-61 NPATH 2-62 Purpose 2-62 Syntax 2-62 Using NPATH 2-63 NPATH Options 2
Contents NPRINT 2-68 Purpose 2-68 Syntax 2-68 NPRINT Options 2-68 Using NPRINT 2-70 Examples 2-71 Additional Information 2-71 NVER 2-72 Purpose 2-72 Syntax 2-72 PARTMGR 2-73 Purpose 2-73 Syntax 2-73 Using PARTMGR 2-73 Managing Replicas 2-74 Examples 2-74 Additional Information 2-74 PCONSOLE 2-75 Purpose 2-75 Syntax 2-75 Examples 2-75 Additional Information 2-76 PRINTCON 2-77 Purpose 2-77 Syntax 2-77 Using PRINTCON 2-77 Examples 2-77 Additional Information 2-78 xii
Contents PRINTDEF 2-79 Purpose 2-79 Syntax 2-79 Using PRINTDEF 2-79 Examples 2-79 Additional Information 2-80 PSC 2-81 Purpose 2-81 Syntax 2-81 PSC Options 2-82 Using PSC 2-82 Examples 2-83 Additional Information 2-83 RENDIR 2-84 Purpose 2-84 Syntax 2-84 Using RENDIR 2-84 Examples 2-84 Additional Information 2-85 RIGHTS 2-86 Purpose 2-86 Syntax 2-86 RIGHTS Options 2-87 File and Directory Rights 2-87 Using RIGHTS 2-88 Examples 2-88 Additional Information 2-88 SEND 2-90 Purpose 2-90 xiii
Contents Syntax 2-90 SEND NDS Options 2-91 SEND Bindery Options 2-91 Using SEND 2-91 Examples 2-92 Additional Information 2-92 SETPASS 2-93 Purpose 2-93 Syntax 2-93 Example 2-93 SYSTIME 2-94 Purpose 2-94 Syntax 2-94 Examples 2-94 Additional Information 2-95 UIMPORT 2-96 Purpose 2-96 Syntax 2-96 Using UIMPORT 2-96 WHOAMI 2-97 Purpose 2-97 Syntax 2-97 WHOAMI NDS Options 2-97 WHOAMI Bindery Options 2-97 Additional Information 2-98 WSUPDATE 2-99 Purpose 2-99 Syntax 2-99 WSUPDATE Options xiv 2-100
Contents Using WSUPDATE 2-100 Examples 2-101 Additional Information 2-101 WSUPGRD 2-102 Purpose 2-102 Syntax 2-102 WSUPGRD Options 2-102 Examples 2-103 Additional Information 2-104 3 Server Utilities Introduction 3-2 conndata 3-3 Purpose 3-3 Syntax 3-3 Example 3-3 Directory Services Install 3-4 Purpose 3-4 Syntax 3-4 Additional Information 3-4 Directory Services Repair 3-5 Purpose 3-5 Syntax 3-5 Additional Information 3-5 drouter 3-6 Purpose 3-6 xv
Contents Syntax 3-6 Additional Information 3-6 dsadmin 3-7 Purpose 3-7 Syntax 3-7 Examples 3-9 Using dsadmin 3-9 Additional Information 3-9 ipxinfo 3-10 Purpose 3-10 Syntax 3-10 Using ipxinfo 3-10 ndsbackup 3-14 Purpose 3-14 Syntax 3-14 Using ndsbackup 3-14 Additional Information 3-15 ndsrestore 3-16 Purpose 3-16 Syntax 3-16 Using ndsrestore 3-16 Additional Information 3-17 nlist 3-18 Purpose 3-18 Syntax 3-18 Using nlist 3-18 npfsview 3-19 Purpose xvi 3-19
Contents Syntax 3-19 Using npfsview 3-19 nprinter 3-20 Purpose 3-20 Syntax 3-20 Using nprinter 3-20 npsd 3-21 Purpose 3-21 Syntax 3-21 Using npsd 3-21 Additional Information 3-23 3-23 nwcm 3-24 Purpose 3-24 Syntax 3-24 nwcm Parameters Tables 3-25 Using nwcm 3-44 Additional Information 3-45 nwdiscover 3-46 Purpose 3-46 Syntax 3-46 Using nwdiscover Examples 3-47 3-46 nwdump 3-48 Purpose 3-48 Syntax 3-48 Examples 3-48 nwengine 3-52 xvii
Contents Purpose 3-52 Syntax 3-52 Using nwengine 3-52 Examples 3-52 Additional Information 3-52 nwetcinfo 3-53 Purpose 3-53 Syntax 3-53 Example 3-53 nwmonitor 3-55 Purpose 3-55 Syntax 3-55 Using nwmonitor: 3-55 nwprint 3-56 Purpose 3-56 Syntax 3-56 Example 3-57 Using nwprint 3-57 nwsapinfo 3-58 Purpose 3-58 Syntax 3-58 Using nwsapinfo 3-59 Examples 3-61 Additional Information 3-61 nwsaputil 3-62 Purpose 3-62 Syntax 3-62 Example 3-63 Additional Information 3-63 xviii
Contents nwserverstatus 3-64 Purpose 3-64 Syntax 3-64 Using nwserverstatus 3-64 Additional Information 3-64 nwstats 3-65 Purpose 3-65 Syntax 3-65 Example 3-66 Additional Information 3-68 nwvm 3-69 Purpose 3-69 Syntax 3-69 nmvm Options 3-70 Example 3-72 nxinfo 3-73 Purpose 3-73 Syntax 3-73 Example 3-73 pmonitor 3-74 Purpose 3-74 Syntax 3-74 Example 3-74 Using pmonitor 3-74 pserver 3-75 Purpose 3-75 Syntax 3-75 Using pserver 3-76 xix
Contents Additional Information 3-76 pslist 3-77 Purpose 3-77 Syntax 3-77 Additional Information 3-77 ripinfo 3-78 Purpose 3-78 Syntax 3-78 Using ripinfo 3-78 rrouter 3-80 Purpose 3-80 Syntax 3-80 Using rrouter 3-80 spxinfo 3-81 Purpose 3-81 Syntax 3-81 Using spxinfo 3-81 Additional Information 3-84 startnps 3-85 Purpose 3-85 Syntax 3-85 Using startnps 3-85 Additional Information 3-85 statnps 3-86 Purpose 3-86 Syntax 3-86 Using statnps 3-86 xx
Contents startnw 3-87 Purpose 3-87 Syntax 3-87 Using startnw 3-87 Additional Information 3-87 stopnp 3-88 Purpose 3-88 Syntax 3-88 Additional Information 3-88 stopnps 3-89 Purpose 3-89 Syntax 3-89 Using stopnps 3-89 Additional Information 3-89 stopnw 3-90 Purpose 3-90 Syntax 3-90 Using stopnw 3-90 Additional Information 3-91 stopprint 3-92 Purpose 3-92 Syntax 3-92 Additional Information 3-92 track 3-93 Purpose 3-93 Syntax 3-93 Using track 3-93 Examples 3-94 xxi
Contents Additional Information 3-94 tsadmin 3-95 Purpose 3-95 Syntax 3-95 A NDS and Bindery Objects and Properties Contents A-2 NDS Object Classes A-3 NDS Object Classes and Their Properties A-5 Bindery Objects, Their Properties, and Property Groups A-11 xxii
1 Overview 1-1
Overview Introduction Introduction This chapter describes the following types of NetWare utilities and when to use them: • Workstation utilities • Server utilities Before you use any NetWare utilities, you should understand basic information about NetWare Directory Services™ (NDS™). See “Understanding NetWare Directory Services” in Introduction to NetWare Directory Services.
Overview Workstation Utilities Workstation Utilities Use the workstation utilities on a Windows®,WIN 95, NT, or DOS client workstation. These utilities are described in Chapter 2. NOTE: The utilities, or commands, you would use on a NetWare 4.1/9000 client are listed in Appendix B of this document. Utilities for Windows NetWare Administrator is a graphical utility that allows you to perform all NetWare workstation tasks (except logging in and drive mapping) through Windows 3.x.
Overview Workstation Utilities NOTE: You can set up drive mappings using login scripts. Utilities for DOS The DOS utilities are available to all users who have necessary rights.
Overview Server Utilities Server Utilities NetWare administrators use server utilities to maintain the network. These utilities are available from the server console or from a Remote Console™. The server utilities are described in Chapter 3.
Overview Server Utilities 1-6
2 Workstation Utilities 2-1
Workstation Utilities Introduction Introduction This chapter describes command line and menu workstation utilities, as well as the NetWare Administrator graphical user interface (GUI) utility. This manual does not provide step-by-step instructions. Each utility has online help that explains how to complete tasks: • For menu utilities, press after you enter the utility. For command line utilities, type the command name followed by /?. For example, CAPTURE /? All workstation utilities work with DOS.
Workstation Utilities ATOTAL ATOTAL Purpose Use at a workstation to total the accounting charges on your network. Syntax ATOTAL [/? | /VER] Parameter Use to /? View online help. (Other parameters are ignored). /VER View the version number of the utility and the list of files it uses to execute. (Other parameters are ignored.
Workstation Utilities CAPTURE CAPTURE Purpose Use at a workstation to set printer and printing parameters. CAPTURE allows you to • Redirect screen displays to a network printer. • Redirect DOS print jobs to a network printer from an application designed to print to workstation printer ports. • Redirect data to a network file. • Define how a job is printed. Syntax CAPTURE [P=printer | Q=queue] L=port number [option...
Workstation Utilities CAPTURE CAPTURE Options Option Use to SH (Show) View the current status of printer ports. Do not use with other options. S=NetWare server Specify which NetWare server the print job should be sent to. Default: current server (bindery server). ECCA (Endcap Cancel) End the capture of data to LPT ports and discard the data sent to the print queue. If the data was captured to a file and cancel is omitted, the file remains open and cannot be accessed.
Workstation Utilities CAPTURE Option F=form name or number Use to Specify the form name or number that the printer will use. CAPTURE will not function with an invalid form name. If you specify an invalid number, CAPTURE gives a warning message but still prints. C=n Specify the number of copies. Range: 1 to 255. NPRINT, PCONSOLE, PRINTCON print job configurations allow up to 65,000 copies. T=number Specify the number of spaces that replace each tab in a text print job.
Workstation Utilities CAPTURE Option NNOTI Use to Specify that the user does not receive a message when the print job is printed. Using CAPTURE • Default options include Banner (B=banner name), Autoendcap (AU), No Tabs (NT), and Form Feed (FF). • All options function with a preceding forward slash (/), but only the “Help” option requires it (/?). • Because CAPTURE settings must be reset each time you reboot your computer, consider placing them in the system or individual login scripts.
Workstation Utilities CAPTURE Examples To Type View current capture CAPTURE SH Capture to network printer P1 CAPTURE P=P1 Capture to print queue Q1 CAPTURE Q=Q1 End a capture CAPTURE EC Use print job configuration CHARTS CAPTURE J=CHARTS Print to a file that you name REPORT CAPTURE CR=REPORT Print to printer SALES without a banner CAPTURE P=SALES NB Redirect printer output to printer by Karl without a banner.
Workstation Utilities COLORPAL COLORPAL Purpose Use at a workstation to change the color of menu elements.
Workstation Utilities COLORPAL SYS:PUBLIC. • The colors used by any NetWare text utility are determined by the copy of IBM_RUN.OVL found when the utility executes. • You can have multiple copies of IBM_RUN.OVL in multiple directories. Each copy of the overlay file can have different menu element settings, providing different menus with varying color combinations.
Workstation Utilities CX CX Purpose Use at a workstation to view or change your context, or to view containers and leaf objects in your tree structure. Syntax CX [new context] [/R] [/T | /CONT | /A] [/C] [/?| /VER] Parameter Use to (no parameter) View the current context. new context Move to a new context or specify the context you want for an option. /R List containers at the root level, or change context in relation to the root.
Workstation Utilities CX Using CX • CX is similar to the DOS CD and DIR commands in that CX allows you to change contexts and view all objects below a given container. • To set your new context from the root • • Place a period in front of the new context you type; or • Enter the proper number of trailing periods to reach the root level; or • Use the “Root” option. CX doesn’t recognize spaces in object names.
Workstation Utilities CX To Type Change complete context from TEST. COMPANYB to TEST.COMPANYA CX .TEST.
Workstation Utilities FILER FILER Use at the workstation to manage files and directories. FILER works with the file system, not with NDS objects. FILER allows you to • View and modify files. • Change the current directory or server. • View, modify, and add directories and subdirectories. • View and modify rights for files and directories. • View trustees for files and directories. • Set confirmation defaults when modifying files. • Set file attributes.
Workstation Utilities FILER Managing File or Directory Information You can manage each file and directory separately. For example, you can view or edit the attributes (DOS and NetWare), status fields, and lists. Restoring Deleted Files or Directories You can restore deleted files and directories by choosing “Salvage Deleted Files” from the initial menu. Note that you can only restore files for which you have you have Create right.
Workstation Utilities FILER To Do the following View file or directory effective rights Copy a file or all files in a directory Purge deleted files Salvage deleted files 1 Type FILER . 2 Select “Manage files and directories.” 3 Highlight the file or directory whose effective rights you want to view. Press . 4 Select “View/Set File (Directory) Information.” 5 Find “Current Effective Rights” on the form. 6 Press for help from here. 1 Type FILER .
Workstation Utilities FLAG FLAG Purpose Use at a workstation to • View or modify file and directory attributes to determine which operations can be performed with the file or directory. • Modify the owner of a file or directory. • View or modify the search mode of executable files to determine how the program uses search drives when looking for a file. Syntax FLAG path [[+ | -] attribute...] [/option...] [/? | /VER] Parameter Use to (no parameter) View the status of all files in the directory.
Workstation Utilities FLAG Parameter /VER Use to View the version number of the utility and the list of files it uses to execute. (Other parameters are ignored.) FLAG Options Option Use to /NAME | GROUP = name Change the owner of a file or directory. /D View details about a file or directory. /DO View or modify only directories in the specified path. /FO View or modify only files in the specified path. /OWNER=name View all files or directories owned by a user.
Workstation Utilities FLAG Option Use to Dm (Don’t Migrate) Prevent the directory from being migrated to a secondary backup system (regardless of what the volume is set to). H (Hidden) Prevent the directory from being seen with a DOS DIR command. Ic (Immediate Compress) Compress the directory as soon as the operating system can. N (Normal) Specify no attributes. P (Purge) Purge the directory immediately when it is deleted. Ri (Rename Inhibit) Prevent the directory from being renamed.
Workstation Utilities FLAG Option Ds (Don’t Suballocate) Use to Prevent an individual file from being suballocated, even if suballocation is enabled for the system. Use on files that are enlarged or appended to frequently, such as database files. H (Hidden) Prevent a filename from being displayed with the DOS DIR command. The file cannot be copied or deleted. Ic (Immediate compress) Compress a file as soon as the operating system can. N (Normal) Specify the Rw attribute.
Workstation Utilities FLAG Search Modes for Executable Files The syntax is Syntax: /M=mode Replace mode with a mode number from the following table. Mode Use to 0 Search for instructions in the NET.CFG file (the default mode). 1 Search the path specified in the file. If there is no path, the file searches the default directory, and then all search drives. 2 Search the path specified in the file. If there is no path, the file searches only the default directory.
Workstation Utilities FLAG Using FLAG You can use wildcard characters. Examples To Type Add Rw and Ic and remove Di and A from files in the directory FLAG *.* +R W Ic -Di A View attributes for file STUDENTS in directory SYS:\COURSE\WINTER FLAG SYS:\COURSE\WINTER \STUDENTS Give files in drive G: the Hidden attribute FLAG G:*.* H /FO Set the search mode to 7 for executable files in the directory FLAG *.
Workstation Utilities LOGIN LOGIN Purpose Use at a workstation to access the network by logging in to a server and running a login script. Syntax LOGIN [server/ | tree/][user] [/option...] [/? | /VER] Parameter Use to (no parameter) Request a login prompt. server Specify the server you want to log in to. tree Specify the tree you want to log in to. user Specify the username you want to log in with. /option Specify an option from the “LOGIN Options” table. /? View online help.
Workstation Utilities LOGIN Option Use to /B Specify a bindery login. /PR=profile object name Specify the Profile object script you want to run. SWAP=path Tell Login to swap to this path when external commands are executed. (DOS only.) /TREE Specify that you want to log in to a tree. Using LOGIN • Using LOGIN to access an additional server logs you out of all other servers.
Workstation Utilities LOGIN To Type Log in to tree TERMINAL as user RICK LOGIN TERMINAL/RICK /TR Log in to the Directory tree as user SAM LOGIN SAM Log in as user SAM and specify a Profile object to use as a login script to run LOGIN SAM / PR=WPGROUP.COMPANYB Additional Information Topic See Creating a NET.CFG file NetWare Client for DOS and MS Windows User Guide Login scripts “Login scripts” in Concepts NET.CFG options “NET.
Workstation Utilities LOGOUT LOGOUT Purpose Use at a workstation to exit the network or to log out of servers. Syntax LOGOUT [server | /T] [/? | /VER] Parameter Use to (no parameter) Exit the network by logging out of all servers and NDS. server Specify the server you want to log out of if you want to log out of one server but remain logged in to other servers or to the Directory tree.
Workstation Utilities LOGOUT Examples To Type Log out of all servers LOGOUT Log out of server EXODUS while remaining logged in to other servers LOGOUT EXODUS Log out of all servers that begin with TEST LOGOUT TEST* Get online help for LOGOUT LOGOUT /? 2-27
Workstation Utilities MAP MAP Purpose Use at a workstation to • View drive mappings. • Create or change network or search drive mappings. • Map a drive to a fake root directory for applications that must use the root directory. Syntax MAP [P | NP] [option...] drive:= [drive: | path] [/? | /VER] Parameter Use to (no parameter) View drive mappings. P Map to a physical volume. Must be listed first or second. NP Overwrite local or search drives without being prompted.
Workstation Utilities MAP MAP Options Option Use to P Map to a physical volume. Must be listed first or second. Np Overwrite local or search drives without being prompted. Must be listed first or second. C Change a regular drive to a search drive, or a search drive to a regular drive. DEL Delete a drive mapping. INS Insert a search drive mapping without replacing an existing mapping. N Map the next available drive to the specified path.
Workstation Utilities MAP Examples To Type View mappings MAP Map drive G: to SYS:\HOME\GEORGE MAP G:=SYS:\HOME\GEORGE Extend the mapping for drive G: above to SYS:\HOME\GEORGE\PROJECTS MAP G:=PROJECTS Map search drive 4 to PRUFROCK\SYS:APP MAP S4:=PRUFROCK\SYS:APP Delete the mapping for drive G: MAP DEL G: Map drive F: to HOME\TERRY as a fake root MAP ROOT F:=HOME\TERRY Map the last possible search drive to WIZARD/SYS:PUBLIC MAP S16:=WIZARD/ SYS:PUBLIC Map the next available drive to BRUTUS
Workstation Utilities NCOPY NCOPY Purpose Use at a workstation to • Copy files from one location to another on the network. • Copy directories from one location to another on the network. Syntax NCOPY [source path] filename [TO] target path [filename] [/ option...][/? | /VER] Parameter Use to source path Specify the path leading to the source file. (You can use a drive letter.) Include this if the file is not in your current directory. filename Specify the file you want to copy.
Workstation Utilities NCOPY NCOPY Options Option Use to A (Archive Bit Only) Copy only those files that have the archive bit set. The attribute of the source file is not changed. M (Archive Bit Set) Copy files that have the archive bit set. Turns off the archive bit of the source file. This option allows NCOPY to be used in backup. C (Copy) Copy files without preserving extended attributes and name space information. F (Force Sparse Files) Force the operating system to copy sparse files.
Workstation Utilities NCOPY paths. • The default is that only files are copied. Include /S or /S /E to copy subdirectories. • You can use wildcard characters. Examples To Type Copy an empty subdirectory from the current drive to the subdirectory above your current drive NCOPY WORK . . /S /E Copy files that start with S and have a .TXT extension and have the archive bit set to a subdirectory named TEST below your current directory NCOPY S*.TXT TO TEST /A Copy .
Workstation Utilities NCOPY Additional Information Topic See Archive bit “Attributes” in Concepts Name space “Name space” in Concepts 2-34
Workstation Utilities NCUPDATE NCUPDATE Purpose Use at a workstation to automatically update users’ NET.CFG files with a new name context after a container has been moved or renamed. Syntax NCUPDATE [/? | /VER] [/NP] Parameter Use to /? View online help. (Other parameters are ignored.) /VER View the version number of the utility and the files it uses to execute. (Other parameters are ignored.) /NP Avoid getting the prompt that asks whether to update the name context in the NET.CFG file.
Workstation Utilities NCUPDATE container and any users below the container, users in and below that container must update their name context in their NET.CFG file. • To automatically update user NET.CFG files, place a command to execute NCUPDATE in the login script of the moved or renamed container and every container in and below it. • When users who are in or below the moved or renamed container log in, LOGIN recognizes that the context used to log in contains an alias.
Workstation Utilities NCUPDATE Additional Information Topic See Alias objects “Alias object” in Concepts Login scripts “About Login Scripts” in Supervising the Network Moving container objects “Moving Container Objects Using NetWare Administrator” and “Moving Container Objects Using NETADMIN” in Supervising the Network Renaming container objects “Renaming Leaf and Container Objects” in Supervising the Network 2-37
Workstation Utilities NDIR NDIR Purpose Use at a workstation to • View information about files (date, size, owner, attributes, archive information). • View information about directories (creation date, owner, subdirectories, Inherited Rights Filter, effective rights). • View volume information. • Sort information according to creation date, owner, file or directory attributes, and so forth.
Workstation Utilities NDIR NDIR Display Options Option Use to DO Sort and view directories only. FO Sort and view files only. FI View every occurrence of the specified files within your current directory and your PATH environment. SUB Sort and view all subdirectories and their files. VOL View volume information for the specified volume. SPA View directory space limitation information for the specified directory. C Scroll continuously through a display.
Workstation Utilities NDIR NDIR Sort Options Option Use to REV Reverse the direction of a sort. Put REV before SORT. Example: /REV SORT OW. SORT CR Sort by creation or copy date, from earliest to latest. SORT UN Suspend sorting. SORT AC Sort by date last accessed, from earliest to latest. SORT AR Sort by date last archived, from earliest to latest. SORT UP Sort by last update, from earliest to latest. SORT OW Sort alphabetically by file owner names.
Workstation Utilities NDIR Option Use to X (Execute Only) Prevent a file from being copied or copied over. This attribute can be given only to .EXE or .COM files, and cannot be removed. H (Hidden) Prevent a file from being seen with the DOS DIR command. The file cannot be copied or deleted. IC (Immediate Compress) Compress a file as soon as possible. P() Purge a file immediately if the file is deleted. RI (Rename Inhibit) Prevent a file from being renamed.
Workstation Utilities NDIR NDIR Restriction Options Option Use to [NOT] View all files except those the option specifies. Example: /CR [NOT] BEF | EQ | AFT mm-dd-yy /CR BEF | EQ | AFT mmdd-yy View files created on, before, or after the date specified. /AC BEF | EQ | AFT mmdd-yy View file last accessed before, on, or after the date specified. /AR BEF | EQ | AFT mmdd-yy View files last archived on, before, or after the date specified.
Workstation Utilities NDIR To Type View only directories on drive F: NDIR F:\*.* /DO View rights for files in the current directory NDIR *.* /R View the date of file RECORD.TXT NDIR RECORD.TXT /DA View detailed file information on RECORD.TXT NDIR RECORD.TXT /D View all Read Only files in SYS:PUBLIC NDIR SYS:PUBLIC\*.* /RO Search for batch files on drive C: NDIR C:\*.BAT /SUB View files that are not Read Only NDIR *.* /NOT RO View files from smallest to largest NDIR *.
Workstation Utilities NETADMIN NETADMIN Purpose Use at a workstation to manage NetWare Directory Services (NDS) objects and properties. NETADMIN allows you to view, create, move, delete, and assign rights to any NDS objects under your jurisdiction. Syntax NETADMIN Using NETADMIN The Browse screen The browse screen allows you to navigate the Directory tree, change your context, and view objects in the tree. • To browse up the Directory tree to the parent container, choose “.. (parent).
Workstation Utilities NETADMIN Assigning Rights After you select an object in NETADMIN, you can view or change access rights in two ways: • You can change that object’s rights to files on a volume. • You can change who has rights to view or change the properties of that object.
Workstation Utilities NETADMIN Examples To Create objects Edit user password expiration date Manage directory and file rights for an object Manage other objects’ rights for an object 2-46 From the NETADMIN main menu, select 1 “Manage Objects”; browse the Directory tree and select the container object where the new object will be located. 2 Press and select the object type. 3 Press for help from here. 1 “Manage objects”; highlight the user object and press .
Workstation Utilities NETADMIN To From the NETADMIN main menu, select Modify object properties (add users to groups, modify login scripts, modify account restrictions, etc.) Move objects to another location in the directory tree 1 “Manage Objects”; highlight the object whose properties you want to modify and press . 2 Select “View or Edit Properties of this Object”; select the property to modify, such as “Groups,” “Login script,” “Account restrictions,” and so forth, from the menu.
Workstation Utilities NETUSER NETUSER Purpose Use at a workstation to manage network tasks. NETUSER allows you to • Capture ports to printers or print queues. • Send, modify, pause, and delete print jobs after capturing a port. • Send messages to users or groups. • Disable or enable incoming messages. • Manage drive and search mappings. • View your effective rights on selected drives. • Manage network attachments. • Change your password. • View server information.
Workstation Utilities NETUSER To From the NETUSER main menu, select Send messages Map a drive Change a password Attach to a NetWare server 1 “Messages”; select “Send Messages to Users” or “Send Messages to Groups.” 2 Press for help from here. 1 “Drives”; select “Drive Mappings” or “Search Mappings.” 2 Press for help from here. 1 “Attachments”; select “NetWare server” and the username for which you want to change the password. 2 Select “Password.
Workstation Utilities NetWare Administrator NetWare Administrator Purpose Use at a Windows workstation to perform the supervisory tasks you would perform using FILER, NETADMIN, PARTMGR, and PCONSOLE.
Workstation Utilities NetWare Administrator The Browser NetWare Administrator’s primary window is a browser that displays NDS container objects and leaf objects at your current context in the Directory tree. You can open up to nine additional browsers. (You might want to open an additional browser to see a different context in the Directory tree.) To open another browser, select a container object (this will be the root object in the browser window) and then from the “Tools” menu, select “Browser.
Workstation Utilities NetWare Administrator To select information you want to see, choose a page button from the right side of the dialog. (The pages are part of one dialog. When you select a different page, you are still in the same dialog.) Warning that You Are Out of Connections You might receive this error in the following scenarios: • An attempt is made to establish a connection to a server when the number of supported connections on the client side has already been reached.
Workstation Utilities NetWare Administrator Topic See Using Partition Manager in NetWare Administrator “Creating and Managing Directory Services Partitions” in Supervising the Network 2-53
Workstation Utilities NLIST NLIST Purpose Use at a workstation to • View information about objects such as users, groups, volumes, servers, and so forth • Search on objects and object properties Syntax NLIST [class type [property search option] [object name] [/basic option] [display option]] | [/? | /VER] Parameter class type Use to Specify an object type, such as USER, SERVER, PRINTER, GROUP, VOLUME, and so forth. (see “NDS and Bindery Objects and Properties”).
Workstation Utilities NLIST NLIST Options Option Use to A View users who are logged in. B[=server] View information stored in the bindery of the specified server (bindery servers only). C Scroll continuously through information. CO[=context] Set the context to be searched (NDS servers only). D View all object properties. N View object names. S Search all levels of the database, beginning at the current context. SHOW [property] View a specific property of an object.
Workstation Utilities NLIST To list Use this syntax Any information NLIST [class type] [=object name] [/option…] User information NLIST user=[username] [WHERE [property] [operator] [value]] [SHOW [property]] [/option…] For bindery servers, use [property group] instead of [property] Server information NLIST server=[server] [WHERE [property] [operator] [value]] [SHOW [property]] [/option…] For bindery servers, use [property group] instead of [property] Group information NLIST group=[group] [WHERE [p
Workstation Utilities NLIST Examples Users To Type List users whose password length is less than 5 NLIST USER WHERE “PASSWORD MINIMUM LENGTH” LT 5 List users whose accounts will expire by June 30, 1995 NLIST USER WHERE “ACCOUNT EXPIRATION” LE 06-30-95 List users who are members of group MANAGERS NLIST USER WHERE “GROUP MEMBERSHIP” = MANAGERS List users logged in NLIST USER /A List users who have supervisor equivalence NLIST USER WHERE “SECURITY EQUAL TO” = SUPERVISOR List properties of user CIN
Workstation Utilities NLIST Servers To Type Identify the version number of a server NLIST SERVER SHOW VERSION List the network address of server ACCT (search all subordinate containers) (NDS servers) NLIST SERVER=ACCT SHOW “NETWORK ADDRESS” /S List the network address of server ACCT (search all subordinate containers) (bindery servers) NLIST SERVER=ACCT SHOW “ATTACHMENT INFORMATION” List servers in the current context NLIST SERVER Search for servers in the Directory tree NLIST SERVER /S See if
Workstation Utilities NLIST Printers To Type List operators for printer P1 NLIST PRINTER=Q1 SHOW OPERATOR List users for printer P1 NLIST PRINTER=Q1 SHOW USER List printers whose name begins with P NLIST PRINTER WHERE NAME = P* List printers in the current context and below NLIST PRINTER /S Print Queues (Bindery Servers) To Type List operators for print queue Q1 NLIST QUEUE=Q1 SHOW OPERATORS List users for print queue Q1 NLIST QUEUE=Q1 SHOW USERS List print queue names NLIST QUEUE /N Volu
Workstation Utilities NLIST Objects To Type List objects named MYSERVER NLIST * WHERE NAME = MYSERVER List objects in the current context NLIST * Additional Information Topic See Current Context “Context” in Concepts Properties “Property” in Concepts 2-60
Workstation Utilities NMENU NMENU Purpose Use at a workstation to access customized menus. Syntax NMENU menu_name [/? | /VER] Parameter Use to menu_name Specify the name of the .DAT menu file. /? View online help. (Other parameters are ignored.) /VER View the version number of the utility and the files it uses to execute. (Other parameters are ignored.) Using NMENU • You can use NMENU only when a menu file already exists.
Workstation Utilities NPATH NPATH Purpose Use at a workstation to view the NetWare search sequence for a file. This information helps you troubleshoot why your workstation cannot find a particular file, why it’s finding an incorrect version of the file, or why it’s displaying a foreign language. Syntax NPATH [utility][filename[,filename...]] [/option...] [/? | /VER] NOTE: When you view your workstation’s search sequence for a file, include the name of the utility in the command.
Workstation Utilities NPATH Using NPATH • Use NPATH when you try to execute a utility and have one of these problems: • You get a message that you’re missing a message file (an .MSG, .HEP, .IDX, or .XLT file), or a Unicode file. This message identifies the file you’re missing. • You get a message that you have an incorrect version of a message file (an .MSG, .HEP, .IDX, or .XLT file). This message shows the version of the file your workstation found, and the version you need.
Workstation Utilities NPATH Option Use to Uni (Unicode) List all paths to Unicode files. Troubleshooting with NPATH If Do the following You get a message that you’re missing a file but you know the file is located in a particular directory 1 Map a search drive to the directory that the file is in. (To make the search drive permanent, add it to your login script.) 2 Use NPATH if you want to confirm that your workstation can now find the file in its search sequence.
Workstation Utilities NPATH If You get a message that you have the incorrect version of a file You get a foreign language displayed on your screen Do the following 1 Use NPATH to view the search sequence your workstation is using to find each occurrence and version number of the file. 2 Identify whether the version of the file you need is in the search sequence.
Workstation Utilities NPATH To Type To view your workstation’s search sequence for message files NPATH To view the path to the first occurrence of NCOPY.MSG found in the search sequence NPATH NCOPY NCOPY.MSG To view the path to each occurrence of FILER.MSG found in the search sequence. Send file MARCH.PRJ to network printer P1 NPATH FILER FILER.MSG /A To view the path to the first occurrence of SEND.
Workstation Utilities NPATH To Type To view the path to each occurrence of UNI_MON.001 found in the search sequence NPATH UNI_MON.
Workstation Utilities NPRINT NPRINT Purpose Use at a workstation to • Print an ASCII file. • Print a file already formatted for a printer. Syntax NPRINT filename [option...] [/? | /VER] Parameter Use to filename Specify the name of the file you want to print. Include wildcard characters, drive letters, and directory paths if necessary. option Specify on or more options from the “NPRINT Options” table. /? View online help. (Other parameters are ignored.
Workstation Utilities NPRINT Option Use to Q=print queue name Specify which print queue the print job should be sent to. (Specify a default at the NetWare server console or in PRINTCON.) ALL View all online help screens, when used with the “Help” option. J=job name Specify the PRINTCON job configuration to use; does not require other options. NB Print no banner page. B=banner name Specify the text that will appear in the lower half of the banner page. Limit: 12 characters.
Workstation Utilities NPRINT Option Use to /NFF Specify that the printer not add blank paper at the end of the print job. /NOTI Specify that the user receive a message when the print job is printed. /NNOTI Specify that the user not receive a message when the print job is printed. Using NPRINT • All options function with a slash (/), but only “Help” requires it (/?). • You can specify the printer name instead of a print queue.
Workstation Utilities NPRINT for DOS and MS Windows Technical Reference. • Unlike DOS PRINT, NPRINT is not a terminate-and-stay-resident (TSR) application. Examples To Type Print file MARCH.PRJ NPRINT MARCH.PRJ Print file MARCH.PRJ using print job configuration REPORTS. NPRINT MARCH.PRJ J=REPORTS Send file MARCH.PRJ to network printer P1 NPRINT MARCH.PRJ P=P1 Send file MARCH.PRJ to print queue Q1 NPRINT MARCH.PRJ Q=Q1 Print file MARCH.PRJ without a banner NPRINT MARCH.
Workstation Utilities NVER NVER Purpose Use at a workstation to • View version information for the workstation and attached servers. • View Requester version information for attached servers. Syntax NVER [/C] [/? | /VER] Parameter Use to /C Scroll continuously through information. /? View online help. (Other parameters are ignored.) /VER View the version number of the utility and the files it uses to execute. (Other parameters are ignored.
Workstation Utilities PARTMGR PARTMGR Purpose Use at a workstation to manage partitions and their replicas. PARTMGR allows you to • Create partitions. • Merge partitions. • Add replicas. • Delete replicas. • Modify replica types. • Abort a partition operation. • Synchronize replicas. • Set your current context. Syntax PARTMGR Using PARTMGR • To browse up the Directory tree to the parent container, choose “.. (parent).
Workstation Utilities PARTMGR Managing Replicas Replicas are copies of the information in the partition. They are stored on servers in the Directory tree. There are four types of replicas: master, read/ write, read-only, and subordinate. Examples To From the PARTMGR main menu Merge partitions Create partitions View or manage replicas 1 Select “Manage Partitions” and browse the Directory tree to select the partition you want to merge with its parent. 2 Press .
Workstation Utilities PCONSOLE PCONSOLE Purpose Use at a workstation to administer NetWare print services.
Workstation Utilities PCONSOLE Additional Information Topic PCONSOLE 2-76 See “Managing Print Services with PCONSOLE” in Print Services
Workstation Utilities PRINTCON PRINTCON Purpose Use at a workstation to manage printer configuration. PRINTCON allows you to do the following: • Create and modify print job configurations • Specify options (such as a default printer) for users who use CAPTURE, NPRINT, NETUSER, and PCONSOLE • Change your current User or container object (in NetWare Directory Services) or your NetWare server (in bindery mode) Syntax PRINTCON Using PRINTCON To change between NDS and Bindery modes, press .
Workstation Utilities PRINTCON Additional Information Topic PRINTCON 2-78 See “Creating and Managing Print Job Configurations” in Print Services
Workstation Utilities PRINTDEF PRINTDEF Purpose Use at a workstation to manage print device definitions and printer forms. PRINTDEF allows you to • View, modify, import, and export print device definitions. • Monitor, modify, and create printer forms. Syntax PRINTDEF Using PRINTDEF To change between NDS and Bindery modes, press . In Bindery mode, the last menu option changes to “Change Current NetWare Server.
Workstation Utilities PRINTDEF Additional Information Topic Printer definitions and forms 2-80 See “Working with Print Device Definitions and Printer Forms” in Print Services
Workstation Utilities PSC PSC Purpose Use at a workstation to • Control the print server. • Control network printers. • View network printer information. Syntax PSC PS=print server P=printer S=NetWare bindery server [option...][/? | /VER] Parameter Use to print server Specify the name of the print server you want to manage. printer Specify the name of the printer you want to manage.
Workstation Utilities PSC PSC Options Option Use to S=server Specify a NetWare server. (Use to attach to a server with a bindery connection.) AB Stop the current print job and delete it from the queue. CD Cancel the “Going Down After Current Jobs” option. Use this option if you selected that command in PCONSOLE and want to cancel it. FF Advance the printer to the top of the next page. The printer must be paused or stopped.
Workstation Utilities PSC Examples To Type Stop printer P1 PSC P=P1 STO Cancel downing of SALES PRINT SERVER PSC PS=SALES_PRINT_SERVER CD View specific online help for the START option PSC /? STAR Additional Information Topic Using PSC See “Using PSC” in Print Services 2-83
Workstation Utilities RENDIR RENDIR Purpose Use at a workstation to rename a directory. Syntax RENDIR path [TO] directory name [/? | /VER] Parameter Use to path Specify the path leading to and including the directory you want to rename. directory name Specify the new name of the directory. /? View online help. (Other parameters are ignored.) /VER View the version number of the utility and the files it uses to execute. (Other parameters are ignored.
Workstation Utilities RENDIR To Rename directory TOOL to TOOLKIT on your current drive and volume Type RENDIR :/TOOL TOOLKIT Additional Information Topic Drive mapping See “Drive mapping” in Concepts 2-85
Workstation Utilities RIGHTS RIGHTS Purpose Use at a workstation to • View or modify user or group rights for files. • View or modify user or group rights for directories and volumes. Syntax RIGHTS path [[ + | - ] rights] [/option...] [/? | /VER] Parameter Use to path Specify the path to the file, directory, or volume you want to modify or view rights to (you must always specify a path). +|- Add or delete rights. If you use + (plus) to add rights, the rights are added to existing rights.
Workstation Utilities RIGHTS RIGHTS Options Option Use to /C Scroll continuously through output. /F View the Inherited Rights Filter (IRF). /Inherited View the trustee and group rights that created the inherited rights, and view where the inherited rights came from. /NAME=username View or modify rights for the user or group listed. Replace username with the name of the user or group whose rights you want to view or modify. /Sub View or modify subdirectories below the current level.
Workstation Utilities RIGHTS Right Use to N (No Rights) Remove all rights. REM (Remove) Remove the user or group as a trustee of the specified file or directory. ALL Add all rights except Supervisor. Using RIGHTS • If you list rights without using + or -, the rights you list replace existing rights. • You must specify a path. You can use a period to represent your current directory. • You can use wildcard characters.
Workstation Utilities RIGHTS Topic Rights See “Setting Up and Managing NetWare Directory Services Objects” in Supervising the Network 2-89
Workstation Utilities SEND SEND Purpose Use at a workstation to • Send messages. • Set your machine to receive all messages, only system messages, or no messages, or to poll for messages. • Poll for messages. • View broadcast mode.
Workstation Utilities SEND SEND NDS Options Option Use to /A=A or / A Set your workstation to accept all messages. /A=C Set your workstation to accept messages only from the server. /A=N Set your workstation to accept no messages. /A=P Set your workstation to poll. The server stores the last message sent until you poll to receive it.
Workstation Utilities SEND Examples To Type Send the message “Meeting time” to users Bob, Sue, and Jeff. SEND “MEETING TIME” BOB, SUE, JEFF Send the message “Meeting time” to Bob using a complete name SEND “MEETING TIME” .CN=BOB.
Workstation Utilities SETPASS SETPASS Purpose Use at a workstation to change your password. Syntax For NetWare Directory Services (NDS): SETPASS [username] [/B] [/? | /VER] For bindery (NetWare 3 and 2): SETPASS [server[/username]] [/? | /VER] Parameter Use to username Specify the user whose password you want to change. server Specify the server where you want to change the user’s password (if you are setting a password on a bindery server).
Workstation Utilities SYSTIME SYSTIME Purpose Use at a workstation to synchronize the date and time set on your workstation with those of the server. Syntax SYSTIME [server] [/? | /VER] Parameter Use to server Specify the server you want to synchronize with. /? View online help. (Other parameters are ignored.) /VER View the version number of the utility and the files it uses to execute. (Other parameters are ignored.
Workstation Utilities SYSTIME Additional Information Topic See Managing time synchronization “Managing Network Time Synchronization” in Supervising the Network Synchronization “Time synchronization” in Concepts 2-95
Workstation Utilities UIMPORT UIMPORT Purpose Use at a workstation to add user objects into the Directory tree from an ASCII import file. Syntax UIMPORT [control file] [data file] Parameter Use to control file Specify the file that gives UIMPORT information on how to load data into the directory. data file Specify the comma-separated ASCII file that is made up of records containing attribute values.
Workstation Utilities WHOAMI WHOAMI Purpose Use at a workstation to view connection information. Syntax WHOAMI [server] [/option...] [/? | /VER] Parameter Use to server Specify the server whose connection information you want. /option Specify one or more options from the “WHOAMI NDS Options” or “WHOAMI Bindery Options” tables. /? View online help. (Other parameters are ignored.) /VER View the version number of the utility and the files it uses to execute. (Other parameters are ignored.
Workstation Utilities WHOAMI Option Use to /S View security equivalences of the object. /W View the workgroup manager of the object. /C Scroll continuously through output.
Workstation Utilities WSUPDATE WSUPDATE Purpose Use at a workstation to update a file on multiple drives and subdirectories. Syntax WSUPDATE [ [drive letter: [path\filename] [/option...]] | [/? | /VER] Parameter | volume name:] Use to source path Specify the path of the file you are updating from, including the filename. You cannot use wildcard characters. drive letter Specify a directory to search for outdated files. To search all mapped drives, use the /ALL option.
Workstation Utilities WSUPDATE WSUPDATE Options Option Use to /ALL Search all mapped drives. You cannot specify a drive or volume with this option. /C Copy the new file over the old one, with no backup. /CON Continuously scroll the output. /E Erase the existing log file. Use with the /L option. /F=[path\file] Specify a file where the commands to update the workstation are stored. (Other options are ignored.) /LOCAL Search all local drives. You cannot specify a drive or volume with this option.
Workstation Utilities WSUPDATE Examples To Type Search all mapped drives and copy over old files WSUPDATE VOL:SYSTEM\NET5.COM / ALL /C Search local drives and rename the old file WSUPDATE VOL:SYSTEM\NET5.COM / LOCAL /R Specify file location WSUPDATE /F=C:\NET3.
Workstation Utilities WSUPGRD WSUPGRD Purpose Use at a workstation to upgrade the IPX LAN driver on the workstation to the corresponding Open Data-Link Interface™ (ODI™) driver. Syntax WSUPGRD [path] [/option...] [/? | /VER] Parameter Use to path Specify the complete path to the driver, including the driver name. /option Specify one or more options from the “WSUPGRD Options” table. /? View online help. (Other parameters are ignored.
Workstation Utilities WSUPGRD Option /N Use to Cause the utility to not delete the IPX driver. By default the old driver is deleted before the ODI driver is installed. Note: If this switch is specified and the ODI driver has the same name as the IPX driver, the former will overwrite the latter— thereby deleting it even if /N is specified. /E0 |1|2 Control changes that the utility makes to the AUTOEXEC.BAT file. E0 Specify that no changes be made to the AUTOEXEC.BAT file.
Workstation Utilities WSUPGRD To Type Print out the hardware ID WSUPGRD NE2000 /I Specify the location of the IPX driver for upgrading WSUPGRD NE2000 C:\NE2000.
3 Server Utilities 3-1
Server Utilities Introduction Introduction This chapter describes the utilities you can use to administer your NetWare server. You will find two types of utilities in this chapter: • • Command line utilities that you enter at the HP 9000 prompt. To run these utilities, you must • Log in as root; or • Become a user with superuser permission. Graphical User Interface (GUI) utilities that you access from the HP 9000 server console command line . You must have superuser permission to run these utilities.
Server Utilities conndata conndata Purpose Use at the HP-UX prompt to view the server connection table information for only valid entries in the server connection table.
Server Utilities Directory Services Install Directory Services Install Purpose Use at the HP-UX prompt to install and remove NetWare Directory Services (NDS).
Server Utilities Directory Services Repair Directory Services Repair Purpose Use at the HP-UX prompt to repair and correct problems with records, schema, bindery objects, external references, and so forth, in the NetWare Directory Services (NDS) database.
Server Utilities drouter drouter Purpose Use at the HP-UX prompt to list • Networks known to the router (NETWORK column). • Number of routers that must be crossed to reach the network (HOPS column), estimated number of ticks (1/18th of a second) that a packet takes to reach the network (TIME column). • Node number of the router with the best route to the network (NODE column). Syntax drouter [-1 | -C | -h] Option Use to -1 Specify one column mode.
Server Utilities dsadmin dsadmin Purpose Use at the HP-UX prompt to: • Display or temporarily set the values for the nwcm parameter ds_bindery_context (to make permanent changes, use nwcm). • Abort Directory Services client requests. • Display the active Directory Services tree.
Server Utilities dsadmin Option Use to -d On or a dstrace value enables NDS tracing to the screen, off disables it. -e Enforce checking of the “Equivalent to Me” attribute on authentication -f Trace DS events to the specified NDS trace file on the SYS volume. -F Set the path and name of the specified NDS trace file on the SYS volume.
Server Utilities dsadmin Examples To Type Reset ds_bindery_context to O=Marketing dsadmin -B binderycontext=O=Marketing Display the value for ds_bindery_context dsadmin -B Abort a request for a DS client that has received 36 consecutive RBP packets from a remote server dsadmin -a 35 Display the name of the DS tree on the server dsadmin -t Using dsadmin Any option which requires a value will print the current value if the question mark character is substituted for the value.
Server Utilities ipxinfo ipxinfo Purpose Use at the HP-UX prompt to display the IPX™ socket and LAN statistics kept by the IPX driver. Syntax ipxinfo Using ipxinfo • The indention level and plus symbols in the following figures determine which statistics can be added to form a total. For example, in Figure 3-1 on page 3-10, Line 17 displays a total. The statistics that form that total are displayed below it and are indented further than the total (lines 18 through 21).
Server Utilities ipxinfo Line 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 IPX Socket Multiplexor (ISM) Version: IPX LAN Router Version: 4.01 4.
Server Utilities ipxinfo Line 38 39 40 41 42 43 44 45 46 47 48 49 Information about packets sent to the LAN router 0 IPX/NETBIOS packets from an application routed to LAN(s) 72124 Total IPX data packets received from the ISM 72590 Figure 3-2 Line 50 51 52 53 54 55 56 57 58 59 60 61 Figure 3-3 Total IPX Packets +Packets +Packets +Packets +Packets +Packets +Packets +Packets 0 1 0 0 0 0 72160 429 data packets sent to a LAN or ISM destination net/node filled with my net/node from ISM destination/source s
Server Utilities ipxinfo Line 62 IPX Socket Multiplexor (ISM) Statistics: 63 64 65 66 67 12 13 5 0 0 68 69 70 71 72 73 74 72124 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 Figure 3-4 Sockets Bound Non TLI Bind Socket Requests TLI Bind Socket Requests TLI Option Management Requests TLI Unknown Requests Total IPX data packets received from applications 0 Checksum generated 0 +Failure to generate checksum, packet dropped 15479 Packets padded to an even number of bytes 0 Pa
Server Utilities ndsbackup ndsbackup Purpose Use as at the HP-UX prompt to back up the master replicas on a NetWare server. This is a disaster-recover utility and should not be used as the primary backup for your master replicas. You should use this utility only as a precaution in case your system experiences a major catastrophe that destroys all replicas. For your primary backup procedure, we recommend that you create at least two replicas of each master and store them on other servers.
Server Utilities ndsbackup Additional Information Topic See The ndsrestore utility “ndsrestore” Backing up and restoring NDS “Emergency Recovery” in the NetWare Services Installation Handbook 3-15
Server Utilities ndsrestore ndsrestore Purpose Use at the HP-UX prompt to restore the master replicas on a NetWare server that were backed up with ndsbackup. WARNING: You should use this utility only as a last resort for restoring master replicas. Keep sufficient backup copies of your master replicas on other servers so you need to use this utility only as a disaster-recovery tool. Note that you can change a non-master replica into a master and then create a replica on the system.
Server Utilities ndsrestore Additional Information Topic See The ndsbackup utility “ndsbackup” Backing up and restoring NDS “Emergency Recovery” in the NetWare Services Installation Handbook 3-17
Server Utilities nlist nlist Purpose Use at the HP-UX prompt to: • View information about the following objects: users, groups, queues, volumes, and servers. • Search on objects and object property groups. Syntax Refer to nlist under Workstation Utilities. Using nlist Differences between nlist on the server side and nlist on the client side. • Only class types listed under “Purpose” above can be listed by nlist on the server side.
Server Utilities npfsview npfsview Purpose Use at the HP-UX prompt to view the information in the NetWare inodes files. Syntax npfsview Using npfsview You must have superuser permission to run npfsview. When you execute the command, the following occurs: 1 npfsview displays the existing NetWare volumes. 2 npfsview prompts you to enter a NetWare volume number. 3 npfsview prompts you for one of the following commands: Option Use to Displays the next inode. Go to specified block.
Server Utilities nprinter nprinter Purpose Use at the HP-UX prompt to allow NetWare servers to use a local HP-UX printer. Syntax nprinter [-v] Use the -v option for detailed information output to the console. Otherwise, only the nprinter starting and nprinter going down messages are displayed.
Server Utilities npsd npsd Purpose Used by startnps to • Start the IPX protocol stack and include SPXII driver. • Start various other drivers and daemons. To start npsd, use startnps. The startnps command checks to see if npsd is running before it attempts to start the NetWare protocol stack. Syntax npsd [-v] For more detailed output, use the -v option. Using npsd • Some daemons, such as npsd protocol stack, should not be unloaded under normal circumstances.
Server Utilities npsd Daemon or Driver Explanation IPX This driver provides IPX protocol services. IPX is a connectionless, unreliable protocol. The device name for this driver is /dev/ipx. RIPX (IPX Router) This driver provides IPX routing information by creating and managing a router information table, including distance to the network (ticks), number of routers to traverse (hops), and the router on the local network used to send packets to the network.
Server Utilities npsd Daemon or Driver nwdiagd Explanation This daemon provides support for the IPX diagnostic protocol and is required if nwumps is enabled. Enable nwdiagd using nwcm diagnostics. sapd (Service Advertising Protocol Daemon) This daemon is initialized if the nwcm parameter router_type is set to “full.” The sapd daemon performs those functions of the SAP agent that are independent of NetWare Services, such as building and maintaining the Server Information Table.
Server Utilities nwcm nwcm Purpose CAUTION: This command should only be used to configure parameters that are not configurable using the System Administration Manager (SAM). Use at the HP-UX prompt to • View and configure NetWare Services system parameters. • Update NetWare Services parameters in the startup files. • View and change IPX/SPX configuration information. • View adapter and device information. • View default settings for NetWare Services volumes.
Server Utilities nwcm Option -d param Use to View the description strings (or name of the parameters in the current locale) for the parameter from the message catalog. Replace param with a parameter from the “nwcm Parameters Tables.” -h param View the input-help string for the specified parameter from the message catalog. Replace param with a parameter from the “nwcm Parameters Tables.
Server Utilities nwcm Table 3-1 General Server Parameters Parameter alert_notify_string= value Use to Specify a list of users who are to receive alert messages in addition to ADMIN. Enclose the list of usernames within single quotation marks. A semicolon should immediately follow each username. For example, to send alert messages to users Larry and Judy, the alert list should contain ‘Judy;Larry;’.
Server Utilities nwcm Table 3-1 General Server Parameters Parameter console_device=value Use to Default: “/dev/console” Specify which device receives the server messages. The default allows you to view the file server messages from the desktop using Message Monitor. Maximum length: 127 console_display_ watchdog_logouts= value Control whether a message is sent to the server display device when the watchdog logs out a connection. If set to Yes, messages are sent.
Server Utilities nwcm Table 3-1 General Server Parameters Parameter file_access_control= value Use to Specify the file access mode for NetWare users. This parameter is used only if the access control mode is not specified for the volume in the voltab file.
Server Utilities nwcm Table 3-1 General Server Parameters Parameter hybrid_users_enabled =value Use to Determine whether hybrid user mapping is activated. If set to Yes, the server checks the / etc/netware4/nwusers file when a NetWare user logs in. If a HP-UX username has been assigned to the NetWare user, all files and directories created by the NetWare user will be owned by the assigned NetWare 4.1/9000 user.
Server Utilities nwcm Table 3-1 General Server Parameters Parameter login=value Use to Supported values: Yes, No Specify whether NetWare logins are allowed. If set to Yes, NetWare users may log in. If set to No, only ADMIN is allowed to log in. Default: Yes max_connections= number Specify the size of the Connection Table. Because both licensed connections and Directory Services connections use this table, configure the table for at least 10 more than your maximum number of licensed connections.
Server Utilities nwcm Table 3-1 General Server Parameters Parameter max_search_contexts=nu mber Use to Specify the maximum number of NCP directory searches that can be processed simultaneously. Normally, only one NCP directory search occurs at a time. Increase the default if you are using applications that support multiple outstanding directory searches or if you are having problems with corrupt or invalid directory information.
Server Utilities nwcm Table 3-1 General Server Parameters Parameter ncp_packet_signature option=number Use to Determine whether the server generates signatures for NCP packets.
Server Utilities nwcm Table 3-1 General Server Parameters Parameter Use to npfs_directory_purge_thre shold=number Specify the number of deleted file entries that must exist within a directory before they are purged from the NetWare usinodes file. You can override this value on a volume-byvolume basis by specifying the parameter in the voltab file. Setting this parameter to a very small value (such as 1) will cause deleted file entries to be purged frequently.
Server Utilities nwcm Table 3-2 System Tunable Parameters Parameter burst_mode_buffer_ size=number Use to Specify the size in bytes of the Packet Burst buffer which in turn determines the maximum size burst the server can handle. Each client using the Packet Burst protocol receives a buffer of this size to store Packet Burst data. Changing the parameter may require a change in the size of shared memory.
Server Utilities nwcm Table 3-2 System Tunable Parameters Parameter ncp_engines_to_start=nu mber Use to Specify the number of NCP engines that run when the NetWare server starts. Increase the number if the nxinfo utility reports an excessive number of packets dropped due to server busy. Use the nwengine utility to change the number of engines after the server is up. Supported values: 2 to 50 Default: 2 read_ahead_cache= value Activate a read-ahead cache buffer.
Server Utilities nwcm Table 3-2 System Tunable Parameters Parameter shm_access=number Use to Specify the HP-UX permissions of the shared memory segment used by the NetWare server. The default value allows only system processes to access the shared memory segment. Supported values: 0600 to 0777 Default: 0600 shm_key=number Specify a unique key for the NetWare shared memory segment.
Server Utilities nwcm Table 3-3 IPX/SPX Parameters Parameter diagnostics=value Use to Specify if the diagnostics daemon (diagnostics_daemon) is started by the NPS daemon. Set this parameter to Yes if Network Management is enabled. Supported values: Yes, No Default: No diagnostics_log_file=value Default: “diag.log” Specify the name of the log file for diagnostic messages. The location of the log file is log_directory.
Server Utilities nwcm Table 3-3 IPX/SPX Parameters Parameter spx=value Use to Specify if the SPX driver is started by the NPS daemon (npsd). SPX works with the IPX transport to guarantee successful delivery of data packets. IPX is a datagram service and SPX is a connection-based service. Some NetWare services, such as printing and NVT, require SPX. Supported values: Yes, No Default: Yes spx_max_connections= number Specify the maximum number of connections the SPX can support.
Server Utilities nwcm Table 3-3 IPX/SPX Parameters Parameter spx_max_sockets= number Use to Specify how many sockets SPX can use simultaneously for listening for connect requests from other end points. You can set this parameter so that small systems can efficiently use allocated memory for optimal system performance. Increase the value if applications are failing because listening sockets cannot be opened.
Server Utilities nwcm Table 3-4 SAP Parameters Parameter sap_file_ compatibility= value Use to Enable or disable /var/spool/sap in,out file compatibility (provides backwards compatibility for HP-UX 10.10). Supported values: Yes, No Default: No sap_install_server= value Control if this machine is advertised as an install server so others can install software from it. If set to No, the machine is not advertised as an install server.
Server Utilities nwcm Table 3-4 SAP Parameters Parameter sap_servers=number Use to Specify the maximum number of servers of all types that are seen on networks recognized by SAP. This parameter determines the size of the shared memory region used by SAP. If this parameter is too small, new servers that don’t fit in the table are ignored.
Server Utilities nwcm Table 3-6 Printing (PSERVER) Parameters (Continued) Parameter pserver_console_ verbosity=value Use to Determine the type and quantity of messages that the print server displays. A low number minimizes the number of messages displayed; a high number increases the number of messages displayed.
Server Utilities nwcm Table 3-7 Printing (NPRINTER) Parameters (Continued) Parameter nprinter_console_ device=value Use to Specify where NPRINTER error and console messages are sent. Maximum length: 127 Default: Not Configured Table 3-8 Time Synchronization Parameters Parameter ts_add_time_source= value Use to Specify a NetWare server to be added to the end of the configured time source list specified with the ts_time_source parameter.
Server Utilities nwcm Table 3-8 Time Synchronization Parameters Parameter ts_remove_time_ source=value Use to Specify a NetWare server to be removed from the configured time source list specified by the ts_time_source parameter. Maximum length: 48 Default: Not Configured ts_short_interval= number Specify how often time synchronization polling occurs (in seconds) when a server discovers it is not synchronized with network time.
Server Utilities nwcm Additional Information Topic NetWare Setup See “NetWare Setup” “Maintaining the NetWare Server” in Supervising the Network 3-45
Server Utilities nwdiscover nwdiscover Purpose Use at the HP-UX prompt to discover IPX network characteristics. Syntax nwdiscover [-a] [-f frame_type] [-r retry_count] [-t timeout] [-d pathname] [-v] [-e frame_type] Parameter Use to -a Check all frame types and device types, even if there is a response from a NetWare server. -f frame_type Query the network to see if a NetWare server is responding to messages of the specified frame type. Default: Try all frame types.
Server Utilities nwdiscover evaluating the results. The first message is a service request message for NetWare servers; the second is a service request message for UnixWare servers. If there is no response to the server request messages, an IPX Router Information Protocol (RIP) message is sent requesting information on all networks. If a response is received to any of the messages, nwdiscover extracts the network and frame type from the reply. The network information is sent to stdout.
Server Utilities nwdump nwdump Purpose Use at the HP-UX prompt to view NEMUX device status information. Syntax Examples The following figures display the information generated by nwdump. The output normally shows statistics for 13 devices. The sample output shows statistics for one device (Device 0).
Server Utilities nwdump Line 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 Figure 3-5 0:12:56 0x00000000 0x00000034 3 3 Time NEMUX driver active Multiplexor state Multiplexor mask Streams linked Streams dumped 13 Devices allocated 13 Devices dumped 13 +Devices open 0 +Devices closed 2 +Devices are non-NWU processes 11 +Devices NWU processes 1 +Device NWU daemon 5 +Devices engines 5 +Devices non-engines 10 5 0 0 0 0 0 Max engines allowed Engines requested Engines idle Abnormal engine deaths Abn
Server Utilities nwdump Line 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 Figure 3-6 /dev/ncpipx is stream linked to stream -1 1 1962 +Messages sent without queueing 626 +Messages queued then sent 1 Messages currently queued 0 +Ioctl responses upstream 0 +Messages dropped 2582 Messages from the stream head 2582 +Messages sent without queueing 0 +Messages queued then sent 0 Downnstream messages currently queued 0 +Ioctl requests 2 Device that sent the last message 0x00000
Server Utilities nwdump Line 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 Figure 3-7 /dev/nwetc is stream linked to stream -1 3 0 +Messages sent without queueing 0 +Messages queued then sent 0 Messages currently queued 4 +Ioctl responses upstream 0 +Messages dropped 4 Messages from the stream head 0 +Messages sent without queueing 0 +Messages queued then sent 0 Downstream messages currently queued 4 +Ioctl requests 0 Device that sent the last message 0x00006DFB Last i
Server Utilities nwengine nwengine Purpose Use at the HP-UX prompt to set the total number of currently running NetWare engines. Syntax nwengine num Replace num with the number of NetWare engines to be running. The number of engines must be at least one. Using nwengine • If more engines are running than the number specified, the number of engines is decreased. • If fewer engines are running than the number specified, new engines are started.
Server Utilities nwetcinfo nwetcinfo Purpose Use at the HP-UX prompt to view NWetc driver statistics. Syntax nwetcinfo Example The following figures display the information generated by nwetcinfo. # .
Server Utilities nwetcinfo 3 Default retry count for a client message 3 Seconds between retries for client messages 15 Maximum client requests at one time 1011 Downstream client message sent 0 Downstream client message returning error 1 Maximum retries sent on a client message 122 Number of times a client message was retransmitted 1129 Messages received on client message socket 0 Messages dropped from client message socket 0 Client message dropped (no corresponding request) 1010 Messages sent upstream from
Server Utilities nwmonitor nwmonitor Purpose Use at the HP-UX prompt to view the file server connection table information and NDS client connection table information. Syntax nwmonitor [-admsw] [-c num] Options Use to -a Shows authenticated ID information. -d Shows only NDS client connection table. -m Dumps only NDS_POOL headers. -s Shows session key information. -w Shows connection watchdog information. -c num Only shows information for this server connection number.
Server Utilities nwprint nwprint Purpose Use at the HP-UX prompt to print a file on HP-UX to a NetWare printer queue. Syntax cat | nwprint [options] or nwprint { [options] file } Options -a Start codes -b (No banner page) -c Copies -d Descriptor -e (No extra page) -f Control file -h Hex codes.
Server Utilities nwprint Example The following figures display the information generated by nwstats. nwprint -uADMIN -ppag -sMalibu_server -q Malibu_pqueue report Using nwprint must be a valid user on and must be on the list of users on who can submit jobs to the queue.
Server Utilities nwsapinfo nwsapinfo Purpose Use at the HP-UX prompt to view information maintained in the server information tables. Syntax nwsapinfo [-adfFilLtxz] [-c num] [-C num] [-n num] [-s name] [-T num] Parameter Use to -a Include the -dfLtx options. -d Dump the Service Advertising Protocol (SAP) tables. -f Print 12 characters of the name in the first column (default). -F Print the full name in the last column. -i Display SAP information (default).
Server Utilities nwsapinfo Parameter Use to -s name Display NetWare server information about the specified server name; may be followed by the -T option. This option supports wildcards. -T num Specify a NetWare server type. Can be used with one or more of the -d, -f, -t, -c, -C, -s options. Using nwsapinfo Figure 1-8 displays the information in the Server Information tables.
Server Utilities nwsapinfo Line 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 Figure 3-8 0:17:07 Time SAP daemon active 413 is the SAP PID, SAP is active 1759 Total known servers 1241 Total unused server entries 2 Total LANs known to SAP 327 Current revision stamp value 10020 Total SAP packets received 0 GSQ packets received 5006 GSR packets received 2 NSQ packets received 2 Local requests to advertise a server received 0 Local requests to notify of changes
Server Utilities nwsapinfo Examples To Display information about NetWare servers that begin with the letters “BA” (the -s option supports wildcards) Type nwsapinfo -f -s “BA*” The wildcard * can only be used once, and only as the last character of the name. For example, “A*” and “ABCD*” are valid uses of *.
Server Utilities nwsaputil nwsaputil Purpose Use at the HP-UX prompt to stop or start advertising a local server, or to query the contents of the sapouts file (which contains information about servers advertised with the “permanent” option). Syntax nwsaputil [-a | -d | -q] [-t type] [-s socket] [-n name] Option -a Use to Advertise a specified server and add it to the sapouts file. You must use -t and -s with this option. You can also use n to specify the server name.
Server Utilities nwsaputil Option Use to -t type Specify server type. Replace type with the type of server. The type can be specified in hexadecimal (0xn), octal (0n), or decimal (n). -s socket Specify server socket number. Replace socket with the socket number. The socket number can be specified in hexadecimal (0xn), octal (0n), or decimal (n). -n name Specify server name. Replace name with the server name.
Server Utilities nwserverstatus nwserverstatus Purpose Use at the HP-UX prompt to check the status of your NetWare server. Syntax nwserverstatus Using nwserverstatus A one or two line description showing the status of the NetWare server will be displayed.
Server Utilities nwstats nwstats Purpose Use at the HP-UX prompt to view statistical information about NetWare Services.
Server Utilities nwstats Parameter Use to display -s Fast path summary -y Clear all Netware statistics -z Clear all fastpath statistics Example The following figures display the information generated by nwstats.
Server Utilities nwstats 0 2288 0 3 66 400 0 0 0 0 0 0 0 ReadAHeadCacheHits ReadAHeadCacheMisses PrintRequests MessageRequests DirectoryRequests BinderyAndMiscRequests AFPRequests NWUSpecificRequests ExtendedAttributeRequests EnhancedNCPRequests NotSupportedRequests UnknownRequests BadPacketAcks Lock Manager Statistics: 0 LogicalLockRequests 0 NumLogicalLocks 0 MaxSimultaneousLogLocks 0 FileLockRequests 0 NumFileLocks 0 MaxSimultaneousFileLocks 0 PhysLockRequests 0 NumPhysLocks 0 MaxSimultaneousPhysLocks
Server Utilities nwstats 0 0 0 0 0 HoldOffPacketsSent SystemPacketInvalid SystemPacketInvalidBlastNumber SystemPacketTooLate SystemPacketUnknown Burst Write Statistics: 0 WriteFragmentsReceived 0 LateWriteFragmentDropped 0 TardyWriteFragmentDropped 0 WriteFragmentInvalidBlastNumber 0 DuplicateWriteFragment 0 WriteFragmentInvalidLengths 0 WriteFragmentNotNeeded 0 LastFragmentIsFirstToBeProcessed 0 BurstWriteSuccessRetransmitted Burst Missing Fragment Statistics: 0 MissingFragmentListSent 0 SendMissingFrag
Server Utilities nwvm nwvm Purpose Modifies information from the voltab file and repairs/optimizes the NetWare inodes file. The NetWare server must be down for you to use the nwvm utility. Syntax nwvm [-B|-M] volname [-o option] Parameter -B Use to Can be used to rebuild an existing usinodes file for a volume if this usinodes file is suspected of being corrupted.
Server Utilities nwvm Parameter Use to -M Modifies the volume information for the selected item. If either the control path (-c) or the mount path (-p) are modified, the information is changed only in the voltab file. The utility does not move the files in the old directories to the new directories. You must manually move the files to the new locations. If the files in the control directory are not moved to the new location, NetWare server will create new control files.
Server Utilities nwvm Option Use to npfs_directory_min_sync _interval=value Specifies the minimum interval for synchronization. Replace value with an integer from 0 to 900. The default is ten seconds. npfs_directory_mandatory_ sync_interval=value Forces a synchronization on directories that still appear to be synchronized. After the specified time elapses since the last synchronization of a directory, a synchronization will be performed even though the directory appears to be unchanged.
Server Utilities nwvm Option nfiles=value Use to Controls the size of the NetWare inodes file. When a volumeis created, this value determines the initial size of the NetWare inodes file. It needs to be large enough to include all the files that currently exist in the volume’s path. Replace value with the maximum number of files you expect to support in the volume. Default is 10000.
Server Utilities nxinfo nxinfo Purpose Use at the HP-UX prompt to view ncpipx statistics. Syntax nxinfo Example The following example displays the information generated by nxinfo.
Server Utilities pmonitor pmonitor Purpose Use at the HP-UX prompt to view the status of NetWare printers. Syntax pmonitor [options] Option -u -p -r -h print this help screen Example pmonitor -uADMIN -ppas -rMalibu_pserver eted Using pmonitor must be a valid user or and must be on the list of valid users on /.
Server Utilities pserver pserver Purpose Use at the HP-UX prompt to load the print server and establish print services for the network. NOTE: Before you load the print server, use PCONSOLE or Nwadmin to set up a print server and SAM to set up configuration files. Syntax pserver [options] Option Use to -f server Authenticate through the bindery to the specified server. -c context Specify the context. -s server Specify the preferred server. -t tree Specify the preferred tree.
Server Utilities pserver Using pserver When you run pserver, any options you use override any option set with nwcm.
Server Utilities pslist pslist Purpose Use at the HP-UX prompt to view advertised list of print servers.
Server Utilities ripinfo ripinfo Purpose Use at the HP-UX prompt to view router driver statistics from the protocol stack. Syntax ripinfo Using ripinfo Figure 1-9 on 6 displays RIP driver statistics. The indention level and plus symbols determine which statistics can be added together to form a total. For example, Line 3 displays a total. The statistics that form that total are displayed below it and are indented further than the total (lines 4 through 10).
Server Utilities ripinfo Line 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 Figure 3-9 RIPX Version: 4.
Server Utilities rrouter rrouter Purpose Use at the HP-UX prompt to reset and rebuild the IPX Router table in NetWare services by requesting route information from all neighboring routers. Syntax rrouter Using rrouter • You must be the root user to use rrouter. • This command is normally not needed during the operation of the IPX protocol stack. However, if a router has crashed, it might take several minutes before its routes are removed from the routing table.
Server Utilities spxinfo spxinfo Purpose Use at the HP-UXhp-ux prompt to view statistics for the SPX driver. Syntax spxinfo [minor_number] Replace minor_number with a minor number (in decimal). Using spxinfo • If spxinfo is used without a minor number, the general statistics are displayed along with statistics for every minor number. • If a minor number is specified, then the general statistics are displayed along with the statistics only for the minor number specified.
Server Utilities spxinfo Line 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 Figure 3-10 SPXII General Statistics: SPXII Version: 4.
Server Utilities spxinfo Line 29 30 31 32 33 34 35 SPX Connection Statistics for minor # 2: 0:00:45 Time SPX connection active Address of this endpoint: 0x89413100 NET 0x00001B1E6508 NODE 0x400F SOCKET 64514 SPX Connection Number 36 37 38 39 40 Address of other Endpoint: 0x89413100 NET 0x00001B379E2D NODE 0x0BED SOCKET 46082 SPX Connection Number 41 42 43 9 TLI state of SPX connection 10 Maximum retries before disconnecting 310 Milliseconds minimum between retries 44 45 46 47 48 49 50 51 52 53 54 55
Server Utilities spxinfo Additional Information Topic spx 3-84 See SPXII in “npsd”
Server Utilities startnps startnps Purpose Use at the HP-UX prompt to start npsd, which initializes the NetWare protocol stack. Syntax startnps [-v] For more detailed output, use the -v option. Using startnps • To determine whether the stack is loaded, create a script using the statnps command and check the return value. • If the stack is loaded, statnps returns a value of 1. If the stack is not loaded, statnps returns a value of 0.
Server Utilities statnps statnps Purpose Use in a script to check the status of the NetWare protocol stack. Syntax statnps Using statnps • You must be the root user to use statnps. • If the protocol stack is up, statnps returns 1. If the protocol stack is down, it returns 0.
Server Utilities startnw startnw Purpose Use at the HP-UX prompt to bring up the NetWare server. The startnw utility • Boots NetWare Services on your HP 9000 system. • Reads the NetWare Services configuration from the configuration file. • Mounts all volumes listed in the voltab file. • Starts all other NetWare Services processes. • Processes asynchronous events. Syntax startnw Using startnw Load the npsd protocol stack before using the startnw command.
Server Utilities stopnp stopnp Purpose Use at the HP-UX prompt to stop nprinter.
Server Utilities stopnps stopnps Purpose Use at the HP-UX prompt to stop the NetWare protocol stack. Syntax stopnps Using stopnps • You must be the root user to run the stopnps command and the system must be at run level 1 (by typing init 1 at the command line). • The stopnps command kills the npsd process, which unloads the IPX protocol stack. The stopnps command waits up to 60 seconds for IPX clone devices to be closed before proceeding.
Server Utilities stopnw stopnw Purpose Use at the HP-UX prompt to bring down the NetWare server. Syntax stopnw [-g seconds] [-h] [-?] [-b] [Message] Option Use to -g seconds Specify a grace period in seconds to wait before bringing down, or stopping, NetWare Services -h or -? Print a help message for using this utility (usage string). -b Execute the shutdown in the background. Message Specify the message you want to send to users before shutting down the server.
Server Utilities stopnw Time Remaining to Shutdown Message Frequency less than 30 seconds No message 30 seconds to 1 minute 30 seconds 1 to 5 minutes 1 minute 5 to 30 minutes 5 minutes 30 minutes to 2 hours 30 minutes more than 2 hours 1 hour • If the grace period is more than 30 minutes (1800 seconds), stopnw disables new NetWare logins 30 minutes before shutdown. If the grace period is less than 30 minutes, stopnw disable NetWare logins immediately.
Server Utilities stopprint stopprint Purpose Use at the HP-UX prompt to stop pserver.
Server Utilities track track Purpose Use at the HP-UX prompt to • Display the incoming and outgoing SAP packets. • Stop the displaying of incoming and outgoing SAP packets. Syntax track on | off | tables Parameter on Use to Signal sapd to display NetWare servers advertising packets received or sent. Information is displayed on the console, and is formatted according to whether the NetWare server is receiving the information (IN), broadcasting the information (OUT), or receiving a SAP request.
Server Utilities track Examples Incoming information looks similar to the following: IN [00D0C200:00001B026C09] 10:53:01am BILLYBOB 5 IN indicates that the message is incoming. [00D0C200:00001B026C09] is the node address. NetWare server information follows the node address, as shown in the following table. BILLYBOB Indicates the name of a NetWare server known by the sending NetWare server. 5 Indicates the number of hops from the sending NetWare server to this NetWare server.
Server Utilities tsadmin tsadmin Purpose Use at the HP-UX prompt to do the following: • Display time synchronization information. • Display date and time kept by NetWare Services’ clock. • Restart time synchronization. Syntax tsadmin -s | -r Option -s Use to View the status of NetWare Services.
Server Utilities tsadmin 3-96
A NDS and Bindery Objects and Properties A-1
NDS and Bindery Objects and Properties Contents Contents For a list of See NDS object classes, what they are used for, and where that type of object can be created “Object classes” NDS object classes and their associated properties “Object properties” Bindery objects and their associated properties “Bindery object properties” A-2
NDS and Bindery Objects and Properties NDS Object Classes NDS Object Classes Table A-1 Object classes Object class What this object is used for AFP Server What objects can contain this object Organization Organizational Unit Alias Redirects the path of a branch or leaf of the Directory tree in another location for more convenient access Organization Organizational Unit Root level Bindery Object Represents an object that was upgraded from a bindery-based server, but that cannot be identified Organ
NDS and Bindery Objects and Properties NDS Object Classes Table A-1 Object classes Object class What this object is used for What objects can contain this object Organization Defines an organization within the network Country or root level Organizational Role Defines a position or role within an organization for the purpose of assigning access rights Organization Organizational Unit Organizational Unit Defines a subdivision within an organization to contain objects Organization Organizational U
NDS and Bindery Objects and Properties NDS Object Classes and Their Properties NDS Object Classes and Their Properties Table A-2 Object properties Object Properties AFP Server CN Object Class Serial Number Supported Connections Descriptions Host Device L OU O Private Key Public Key Resource See Also Status User Version Network Address ACL Back Link Bindery Property Alias Aliased Object Name Object Class ACL Back Link Bindery Property Bindery Object Bindery Object Restrictions Bindery Type CN Obje
NDS and Bindery Objects and Properties NDS Object Classes and Their Properties Table A-2 Object properties Object Properties Computer CN Object Class Operator Server Status Description L Network Address OU O Owner See Also Serial Number ACL Back Link Bindery Property Country C Object Class Description ACL Back Link Bindery Property Directory Map CN Host Server Object Class Path Description Host Resource Name L OU O See Also ACL Back Link Bindery Property Group CN Object Class Description L Mem
NDS and Bindery Objects and Properties NDS Object Classes and Their Properties Table A-2 Object properties Object Properties Organization O Object Class Description Facsimile Telephone Number L Login Script EMail Address Physical Delivery Office Name Postal Address Postal Code Postal Office Box Print Job Configuration Printer Control See Also S SA Telephone Number Login Intruder Limit Intruder Attempt Reset Interval Detect Intruder Lockout After Detection Intruder Lockout Reset Interval ACL Back Link
NDS and Bindery Objects and Properties NDS Object Classes and Their Properties Table A-2 Object properties Object Properties Print Server CN Object Class Operator Print SAP Name Description Host Device L OU O Private Key Public Key Resource See Also Status User Version Network Address ACL Back Link Bindery Property Printer CN Object Class Cartridge Printer Configuration Default Queue Host Device Print Server Memory Network Address Restrictions Notify Operator Page Description Language Queue Status
NDS and Bindery Objects and Properties NDS Object Classes and Their Properties Table A-2 Object properties Object Properties Queue Queue Directory CN Host Server Object Class Device Operator Server User Network Address Volume Description Host Resource Name L OU O See Also ACL Back Link Bindery Property Unknown Unknown Object Restriction Object Class ACL Back Link Bindery Property User CN Surname Object Class Group Membership Home Directory Login Allowed Time Map Login Disabled Login Expiration Ti
NDS and Bindery Objects and Properties NDS Object Classes and Their Properties Table A-2 Object properties Object Properties User (continued) Password Required Password Unique Required Print Job Configuration Private Key Public Key Security Equals See Also Telephone Number ACL Back Link Bindery Property Volume CN Host Server Object Class Status Description Host Resource Name L OU O See Also ACL Back Link Bindery Property A-10
NDS and Bindery Objects and Properties Bindery Objects, Their Properties, and Property Groups Bindery Objects, Their Properties, and Property Groups Table A-3 Bindery object properties Object Properties Property Groups Group Name Description Managers Member Object ID (All Groups) Misc Managers Members Misc Queue Name Directory Object ID Operators Servers Users (All Groups) Directory Misc Operators Servers Users Server Name Attachment Status Object ID Network Node Version Accounting Installed Max
NDS and Bindery Objects and Properties Bindery Objects, Their Properties, and Property Groups Table A-3 Bindery object properties Object Properties Property Groups User Name Network Node Connection Number Login Time Object ID Account Disabled Account Expiration Date Password Allow Change Password Required Password Force Change Password Expiration Days Password Expiration Date Password Length Unique Password Grace Logins Grace Logins Remaining Maximum Connections Last Login Groups Managers Security Equ
Index A Aborting DS client requests, 3-7 Accessing customized menus, 2-62 network, 2-23 Account expiration date, listing users by, 2-57 Account restrictions assigning, 2-47 listing users by, 2-57 Adapter, viewing information for, 3-24 Adding partitions, 2-74 printers, queues, jobs, 2-75 replicas, 2-74 rights to files and directories, 2-87 alert_notify_string, nwcm parameter, 3-26 Alias, setting with NCUPDATE, 2-36 Application not designed for network, printing from, 2-4 ASCII file loading user objects into
Index changing, 2-17 deleting, 2-17 listed, 2-17 sorting directories by, 2-40 Directory information sorting directories by, 2-40 viewing, 2-38 Directory rights (file system) listed, 2-87 modifying user and group, 2-86 trustees, changing or viewing, 2-86 viewing, 2-16, 2-39 Directory Services Repair, 3-5 Directory tree logging in to, 2-25 setting context in, 2-11 viewing your context in, 2-12 Display incoming and outgoing SAP packets, 393 Display IPX and LAN statistics, 3-10 Display the active DS tree, 3-7
Index examples, 2-24 syntax, 2-23 login, nwcm parameter, 3-30 LOGOUT utility examples, 2-27 syntax, 2-26 LPT ports capturing data to, 2-4 ending capture of, 2-5 M Managing object properties, 2-44, 2-47 MAP utility examples, 2-30 syntax, 2-28 max_connections, nwcm parameter, 3-30 max_ncp_engines, nwcm parameter, 3-34 max_open_files, nwcm parameter, 3-30 max_search_contexts, nwcm parameter, 331 max_volumes, nwcm parameter, 3-31 Menu accessing customized, 2-61 changing colors for, 2-9 Merging Directory partit
Index IPX/SPX Parameters, 3-36 Localization Parameters, 3-36 NetWare Management Parameters, 3-41 NetWare UNIX Client Parameters, 3-44 Printing (PSERVER) Parameters, 3-42 SAP Parameters, 3-39 System Tunable Parameters, 3-34 nwcm parameter alert_notify_string, 3-26 burst_mode_buffer_size, 3-34 burst_mode_clients, 3-26 burst_mode_packet_delay_threshold, 334 burst_mode_protocol, 3-26 console_device, 3-27 console_display_watchdog_logouts, 327 diagnostics, 3-37 diagnostics_log_file, 3-37 enable_ipx_checksums, 3-
Index operators, listing, 2-56 properties, searching on, 2-56 sending a job to, 2-4, 2-69 users, listing, 2-59 Print server object adding, changing, or viewing, 2-75 controlling, 2-81 PRINTCON utility examples, 2-77 syntax, 2-77 PRINTDEF utility examples, 2-79 syntax, 2-79 Printer controlling, 2-81 displaying information about, 2-5, 2-69 sending jobs to, 2-4, 2-68 Printer definitions, specifying, 2-77 Printer object adding, changing, or viewing, 2-75 operators, listing, 2-56 properties, searching on, 2-56
Index login script to run, 2-28 printer or print server, 2-81 spx, nwcm parameter, 3-38 spx_max_connections, nwcm parameter, 3-38 spx_max_sockets, nwcm parameter, 3-39 SPXII driver started by npsd daemon, 3-22 spxinfo utility, explained, 3-81 Starting and stopping the server, 3-64 startnps utility, explained, 3-85 startnw, 3-87 Startup files updating NetWare services system parameters in, 3-24 statnps utility, explained, 3-86 Status showing for printer, 2-82 showing for printer ports, 2-5 Status flags sort