syntax errors reported when using LdapImport with Fedora Directory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm having trouble importing the flat files on our server into ldap after
installing 1.0.1 of Fedora Directory.  I downloaded and extracted LdapImport. 
I also downloaded Delta.pm and placed it in the same directory as LdapImport. 
Here is what I got back after I executed LdapImport (I've also included a copy
of the "offending lines" below the console output.

thanks for the help!
steve

 sh LdapImport.pl
LdapImport.pl: line 32: use: command not found
LdapImport.pl: line 33: use: command not found
LdapImport.pl: line 34: use: command not found
LdapImport.pl: line 35: use: command not found
LdapImport.pl: line 36: use: command not found
LdapImport.pl: line 37: use: command not found
LdapImport.pl: line 38: use: command not found
LdapImport.pl: line 39: use: command not found
LdapImport.pl: line 40: use: command not found
LdapImport.pl: line 41: use: command not found
LdapImport.pl: line 42: use: command not found
LdapImport.pl: line 43: use: command not found
LdapImport.pl: line 45: syntax error near unexpected token `('
LdapImport.pl: line 45: `use vars qw($VERSION);'

lines 32 to 45 from LdapImport.pl:

use strict;
use warnings;
use LdapConnectionManager;
use LdapSchemaTools;
use LdapEntryTools;
use LdapMigration;
use Net::LDAP;
use Net::LDAP::LDIF;
use Net::LDAP::Search;
use Net::LDAP::Entry;
use Data::Dumper;
use debug;

use vars qw($VERSION);
$VERSION=sprintf("%d.%02d", q$Revision: 1.21 $ =~ /(\d+)\.(\d+)/);


--
Fedora-directory-users mailing list
Fedora-directory-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-directory-users

[Index of Archives]     [Fedora Directory Users]     [Fedora Directory Devel]     [Fedora Announce]     [Fedora Legacy Announce]     [Kernel]     [Fedora Legacy]     [Share Photos]     [Fedora Desktop]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite News]

  Powered by Linux