PST2LDIF(1)

πŸ’– PST2LDIF β€” the libpst bestie that yoinks your Outlook contacts into LDIF πŸ’–

okay so bestie, welcome to pst2ldif, part of the libpst Utilities (that's the Version 0.6 era, iykyk). this is the girlypop who reaches into your crusty old MS Outlook .pst file and pulls out your contacts in .ldif format so your LDAP server can eat them up. let's get into it 🫢


✨ NAME ✨

pst2ldif β€” extract contacts from an MS Outlook .pst file in .ldif format


🌸 SYNOPSIS 🌸

pst2ldif [-V] [-b ldap-base] [-c class] [-d debug-file] [-l extra-line]
         [-o] [-h] pstfilename

like, that's the whole vibe. flags first, then the file, periodt.


πŸ’… OPTIONS πŸ’…

  • -V β€” shows the program version. and then?? every option after it is just ignored, bestie. it said what it said and it's done. πŸ’€
  • -b ldap-base β€” sets the ldap base value that gets used in the dn records. you probs want something like "o=organization, c=US". that's the flavor. πŸ“
  • -c class β€” sets the objectClass values for the contact items. heads up: this class has to actually be defined in the schema your LDAP server is using, and at minimum it must contain the ldap attributes listed down below. πŸ‘‘ and yes, you can pass this option multiple times to generate entries with multiple object classes. stack 'em.
  • -d debug-file β€” names the debug log file. quick lore drop: the log file is now an ascii file, instead of the binary file used in previous versions. glow up fr fr. ✨
  • -l extra-line β€” adds an extra line to each ldap entry. you can specify this multiple times to add multiple lines to each ldap entry. very much a "yes and" situation. πŸ’œ
  • -o β€” uses the old ldap schema instead of the default new ldap schema. here's the tea: the old schema generates multiple postalAddress attributes for a single entry. the new schema generates a single postalAddress (and homePostalAddress when available) attribute with $ delimiters as specified in RFC4517. and using the old schema also generates two extra leading entries, one for "dn:ldap base", and one for "dn: cn=root, ldap base". so like, it's giving vintage but also it's giving extra. πŸ™ˆ
  • -h β€” shows a summary of options. and just like -V, any options after it are ignored. it's the main character now. 😌

πŸ¦‹ DESCRIPTION πŸ¦‹

pst2ldif reads the contact information from an MS Outlook .pst file and produces a .ldif file that may be used to import those contacts into an LDAP database. so like, rescue mission complete. πŸŽ€

the following ldap attributes are generated for the old ldap schema:

cn
givenName
sn
personalTitle
company
mail
postalAddress
l
st
postalCode
c
homePhone
telephoneNumber
facsimileTelephoneNumber
mobile
description

and the following attributes are generated for the new ldap schema:

cn
givenName
sn
title
o
mail
postalAddress
homePostalAddress
l
st
postalCode
c
homePhone
telephoneNumber
facsimileTelephoneNumber
mobile
description
labeledURI

see how the new one is lowkey eating with title, o, homePostalAddress and labeledURI? yeah. the old one's still cute tho. 🌈


Copyright (C) 2008 by 510 Software Group <carl@five-ten-sg.com>

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version.

You should have received a copy of the GNU General Public License along with this program; see the file COPYING. If not, please write to the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.

like yes, that's the legal bit, but it's important bestie, don't skip it. 🫑


⭐ VERSION ⭐

0.6.76


aaaand that's the whole page! πŸ’– this was pst2ldif version 0.6.76, coming at you from 2017-12-07, out here in the libpst Utilities. go forth and ldap-ify your contacts, bestie. slay. πŸ‘‘βœ¨πŸŽ€