Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP 9000 Networking: NetWare 4.1/9000 Utilities Reference > Chapter 2 Workstation Utilities

NLIST

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Index

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

Use to

class type

Specify an object type, such as USER, SERVER, PRINTER, GROUP, VOLUME, and so forth. (see "NDS and Bindery Objects and Properties"). For bindery servers (NetWare 3), replace class type with USER, SERVER, QUEUE, GROUP, or VOLUME. These are the only objects available for NetWare 3.

property search option

Specify a search option. For online help on these options, type NLIST /? R.

object name

Specify the name of the object you want information about.

/basic option

Specify an option from the "NLIST Options" table.

display option

Select how data is displayed. For online help, type NLIST /? D.

/?

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.)

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.

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 with only 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.

  • The following list shows syntax for frequently use NLIST operations. For information on the parameters in this table, see the online help.

    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 [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] [value1] | WHERE object] [operator] [value2]] [/option...]

    Bindery object information

    NLIST /OT [=value] [WHERE name [operator] [value1] | WHERE object] [operator] [value2]] [/ option...]

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 CINDY

NLIST USER=CINDY /D

List users managed by JOE (bindery users only)

NLIST USER WHERE MANAGERS=JOE

List users logged in to the database

NLIST USER /A /S

List properties of users in the current context

NLIST USER /D

List the login script of every user who has a login script in all contexts

NLIST USER SHOW "LOGIN SCRIPT" /S

List users whose telephone numbers begin with 4 (search subordinate containers)

NLIST USER WHERE "TELEPHONE NUMBER" = 4* /S

List users at a context

NLIST USER /CO <context>

List telephone numbers of users in the current context

NLIST USER SHOW "TELEPHONE NUMBER"

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 server ACCT is up

NLIST SERVER=ACCT /A

List servers whose name begins with L

NLIST SERVER = L*

Groups

To

Type

List members of group TEMPORARY

NLIST GROUP=TEMPORARY SHOW MEMBERS

List groups with MSMITH as a member

NLIST GROUP WHERE MEMBER EQ MSMITH

List the owner of group RECORDS

NLIST GROUP=RECORDS SHOW OWNER

List information about group RECORDS (bindery servers only)

NLIST GROUP=RECORDS SHOW MISC

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

Volumes

To

Type

List host servers where volumes beginning with A reside

NLIST VOLUME=A* SHOW "HOST SERVER"

List the bindery server where VOL1: resides

NLIST VOLUME=VOL1 SHOW SERVER

List the NDS server where VOL1: resides

NLIST VOLUME=VOL1 SHOW "HOST SERVER"

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

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1996 Hewlett-Packard Development Company, L.P.