System Administration Guide: Naming and Directory Services (FNS and NIS+)

Syntax for Objects and Table Entries

Objects and table entries use different syntaxes.

For objects


objectname

For table entries


columnname=value],tablename

Note –

In this case, the brackets are part of the syntax.


Indexed names can specify more than one column-value pair. If so, the operation applies only to the entries that match all the column-value pairs. The more column-value pairs you provide, the more stringent the search.

For example:

Table 15–11 Object and Table Entry—Examples

Type 

Example 

Object 

hosts.org_dir.sales.doc.com.

Table entry 

`[uid=33555],passwd.org_dir.Eng.doc.com.'

Two-value table entry 

`[name=sales,gid=2],group.org_dir.doc.com.'

Columns use a special version of indexed names. Because you can only work on columns with the nistbladm command, seeThe nistbladm Command for more information.