More info. I have upgraded to 2.0.4 and the error changes slightly to the follwing...

Can't locate object method "new" via package "Kernel::System::CustomerUser::LDAP" at /opt/otrs//Kernel/System/ CustomerUser.pm line 80, <PRODUCT> line 4.

I'm flummoxed here. Any clues or pointers would be appreciated. I really don't wana start over from scratch.

On May 2, 2006, at 9:46 AM, James Dehnert wrote:

I believe that this has come up before, but I am seeing the following error after upgrading my Perl dist from 5.8.6 to 5.8.8

Can't locate object method "new" via package "Kernel::System::CustomerUser::LDAP" at /opt/otrs//Kernel/System/ CustomerUser.pm line 42, <PRODUCT> line 8.

All of the authentication was working before the upgrade, so I'm not sure what may have broken here. FYI I'm running otrs 2.0.2. and I am authenticating to AD.

All the modules are installed as per bin/otrs.checkModules.

Here is the LDAP part of Config.pm...

# CustomerControlPanel Settings
    $Self->{CustomerPanelOwnSelection} = {'Dispatch' => 'Dispatch'};
    # AD/LDAP
    $Self->{'AuthModule'} = 'Kernel::System::Auth::LDAP';
    $Self->{'AuthModule::LDAP::Host'} = 'ptlm-ad-4.caymas.com';
    $Self->{'AuthModule::LDAP::BaseDN'} = 'dc=Caymas,dc=com';
    $Self->{'AuthModule::LDAP::UID'} = 'sAMAccountName';
$Self->{'AuthModule::LDAP::SearchUserDN'} = 'cn=ITRS,cn=Users,dc=Caymas,dc=com';
    $Self->{'AuthModule::LDAP::SearchUserPw'} = 'XXXXXXXX';
$Self->{'Customer::AuthModule'} = 'Kernel::System::CustomerAuth::LDAP'; $Self->{'Customer::AuthModule::LDAP::Host'} = 'ptlm- ad-4.caymas.com'; $Self->{'Customer::AuthModule::LDAP::BaseDN'} = 'dc=Caymas,dc=com';
    $Self->{'Customer::AuthModule::LDAP::UID'} = 'sAMAccountName';
$Self->{'Customer::AuthModule::LDAP::SearchUserDN'} = 'cn=ITRS,cn=Users,dc=Caymas,dc=com';
    $Self->{'Customer::AuthModule::LDAP::SearchUserPw'} = 'XXXXXXXX';

    $Self->{CustomerUser} = {
    Module => 'Kernel::System::CustomerUser::LDAP',
    Params => {
      Host => 'ptlm-ad-4.caymas.com',
      BaseDN => 'cn=Users,dc=Caymas,dc=com',
      SSCOPE => 'sub',
      UserDN => 'cn=ITRS,cn=Users,dc=Caymas,dc=com',
      UserPw => 'XXXXXXXX',
    },
CustomerKey => 'sAMAccountName',
    CustomerID => 'mail',
    CustomerUserListFields => ['sAMAccountName', 'cn', 'mail'],
    CustomerUserSearchFields => ['sAMAccountName', 'cn', 'mail'],
    CustomerUserPostMasterSearchFields => ['mail'],
    CustomerUserNameFields => ['givenname', 'sn'],
    Map => [
      # note: Login, Email and CustomerID needed!
      # var, frontend, storage, shown, required, storage-type
      [ 'UserFirstname', 'Firstname', 'givenname', 1, 1, 'var' ],
      [ 'UserLastname', 'Lastname', 'sn', 1, 1, 'var' ],
      [ 'UserLogin', 'Login', 'sAMAccountName', 1, 1, 'var' ],
      [ 'UserEmail', 'Email', 'mail', 1, 1, 'var' ],
      [ 'UserCustomerID', 'CustomerID', 'mail', 0, 1, 'var' ],
    ],
  };
}


I can provide additional details if needed.

_______________________________________________
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/


_______________________________________________
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