[Fedora-directory-users] syntax errors reported when using LdapImport with Fedora Directory

sstrong at crwash.org sstrong at crwash.org
Fri Dec 9 19:53:30 UTC 2005


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+)/);





More information about the Fedora-directory-users mailing list