Package provided by Ola Eriksson <ola@mreriksson.net> via PR pkg/19598. Perl program to convert Palm Address Book (AddressDB.pdb) files to .ldif files, which can be easily imported into an LDAP directory with the following command: cat <file.ldif> | ldapadd -w <passwd> -D <binddn> or even more easy: pdb2ldif --pdb=<address.pdb> | ldapadd -w <passwd> -D <binddn> The program takes --pdb= as the PDB file and directs output to <STDOUT>. If you're very crafty, you can probably do a lot more with unix pipes, but this should be acceptable for most people.
10 lines
191 B
Text
10 lines
191 B
Text
$NetBSD: patch-aa,v 1.1.1.1 2003/09/17 18:58:36 xtraeme Exp $
|
|
|
|
--- pdb2ldif.orig Fri Apr 20 21:05:21 2001
|
|
+++ pdb2ldif
|
|
@@ -1,4 +1,4 @@
|
|
-#!/usr/bin/perl
|
|
+#!/usr/pkg/bin/perl
|
|
#
|
|
# pdb2ldif
|
|
#
|