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