![](/images/backgrounds/286198/hp-hp-ux-identity-security-software-command-reference-guide-156062101x1.png)
dn: cn=example import, cn=import, cn=tasks, cn=config
objectclass: nsDirectoryServerTask
cn: example import
nsFilename: /home/files/example.ldif
nsInstance: userRoot
As the import operation runs, the task entry will contain all the
There are some optional attributes which can be used to refine the import operation, similar to the options for the ldif2db and ldif2db.pl scripts:
•“nsIncludeSuffix”, which is analogous to the
•“nsExcludeSuffix”, analogous to the
•“nsImportChunkSize”, analogous to the
•“nsImportIndexAttrs”, which sets whether to import attribute indexes (with no corollary in the script options)
•“nsUniqueIdGenerator”, analogous to the
•“nsUniqueIdGeneratorNamespace”, analogous to the
nsFilename The nsFilename attribute contains the path and file names of the LDIF files to import into the Directory Server instance. To import multiple files, add multiple instances of this attribute. For example:
nsFilename: file1.ldif
nsFilename: file2.ldif
Parameter | Description |
Entry DN | cn=task_name, cn=import, cn=tasks, cn=config |
|
|
Valid Values | Any string |
|
|
Default Value |
|
|
|
Syntax | |
|
|
Example | nsFilename: /home/jsmith/example.ldif |
|
|
nsInstance This attribute supplies the name of the database instance into which to import the files, such as NetscapeRoot or
Parameter | Description |
Entry DN | cn=task_name, cn=import, cn=tasks, cn=config |
|
|
Valid Values | The name of a Directory Server instance (any string) |
|
|
Default Value |
|
|
|
Syntax | |
|
|
Example | nsInstance: userRoot |
|
|
2.3 Core server configuration attributes reference 101