[otrs-de] Problem mit 2ter Kundentabelle

Dennis Schwan dennis.schwan at leuchtturm-it.de
Mon Apr 4 12:21:57 CEST 2005


Hallo,

ich habe in der Config.pm folgendes eingefügt:

$Self->{CustomerUser1} = {
    Name => 'Intern Datenbank',
    Module => 'Kernel::System::CustomerUser::DB',
    Params => {
        Table => 'internaluser',
    {
    CustomerKey => 'login',
    CustomerID => 'customer_id',
    CustomerValid => 'valid_id',
    CustomerUserListFields => ['login', 'first_name', 'last_name',
'email'],
    CustomerUserSearchFields => ['login', 'last_name', 'customer_id'],
    CustomerUserPostMasterSearchFields => ['email'],
    CustomerUserNameFields => ['salutation', 'first_name', 'last_name'],
    Map => [
    [ 'UserSalutation', 'Salutation', 'salutation', 1, 0, 'var' ],
    [ 'UserFirstname', 'Firstname', 'first_name', 1, 1, 'var' ],
    [ 'UserLastname', 'Lastname', 'last_name', 1, 1, 'var' ],
    [ 'UserLogin', 'Login', 'login', 1, 1, 'var' ],
    [ 'UserPassword', 'Password', 'pw' ,0, 1, 'var' ],
    [ 'UserEmail', 'Email', 'email', 0, 1, 'var' ],
    [ 'UserCustomerID', 'CustomerID', 'customer_id', 0, 1, 'var' ],
    [ 'UserComment', 'Comment', 'comment', 1, 0, 'var' ],
    [ 'ValidID', 'Valid', 'valid_id', 0, 1, 'int' ],
    ],
};

Die Tabelle wurde auch in der otrs-DB angelegt. Leider bringt der Server
nur noch Serverfehler.

[Mon Apr 04 11:15:53 2005] [error] [client 192.168.242.244] syntax error
at /opt/otrs//Kernel/Config.pm line 152, near "$Self"\nCompilation
failed in require at /usr/lib/perl5/vendor_perl/5.8.3/i586-linux-thread-
multi/Apache/Reload.pm line 151.\n, referer:
http://xotrs.XXXXX.de/otrs/index.pl?Action=

Gruß Dennis