1 |
joko |
1.1 |
#!/usr/bin/perl |
2 |
|
|
|
3 |
joko |
1.2 |
## -------------------------------------------------------------------------------- |
4 |
joko |
1.3 |
## $Id: feed_contacts.pl,v 1.2 2003/01/20 21:20:35 joko Exp $ |
5 |
joko |
1.2 |
## -------------------------------------------------------------------------------- |
6 |
joko |
1.3 |
## $Log: feed_contacts.pl,v $ |
7 |
|
|
## Revision 1.2 2003/01/20 21:20:35 joko |
8 |
|
|
## - now doesn't use a hardcoded $libpath any more |
9 |
|
|
## |
10 |
joko |
1.2 |
## -------------------------------------------------------------------------------- |
11 |
|
|
|
12 |
|
|
|
13 |
joko |
1.1 |
use strict; |
14 |
|
|
use warnings; |
15 |
|
|
|
16 |
joko |
1.3 |
use lib qw( ../libs ); |
17 |
|
|
use org::netfrag::preambel; |
18 |
joko |
1.1 |
|
19 |
joko |
1.2 |
|
20 |
|
|
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - main |
21 |
joko |
1.1 |
|
22 |
|
|
use org::netfrag::shortcuts qw( run_cmd ); |
23 |
|
|
|
24 |
|
|
my $hr = "-" x 40; |
25 |
|
|
|
26 |
|
|
print $hr, "\n"; |
27 |
|
|
print " Outlook vs. LDAP", "\n"; |
28 |
|
|
print $hr, "\n"; |
29 |
|
|
#run_cmd('feed.pl --action=save --source=outlook --source-type=ContactItem --source-node=test.test --target=ldap --target-node=Addressbooks --mapping-module=Torus::Map::Outlook'); |
30 |
|
|
#run_cmd('feed.pl --action=save --source=outlook --source-type=ContactItem --source-node=test.test --target=ldap --target-node=Adressen --mapping-module=Torus::Map::Outlook'); |
31 |
|
|
run_cmd('feed.pl --action=save --source=outlook --source-type=ContactItem --source-node=Adressen.test --target=ldap --target-node=Adressen.test --mapping-module=Torus::Map::Outlook'); |
32 |
|
|
#run_cmd('feed.pl --action=save --source=outlook --source-type=ContactItem --source-node=test.test --target=ldap --target-node=Adressen.test --mapping-module=Torus::Map::Outlook'); |
33 |
|
|
|
34 |
|
|
print $hr, "\n"; |
35 |
|
|
print " LDAP vs. Outlook", "\n"; |
36 |
|
|
print $hr, "\n"; |
37 |
|
|
print " ... to be implemented!!!", "\n"; |
38 |
|
|
|
39 |
|
|
1; |