NLIST
Purpose
Use at a workstation to
- View information about objects such as users, groups, volumes, servers, etc.
- Search on objects and object properties
Syntax
NLIST [class type [property search option ] [object name ] [/basic option ] [display option ]] | [/? | /VER]
class type |
Specify an object type, such as USER, SERVER, PRINTER, GROUP, VOLUME, etc. For bindery servers (NetWare 3), replace class type with USER, SERVER, QUEUE, GROUP, or VOLUME. These are the only objects available in bindery services mode for NetWare 3. |
property search option |
Specify a search option. For online help, type NLIST /? R. |
object name |
Specify the name of the object you want information about. |
/basic option |
Specify any available option. See NLIST Options. |
display option |
Select how data is displayed. For online help, type NLIST /? D. |
/? |
View online help. All other parameters are ignored when /? is used. |
/VER |
View the version number of the utility and the files it uses to execute. All other parameters are ignored when /VER is used. |
NLIST Options
A |
View users who are logged in. |
B[= server name ] |
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. |
TREE |
View all tree names visible from this login. |
Using NLIST
- Searching on objects and properties allows you to view specific groups of objects.
For example, you can view all users whose passwords will expire on a certain date. Or you can view all groups that have a particular user as a member.
- You can use Property groups only with a bindery connection, or with bindery services.
- USER, SERVER, QUEUE, GROUP, and VOLUME are the only objects you can search on in a bindery context.
- Table 5 , NLIST Syntax, shows the syntax for some of the most frequently use NLIST operations.
For detailed information on the parameters in this table, see the online help.
Table 5. NLIST 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 name ] [WHERE [property ] [operator ] [value ]] [SHOW [property ]] [/option ...] For bindery servers, use [property group ] instead of [property ] |
Group information |
NLIST group=[group ] [WHERE [property ] [operator ] [value ]] [SHOW [property ]] [/option ...] For bindery servers, use [property group ] instead of [property ] |
Printer information |
NLIST printer=[printer ] [WHERE [property ] [operator ] [value ]] [SHOW [property ]] [/option ...] For bindery servers, use [property group ] instead of [property ] |
Print Queue information |
NLIST queue=[queue ] [WHERE [property ] [operator ] [value ]] [SHOW [property ]] [/option ...] |
Volume information |
NLIST volume=[volume ] [WHERE [property ] [operator ] [value ]] [SHOW [property ]] [/option ...] |
Object information |
NLIST [class type ] [=object name ] [[WHERE name [operator ] [value 1] | WHERE object ] [operator ] [value 2]] [/option ...] |
Bindery object information |
NLIST /OT [=value] [WHERE name [operator ] [value 1] | WHERE object ] [operator ] [value 2]] [/option ...] |
Examples
Users
- To list all users whose password length is less than 5, type
NLIST USER WHERE PASSWORD MINIMUM LENGTH LT 5
- To list all users whose accounts will expire by June 30, 1998, type
NLIST USER WHERE ACCOUNT EXPIRATION LE 06-30-98
- To list all users who are members of group MANAGERS, type
NLIST USER WHERE GROUP MEMBERSHIP = MANAGERS
- To list all users logged in, type
NLIST USER /A
- To list all users who have supervisor equivalence, type
NLIST USER WHERE SECURITY EQUAL TO = SUPERVISOR
- To list all properties of user CINDY, type
NLIST USER=CINDY /D
- To list all users managed by JOE (bindery users only), type
NLIST USER WHERE MANAGERS=JOE
- To list users logged in to the database, type
NLIST USER /A /S
- To list properties of users in the current context, type
NLIST USER /D
- To list the login script of every user who has a login script in all contexts, type
NLIST USER SHOW LOGIN SCRIPT /S
- To list users whose telephone numbers begin with 4 (search all subordinate containers), type
NLIST USER WHERE TELEPHONE NUMBER = 4* /S
- To list users at a context, type
NLIST USER /CO <context >
- To list telephone numbers of all users in the current context, type
NLIST USER SHOW TELEPHONE NUMBER
Servers
- To list servers running NetWare 4.2 , type
NLIST SERVER WHERE VERSION = NOVELL NetWare 4.2 [DS]
NOTE: If you don't know the version number of a server, use the SHOW option. In this case, you can use NLIST SERVER SHOW VERSION.
- To list the network address of server ACCT (search all subordinate containers), type
NLIST SERVER=ACCT SHOW NETWORK ADDRESS /S
- For bindery servers, type,
NLIST SERVER=ACCT SHOW ATTACHMENT INFORMATION
- To list servers in the current context, type
NLIST SERVER
- To search for servers in the Directory tree, type
NLIST SERVER /S
- To see if server ACCT is up, type
NLIST SERVER=ACCT /A
- To list servers whose name begins with L, type
NLIST SERVER = L*
Groups
- To list members of group TEMPORARY, type
NLIST GROUP=TEMPORARY SHOW MEMBERS
- To list groups with MSMITH as a member, type
NLIST GROUP WHERE MEMBER EQ MSMITH
- To list the owner of group RECORDS, type
NLIST GROUP=RECORDS SHOW OWNER
- To list all information about group RECORDS (bindery servers only), type
NLIST GROUP=RECORDS SHOW MISC
Printers
- To list operators for printer P1, type
NLIST PRINTER=Q1 SHOW OPERATOR
- To list users for printer P1, type
NLIST PRINTER=Q1 SHOW USER
- To list printers whose name begins with P, type
NLIST PRINTER WHERE NAME = P*
- To list printers in the current context and below, type
NLIST PRINTER /S
Print Queues (Bindery Servers)
- To list operators for print queue Q1, type
NLIST QUEUE=Q1 SHOW OPERATORS
- To list users for print queue Q1, type
NLIST QUEUE=Q1 SHOW USERS
- To list print queue names, type
NLIST QUEUE /N
Volumes
- To list host servers where all volumes beginning with A reside, type
NLIST VOLUME=A* SHOW HOST SERVER
- To list the bindery server where volume VOL1: resides, type
NLIST VOLUME=VOL1 SHOW SERVER
- To list the server running Directory Services where volume VOL1 resides, type
NLIST VOLUME=VOL1 SHOW HOST SERVER
Objects
- To list objects named MYSERVER, type
NLIST * WHERE NAME = MYSERVER
- To list objects in the current context, type
NLIST *
Additional Information
Previous | Next