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