Belowe U geve to you a working configuration. Serwer names and password ware changed. I do not belive it will be any help to you unfortunatly becouse you still have to change most of it. My advice is to first try to do the AuthModule alone create agents and test if they can login then try the customers as there is more configuration.

Good luck
Adam

Self->{'AuthModule'} = 'Kernel::System::Auth::LDAP';
       $Self->{'AuthModule::LDAP::Host'} = 'ldap_serwer.example.com';
       $Self->{'AuthModule::LDAP::BaseDN'} = 'dc=example,dc=com';
       $Self->{'AuthModule::LDAP::UID'} = 'mail';
$Self->{'AuthModule::LDAP::SearchUserDN'} = 'cn=ldap_user,dc=example,dc=com';
       $Self->{'AuthModule::LDAP::SearchUserPw'} = '*****';
       $Self->{'AuthModule::LDAP::AlwaysFilter'} = '(Group=*)';
       $Self->{'AuthModule::LDAP::Params'} = {
               port => 389,
               timeout => 120,
               async => 0,
               version => 3,
       };
$Self->{Customer::AuthModule} = 'Kernel::System::CustomerAuth::LDAP'; $Self->{Customer::AuthModule::LDAP::Host} = 'ldap_serwer.example.com';
       $Self->{Customer::AuthModule::LDAP::BaseDN} = 'dc=example,dc=com';
       $Self->{Customer::AuthModule::LDAP::UID} = 'mail';
$Self->{Customer::AuthModule::LDAP::SearchUserDN} = 'cn=ldap_user,dc=,dc=edu,dc=pl';
       $Self->{Customer::AuthModule::LDAP::SearchUserPw} = '****';
       $Self->{Customer::AuthModule::LDAP::Params} = {
               port => 389,
               timeout => 120,
               async => 0,
               version => 3,
       };
       $Self->{CustomerUser} = {
               Name => 'LDAP Backend',
               Module => 'Kernel::System::CustomerUser::LDAP',
               Params => {
                       Host => 'ldap_serwer.example.com',
                       BaseDN => 'dc=example,dc=com',
                       SSCOPE => 'sub',
                       UserDN => 'cn=ldap_user,dc=example,dc=com',
                       UserPw => '****',
                       AlwaysFilter => '',
                       SourceCharset => 'utf-8',
                       DestCharset => 'iso-8859-2',
                       Params => {
                               port => 389,
                               timeout => 120,
                               async => 0,
                               version => 3,
                       },
               },
               CustomerKey => 'mail',
               CustomerID => 'mail',
               CustomerUserListFields => ['cn', 'mail'],
           CustomerUserSearchFields => ['cn', 'mail'],
           CustomerUserSearchPrefix => '*',
           CustomerUserSearchSuffix => '*',
           CustomerUserSearchListLimit => 20,
           CustomerUserPostMasterSearchFields => ['mail'],
           CustomerUserNameFields => ['givenname', 'sn'],
           AdminSetPreferences => 0,
           Map => [
               [ 'UserSalutation', 'Title', 'title', 1, 0, 'var', '', 0 ],
[ 'UserFirstname', 'Firstname', 'givenname', 1, 1, 'var', '', 0],
               [ 'UserLastname', 'Lastname', 'sn', 1, 1, 'var', '', 0 ],
               [ 'UserLogin', 'Username', 'mail', 1, 1, 'var', '', 0 ],
               [ 'UserEmail', 'Email', 'mail', 1, 1, 'var', '', 0 ],
[ 'UserCustomerID', 'CustomerID', 'mail', 0, 1, 'var', '', 0 ], [ 'UserCustomerIDs', 'CustomerIDs', 'Pesel', 1, 0, 'var', '',0 ], [ 'UserPhone', 'Phone', 'telephonenumber', 1, 0, 'var', '', 0 ], [ 'UserAddress', 'Address', 'postaladdress', 1, 0, 'var', '', 0 ], [ 'UserComment', 'Comment', 'description', 1, 0, 'var', '', 0 ],
       ],
       };
       $Self->{UserSyncLDAPMap} = {
               Firstname => 'Pesel',
               Firstname => 'givenName',
               Lastname => 'sn',
               Email => 'mail',
       };
---------------------------------------------------------------------
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

NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW!
http://www.otrs.com/en/support/enterprise-subscription/

Reply via email to