nsdb-convert - FedFS schema conversion utility
nsdb-convert -f /path/to/slapd.conf
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 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.
The following option is supported:
Specify the slapd.conf file serving the NSDB.
Successful completion.
An error occurred.
This example displays how to use the nsdb-convert script.
# svcadm disable svc:/network/ldap/server:openldap_24 # 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_24
See attributes(5) for descriptions of the following attributes:
|