On Tuesday, February 03, 2004 10:16 AM
Herbert Stocker <[EMAIL PROTECTED]> wrote:
> After adding my old settings from Otrs 1.1.3 for LDAP to my new 1.2
> Beta 2
> Version I get an error when trying to go to the login (index.pl) page
> Can't locate object method "new" via package
> "Kernel::System::CustomerUser::LDAP" at
> C:/otrs/otrs//Kernel/System/CustomerUser.pm line 47.

Short: Try to remove every comment from your section as shown below.

    $Self->{CustomerUser} = {
        Module => 'Kernel::System::CustomerUser::LDAP',
        Params => {
            Host => 'XXXXX',
            BaseDN => 'ou=people,dc=xxx,dc=xyz,dc=com',
            SSCOPE => 'sub',
            UserDN => 'cn=Manager',
            UserPw => 'ttttttt',
        },
        CustomerKey => 'uid',
        CustomerID => 'mail',
        CustomerUserListFields => ['uid', 'cn', 'mail'],
        CustomerUserSearchFields => ['uid', 'cn', 'mail'],
        CustomerUserPostMasterSearchFields => ['mail'],
        CustomerUserNameFields => ['givenname', 'sn'],
        Map => [
            [ 'UserLastname', 'Lastname', 'cn', 1, 1, 'var' ],
            [ 'UserLogin', 'Login', 'uid', 1, 1, 'var' ],
            [ 'UserEmail', 'Email', 'mail', 1, 1, 'var' ],
            [ 'UserCustomerID', 'CustomerID', 'mail', 0, 1, 'var' ],
            [ 'UserAddress', 'Address', 'postaladdress', 1, 0, 'var' ],
        ],
    };


Long: I believe you have an additional line break coming from
continuation of long commentary lines. This renders $Self->{Customer}
useless for the rest of the application, thus resulting in the methods
of module the LDAP module not being found.

hth,

Robert Kehl

--
((otrs.de)) :: OTRS GmbH :: Norsk-Data-Str. 1 :: 61352 Bad Homburg
         http://www.otrs.de/ :: Tel. +49 (0)6172 4832388

_______________________________________________
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
Support oder Consulting für Ihr OTRS System?
=> http://www.otrs.de/

Reply via email to