Required Parameter Group:
|
The Export LDIF File (QgldExportLdif) API exports the directory server contents to a Lightweight Directory Access Protocol Data Interchange Format (LDIF) file.
or provide the correct administrator DN and password.
Input data required to identify the LDIF file and the administrator name and password. The content and format of this structure are determined by the format name. See Format of Input Data for a description of these formats.
The length of the input data structure.
The content and format of the input data. The possible format name follows:
See Format of Input Data for a description of this format.
The structure in which to return error information. For the format of the structure, see Error Code Parameter.
For details about the format of the input data, see the following section. For details about the fields in each format, see Field Descriptions.
| Offset | Type | Field | |
|---|---|---|---|
| Dec | Hex | ||
| 0 | 0 | BINARY(4) | Offset to LDIF file |
| 4 | 4 | BINARY(4) | Length of LDIF file |
| 8 | 8 | BINARY(4) | Offset to administrator DN |
| 12 | C | BINARY(4) | Length of administrator DN |
| 16 | 10 | BINARY(4) | Offset to administrator password |
| 20 | 14 | BINARY(4) | Length of administrator password |
| 24 | 18 | BINARY(4) | Offset to subtree DN |
| 28 | 1C | BINARY(4) | Length of subtree DN |
|
|
| CHAR(*) | LDIF file |
|
|
| CHAR(*) | Administrator DN |
|
|
| CHAR(*) | Administrator password |
|
|
| CHAR(*) | Subtree DN |
Administrator DN. The distinguished name of the server administrator. This field is specified in UCS-2 (CCSID 13488).
Administrator password. The password for the server administrator. This field is specified in UCS-2 (CCSID 13488).
LDIF file. The integrated file system path name of the LDIF file to be used. This field is specified in UCS-2 (CCSID 13488).
Length of administrator DN. The length, in Unicode characters, of the administrator DN field.
Length of administrator password. The length, in Unicode characters, of the administrator password field.
Length of LDIF file. The length, in Unicode characters, of the LDIF file field.
Length of subtree DN. The length, in Unicode characters, of the subtree DN field.
Offset to administrator DN. The offset, in bytes, from the start of the input data to the administrator DN field.
Offset to administrator password. The offset, in bytes, from the start of the input data to the administrator password field.
Offset to LDIF file. The offset, in bytes, from the start of the input data to the LDIF file field.
Offset to subtree DN. The offset, in bytes, from the start of the input data to the subtree DN field.
Subtree DN. The distinguished name (DN) of the root of a directory subtree to export to the LDIF file. This object, and all descendant objects will be exported. To export the entire directory tree, specify 0 (zero) for the offset to subtree DN and length of subtree DN fields. This field is specified in UCS-2 (CCSID 13488).
|
Top
| LDAP APIs List APIs by category |
| [Information Center Home Page | Feedback ] | [Legal | AS/400 Glossary] |