Troubles with LDAP - sizelimit exceeded

Moderator: crythias

Locked
aranel
Znuny newbie
Posts: 1
Joined: 10 Feb 2011, 12:37
Znuny Version: 3.0.5

Troubles with LDAP - sizelimit exceeded

Post by aranel »

Hi all.
I've trying to connect OTRS with Win2003 AD. My config (copied from manual):

Code: Select all

$Self->{CustomerUser} = {
    Name => 'LDAP Data Source',
    Module => 'Kernel::System::CustomerUser::LDAP',
    Params => {
        Host => '192.168.1.254',
        BaseDN => 'dc=td,dc=pmz,dc=com,dc=ua',
        SSCOPE => 'sub',
        UID => 'sAMAccountName',
        UserDN => 'cn=tduser,dc=td,dc=pmz,dc=com,dc=ua',
        UserPw => 'tduser1!',
        AlwaysFilter => '',
            Params => {
                port => 389,
                timeout => 120,
                async => 0,
                version => 3,
            },
        Die => 1,
        sizelimit => 0,

    },
    CustomerKey => 'uid',
    CustomerID => 'mail',
    CustomerUserListFields => ['cn', 'mail'],
    CustomerUserSearchFields => ['uid', 'cn', 'mail'],
    CustomerUserSearchPrefix => '',
    CustomerUserSearchSuffix => '*',
    CustomerUserSearchListLimit => 250,
    CustomerUserPostMasterSearchFields => ['mail'],
    CustomerUserNameFields => ['givenname', 'sn'],
    CustomerUserExcludePrimaryCustomerID => 0,
    AdminSetPreferences => 0,
    Map => [
        [ 'UserFirstname',  'Firstname',  'givenname',       1, 1, 'var', '', 0 ],
        [ 'UserLastname',   'Lastname',   'sn',              1, 1, 'var', '', 0 ],
        [ 'UserLogin',      'Username',   'uid',             1, 1, 'var', '', 0 ],
        [ 'UserEmail',      'Email',      'mail',            1, 1, 'var', '', 0 ],
        [ 'UserCustomerID', 'CustomerID', 'mail',            0, 1, 'var', '', 0 ],
    ],
};
    $Self->{AuthSyncModule} = 'Kernel::System::Auth::Sync::LDAP';
    $Self->{'AuthSyncModule::LDAP::Host'} = 'servertd.pmz.com.ua';
    $Self->{'AuthSyncModule::LDAP::BaseDN'} = 'dc=td,dc=pmz,dc=com,dc=ua';
    $Self->{'AuthSyncModule::LDAP::UID'} = 'sAMAccountName';
    $Self->{'AuthSyncModule::LDAP::SearchUserDN'} = 'cn=tduser,dn=td,dn=pmz,dc=com,dn=ua';
    $Self->{'AuthSyncModule::LDAP::SearchUserPw'} = 'tduser1!';
When i select "Customers" in web-interface, i get "No data found" in customers list. In logs:

Code: Select all

Feb 10 13:26:48 mailserver OTRS-CGI-10[27615]: [Error][Kernel::System::CustomerUser::LDAP::CustomerSearch][Line:358]: Sizelimit exceeded
After clicking "Add customer" and flling all fields, i get

Code: Select all

Feb 10 13:42:34 mailserver OTRS-CGI-10[28732]: [Error][Kernel::System::CustomerUser::LDAP::CustomerUserAdd][Line:657]: Not supported for this module!
Any ideas?
Locked