Go to main content

man pages section 8: System Administration Commands

Exit Print View

Updated: Thursday, June 13, 2019
 
 

nsdb-convert (8)

Name

nsdb-convert - FedFS schema conversion utility

Synopsis

nsdb-convert -f /path/to/slapd.conf

Description

nsdb-convert is a script which may be used to convert the contents of a Oracle Solaris 11 format FedFS NSDB to the format supported by the current Oracle Solaris release. It extracts and edits LDIF-format data from the NSDB to make it conform to the new standard IETF FedFS schema. It also edits the NSDBs slapd.conf file to use the new schema. nsdb-convert takes an optional path to the slapd.conf in use. It creates a backup of the original LDIF, the original BerkeleyDB backing store, and the original slapd.conf file.

Since nsdb-convert changes the LDAP server backing store, it is important that the slapd server is not running during conversion.

Upon upgrade from Oracle Solaris 11 to the future releases of Oracle Solaris, an NSDB can serve Oracle Solaris 11-format FedFS data to Oracle Solaris 11, and also to future Oracle Solaris NFS servers or command-line tools. Linux NFS servers and command-line tools will be unable to use the NSDB. When conversion is done to the future releases of Oracle Solaris, Linux NFS servers and command-line tools and Oracle Solaris NFS servers and command line tools will interoperate, but Oracle Solaris 11 NFS servers and command-line tools will not.

Options

The following option is supported:

–l /path/to/slapd.conf

Specifies the slapd.conf file serving the NSDB

Exit Status

0

Successful completion

>0

An error occurred

Examples

Example 1 Using nsdb-convert

This example displays how to use the nsdb-convert script.

# svcadm disable svc:/network/ldap/server:openldap
# nsdb-convert -f /etc/openldap/slapd.conf
Backup directory with original LDAP data in /tmp/nsdb_preconversion
Conversion complete.
# svcadm enable svc:/network/ldap/server:openldap

Attributes

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

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

See Also

fedfs(7), nfsref(8), nsdb-list(8), nsdbparams(8)