Hi,

> Anyway, if you use OTRS 1.2.2, follow the following:
> o Update Kernel/System/CustomerUser/LDAP.pm to 1.16

Ok, here is my problem number on:
in your package otrs-1.2.4-01 the version of LDAP.pm is 1.15
In your packages otrs-1.3.x the version of LDAP.pm is 1.21
Is the exact version important or is it >=1.16?
I am asking this becaus of the sencond problem, more to read
downwards...

> o Don't change Kernel/Config/Defaults.pm because it's
>   updated with every new OTRS version.
>   Learn more about the config file mechanism:
>   http://doc.otrs.org/1.2/en/html/configfile.html

That's clear.

> o Add your new CustomerUser config option to
>   Kernel/Config.pm like this one and change your options:
[...]
> Then it should work.

Unfortunately it doenst...I can see the LDAP entries, but the
UTF-8 parts are not good.
For example Jürgen is printed in the dropdown of OTRS as "Jürgen".

Here is my Config.pm part:
---cut---
# ---------------------------------------------------- #
# CustomerUser configuration                           #
# ---------------------------------------------------- #
# This is an example configuration for an LDAP auth. backend.
# (take care that Net::LDAP is installed!)
$Self->{'Customer::AuthModule'} = 'Kernel::System::CustomerAuth::LDAP';
$Self->{'Customer::AuthModule::LDAP::Host'} = 'ldap.kernzeit.loc';
$Self->{'Customer::AuthModule::LDAP::BaseDN'} = 'dc=kernzeit,dc=com';
$Self->{'Customer::AuthModule::LDAP::UID'} = 'uid';

$Self->{'Customer::AuthModule::LDAP::GroupDN'} =
'cn=customer,ou=groups,ou=nss,dc=kernzeit,dc=com';
$Self->{'Customer::AuthModule::LDAP::AccessAttr'} = 'memberUid';
$Self->{'Customer::AuthModule::LDAP::UserAttr'} = 'UID';

$Self->{'Customer::AuthModule::LDAP::SearchUserDN'} =
'dc=kernzeit,dc=com';
$Self->{'Customer::AuthModule::LDAP::SearchUserPw'} = 'ourpassword';
# CustomerUser
# (customer user ldap backend and settings)
$Self->{CustomerUser} = {
    Name => 'LDAP Backend',
    Module => 'Kernel::System::CustomerUser::LDAP',
    Params => {
        Host => 'ldap.kernzeit.loc',
        BaseDN => 'ou=ogo,dc=kernzeit,dc=com',
        SSCOPE => 'sub',
        UserDN => 'dc=kernzeit,dc=com',
        UserPw => 'ourpassword',
        SourceCharset => 'utf-8',
        DestCharset => 'iso-8859-1',
    },
    CustomerKey => 'uid',
    CustomerID => 'o',
    CustomerUserListFields => ['cn', 'o', 'mail'],
    CustomerUserSearchFields => ['uid', 'sn', 'givenName', 'cn', 'mail',
'o'],
    CustomerUserPostMasterSearchFields => ['mail'],
    CustomerUserNameFields => ['givenname', 'sn'],
    Map => [
        [ 'UserSalutation', 'Title', 'title', 1, 0, 'var' ],
        [ 'UserFirstname', 'Firstname', 'givenName', 1, 1, 'var' ],
        [ 'UserLastname', 'Lastname', 'sn', 1, 1, 'var' ],
        [ 'UserLogin', 'Login', 'uid', 1, 1, 'var' ],
        [ 'UserEmail', 'Email', 'mail', 1, 1, 'var' ],
        [ 'UserCustomerID', 'CustomerID', 'o', 0, 1, 'var' ],
        [ 'UserPhone', 'Phone', 'telephoneNumber', 1, 0, 'var' ],
        [ 'UserAddress', 'Address', 'postalAddress', 1, 0, 'var' ],
        [ 'UserComment', 'Comment', 'description', 1, 0, 'var' ],
    ],
};
---cut---

Is it a bug or am I too dumb?

Thanks,

Matthias Eichler

_______________________________________________
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