
Hallo, ich habe das Script zur Abspeicherung der Customerdaten in einer DB-Tabelle angepasst und erhalte eine Fehlermeldung bei der Ausführung. Leider habe ich hier keine Idee mehr, was falsch sein könnte. Fehler : syntax error at sync-ldap2db.pl line 66, near "my " Global symbol "%LDAPParams" requires explicit package name at sync-ldap2db.pl line 66, <DATA> line 275. Global symbol "%LDAPParams" requires explicit package name at sync-ldap2db.pl line 82, <DATA> line 275. Execution of sync-ldap2db.pl aborted due to compilation errors. Der Quelltext sieht in diesem Berreich so aus : 65 my $LDAPHost = 'xx.xx.xx.xx' 66 my %LDAPParams = (port => 389, 67 timeout => 120, 68 async => 0, 69 version => 3,); 70 my $LDAPBaseDN = 'ou=Telefonliste,ou=Muenster,dc=alexianer,dc=dc'; 71 my $LDAPBindDN = 'otrs'; 72 my $LDAPBindPW = 'xxxxxxxxxxx'; 73 my $LDAPScope = 'sub'; 74 my $LDAPCharset = 'iso-8859-1'; 75 my $LDAPFilter = ''; 76 #my $LDAPFilter = '(ObjectClass=*)'; 77 78 my $DBCharset = 'utf-8'; 79 my $DBTable = 'user_aktuell'; Was ist falsch? Rüdiger Wanke