手册页部分 1M: 系统管理命令

退出打印视图

更新时间: 2014 年 7 月
 
 

nsdb-update-nci(1M)

名称

nsdb-update-nci - FedFS initialization utility

用法概要

nsdb-update-nci [-l nsdb]] [-r port] [-D bind_DN] [-w bind_PW] nce

描述

The nsdb-update-nci command marks a distinguished name on an LDAP server as a container for FedFS data by adding the fedfsNsdbContainerInfo object class to the root of the naming context and setting the fedfsNcePrefixR attribute to point to the relative DN from the root of the naming context.

选项

The following options are supported:

–l nsdb

Specify the LDAP server implementing the NSDB.

–r port

Specify the port on which the LDAP server implementing the NSDB is listening.

–D bind_DN

Specify the distinguished name of a user permitted to change the NSDB information.

–w bind_PW

Specify the password for the bind DN user; use of a hyphen (-) will force prompting.

操作数

The following operand is supported.

nce

The distinguished name of the container to be used to store FedFS information on the LDAP server implementing the NSDB.

示例

示例 1 Using the Utility

The following sequence illustrates the use of nsdb-update-nci.

# nsdb-update-nci -l  localhost  -r  389  -D  cn=Manager  -w \
     cthon.org dc=cthon,dc=org adding new entry "dc=cthon,dc=org"
NCE entry created

# nsdb-nces Host: localhost:389
namingContext 'dc=cthon,dc=org' is a FedFS NCE, DIT starts at ''

退出状态

0

Successful completion.

1

An error occurred.

属性

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Availability
system/file-system/nfs
Interface Stability
Committed

另请参见

nsdb-list(1M), nsdbparams(1M), nfsref(1M), attributes(5) , fedfs(5)