The PMDF DIRSYNC/CONVERT command converts between LDIF format
and other directory formats, such as ALL-IN-1, cc:Mail, PMDF
databases, the DDS, comma-separated fields, LDAP, Microsoft
Mail, and standard LDIF. The parameters for the command specify
from which and to which format to convert, and in the case
of file-based formats, the names of the files for input or
output. Depending on the values of source and destination
parameters, some other qualifiers can be available; see Valid
PMDF DIRSYNC/CONVERT Qualifier Combinations. Note that these
qualifiers must appear after the non-LDIF parameter; thus the
general place to specify them is at the end of the command
line.
Table 2 Valid PMDF DIRSYNC/CONVERT Qualifier Combinations
Source Destination Valid qualifiers
ALL-IN-1
A1 LDIF=file- /DEBUG /NODEBUG
spec
/OPTION
LDIF=file- A1 /DEBUG /NODEBUG
spec
/OPTION
cc:Mail
CC=file-spec LDIF=file- /DEBUG /NODEBUG
spec
/DOMAIN
/FNF /NOFNF
LDIF=file- CC=file-spec /DEBUG /NODEBUG
spec
Comma-separated fields
COMMA=file- LDIF=file- /ATTRIBUTES
spec spec
/DEBUG /NODEBUG
/DN
/HEADER /NOHEADER
/SPACE
LDIF=file- COMMA=file- /ATTRIBUTES
spec spec
/DEBUG /NODEBUG
/HEADER /NOHEADER
/SPACE
Database
LDIF=file- DB /DEBUG /NODEBUG
spec
/REBUILD /NOREBUILD
DDS
DDS LDIF=file- /DEBUG /NODEBUG
spec
/SCOPE
LDIF=file- DDS /DEBUG /NODEBUG
spec
Microsoft Mail
MSMAIL=file- LDIF=file- /DEBUG /NODEBUG
spec spec
LDIF=file- MSMAIL=file- /DEBUG /NODEBUG
spec spec
LDAP or X.500
LDAP LDIF=file- /DEBUG /NODEBUG
spec
/OPTION
LDIF=file- LDAP /DEBUG /NODEBUG
spec
/OPTION
Standard LDIF
TRUELDIF=file-LDIF=file- /DEBUG /NODEBUG
spec spec
LDIF=file- TRUELDIF=file-/DEBUG /NODEBUG
spec spec
/DELTA /NODELTA
/VERBOSE
For instance, to dump an LDAP directory to an LDIF file, the
command syntax would be:
$ PMDF DIRSYNC/CONVERT LDAP LDIF=ldap.ldif/OPTION=PMDF_TABLE:sync_ldap_option.
where PMDF_TABLE:SYNC_LDAP_OPTION. is a file containing at least
the mandatory options LDAP_SERVER, LDAP_USER, LDAP_PASSWORD, and
LDAP_BASE. See the PMDF System Manager's Guide for a detailed
discussion of these options; in brief, LDAP_SERVER specifies
the (TCP/IP) name of the LDAP server and the port on which the
LDAP server runs, LDAP_USER and LDAP_PASSWORD specify the name
and password to use to bind to the LDAP server, and LDAP_BASE
specifies the location in the Directory Information Tree of the
subtree of information to be extracted.