1PST2LDIF(1) libpst Utilities - Version 0.6 PST2LDIF(1)
2
3
4
6 pst2ldif - extract contacts from a MS Outlook .pst file in .ldif format
7
9 pst2ldif [-V] [-b ldap-base] [-c class] [-d debug-file] [-l extra-line]
10 [-o] [-h] pstfilename
11
13 -V
14 Show program version. Subsequent options are then ignored.
15
16 -b ldap-base
17 Sets the ldap base value used in the dn records. You probably want
18 to use something like "o=organization, c=US".
19
20 -c class
21 Sets the objectClass values for the contact items. This class needs
22 to be defined in the schema used by your LDAP server, and at a
23 minimum it must contain the ldap attributes given below. This
24 option may be specified multiple times to generate entries with
25 multiple object classes.
26
27 -d debug-file
28 Specify name of debug log file. The log file is now an ascii file,
29 instead of the binary file used in previous versions.
30
31 -l extra-line
32 Specify an extra line to be added to each ldap entry. This option
33 may be specified multiple times to add multiple lines to each ldap
34 entry.
35
36 -o
37 Use the old ldap schema, rather than the default new ldap schema.
38 The old schema generates multiple postalAddress attributes for a
39 single entry. The new schema generates a single postalAddress (and
40 homePostalAddress when available) attribute with $ delimiters as
41 specified in RFC4517. Using the old schema also generates two extra
42 leading entries, one for "dn:ldap base", and one for "dn: cn=root,
43 ldap base".
44
45 -h
46 Show summary of options. Subsequent options are then ignored.
47
49 pst2ldif reads the contact information from a MS Outlook .pst file and
50 produces a .ldif file that may be used to import those contacts into an
51 LDAP database. The following ldap attributes are generated for the old
52 ldap schema:
53 cn
54 givenName
55 sn
56 personalTitle
57 company
58 mail
59 postalAddress
60 l
61 st
62 postalCode
63 c
64 homePhone
65 telephoneNumber
66 facsimileTelephoneNumber
67 mobile
68 description
69 The following attributes are generated for the new ldap schema:
70 cn
71 givenName
72 sn
73 title
74 o
75 mail
76 postalAddress
77 homePostalAddress
78 l
79 st
80 postalCode
81 c
82 homePhone
83 telephoneNumber
84 facsimileTelephoneNumber
85 mobile
86 description
87 labeledURI
88
90 Copyright (C) 2008 by 510 Software Group <carl@five-ten-sg.com>
91
92 This program is free software; you can redistribute it and/or modify it
93 under the terms of the GNU General Public License as published by the
94 Free Software Foundation; either version 2, or (at your option) any
95 later version.
96
97 You should have received a copy of the GNU General Public License along
98 with this program; see the file COPYING. If not, please write to the
99 Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
100
102 0.6.72
103
104
105
106pst2ldif 0.6.72 2017-12-07 PST2LDIF(1)