CustomerUser::LDAP::CustomerSearch][363] Timelimit exceeded

Allgemein Fragen, deutsche News, Ankündigungen & Events zum OTRS
Post Reply
asxo
Znuny expert
Posts: 187
Joined: 28 Apr 2009, 11:35
Znuny Version: 2.3.4

CustomerUser::LDAP::CustomerSearch][363] Timelimit exceeded

Post by asxo »

Hallo zusammen,


habe folgende LDAP Anbindung bei uns implementiert - aber bekomme trotzdem folgende Fehlermeldung:

------------------

[Error][Kernel::System::CustomerUser::LDAP::CustomerSearch][363] Timelimit exceeded

-----------------

Jemand eine Idee wo der Fehler ist?

#START LDAP Auth.

# Customer Authentifizirung via LDAP
# ---------------------------------------------------- #
$Self->{'Customer::AuthModule'} = 'Kernel::System::CustomerAuth::LDAP';
$Self->{'Customer::AuthModule::LDAP::Host'} = 'w3duibodc01.ger.win.int.kn';
$Self->{'Customer::AuthModule::LDAP::BaseDN'} = 'DC=ger,DC=win,DC=int,DC=kn';
$Self->{'Customer::AuthModule::LDAP::UID'} = 'sAMAccountName';
#$Self->{'Customer::AuthModule::LDAP::GroupDN'} = 'cn=Dui_BO_All_GG,OU=1Gruppen,OU=West,OU=1Client,DC=ger,DC=win,DC=int,DC=kn';
#$Self->{'Customer::AuthModule::LDAP::AccessAttr'} = 'member';
$Self->{'Customer::AuthModule::LDAP::SearchUserDN'} = 'cn=dui.rt_account, OU=1ServiceAccounts,OU=West,OU=1Client,DC=ger,DC=win,DC=int,DC=kn';
$Self->{'Customer::AuthModule::LDAP::SearchUserPw'} = 'xxxxx';

#CustomerUser
# (customer user ldap backend and settings)
$Self->{CustomerUser} = {
Name => 'Datenbank',
Module => 'Kernel::System::CustomerUser::LDAP',
Params => {
# ldap host
Host => 'w3duibodc01.ger.win.int.kn',
# ldap base dn
BaseDN => 'DC=ger,DC=win,DC=int,DC=kn',
# search scope (one|sub)
SSCOPE => 'sub',
# The following is valid but would only be necessary if the
# anonymous user does NOT have permission to read from the LDAP tree
UserDN => 'cn=dui.rt_useraccount, OU=1ServiceAccounts,OU=West,OU=1Client,DC=ger,DC=win,DC=int,DC=kn',
UserPw => 'xxxxx',
# in case you want to add always one filter to each ldap query, use
# this option. e. g. AlwaysFilter => '(mail=*)' or AlwaysFilter => '(objectclass=user)'
AlwaysFilter => '',
# if your frontend is e. g. iso-8859-1 and the charset of your
# ldap server is utf-8, use this options (if not, ignore it)
SourceCharset => 'utf-8',
DestCharset => 'iso-8859-1',
# die if backend can't work, e. g. can't connect to server
Die => 1,
# Net::LDAP new params (if needed - for more info see perldoc Net::LDAP)
Params => {
port => 389,
timeout => 120,
async => 0,
version => 3,
},
},
# customer uniq id
CustomerKey => 'sAMAccountName',
# customer #
CustomerID => 'sAMAccountName',
CustomerUserListFields => ['cn', 'mail'],
CustomerUserSearchFields => ['uid', 'cn', 'mail'],
CustomerUserSearchPrefix => '',
CustomerUserSearchSuffix => '*',
CustomerUserSearchListLimit => 1000,
CustomerUserPostMasterSearchFields => ['mail'],
CustomerUserNameFields => ['givenname', 'sn'],
# show now own tickets in customer panel, CompanyTickets
CustomerUserExcludePrimaryCustomerID => 0,
# add a ldap filter for valid users (expert setting)
# CustomerUserValidFilter => '(!(description=gesperrt))',
# admin can't change customer preferences
AdminSetPreferences => 0,
# cache time to life in sec. - cache any ldap queris
CacheTTL => 0,
Map => [
# note: Login, Email and CustomerID needed!
# var, frontend, storage, shown (1=always,2=lite), required, storage-type, http-link, readonly
[ 'UserSalutation', 'Title', 'title', 1, 0, 'var', '', 0 ],
[ 'UserFirstname', 'Firstname', 'givenname', 1, 1, 'var', '', 0 ],
[ 'UserLastname', 'Lastname', 'sn', 1, 1, 'var', '', 0 ],
[ 'UserLogin', 'Username', 'sAMAccountName', 1, 1, 'var', '', 0 ],
[ 'UserEmail', 'Email', 'mail', 1, 1, 'var', '', 0 ],
[ 'UserCustomerID', 'CustomerID', 'mail', 0, 1, 'var', '', 0 ],
# [ 'UserCustomerIDs', 'CustomerIDs', 'second_customer_ids', 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 ],
],
};
#END LDAP Auth.
OTRS 2.3.4 /OTRS 3.0.11
Updateerfahrung
Win 2003 / Win 2008 R2
jojo
Znuny guru
Posts: 15019
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: CustomerUser::LDAP::CustomerSearch][363] Timelimit excee

Post by jojo »

was ist denn das Sizelimit auf dem LDAP Server?
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
asxo
Znuny expert
Posts: 187
Joined: 28 Apr 2009, 11:35
Znuny Version: 2.3.4

Re: CustomerUser::LDAP::CustomerSearch][363] Timelimit excee

Post by asxo »

Ich habe jetzt die OU noch weiter eingegrenz, so dass von 6000 möglichen Usern nur noch knapp 1000 in Frage kommen - das klappt schonmal ganz gut und die Suchergebnisse werden schnell angezeigt.

Aber; wo kann ich das auf dem LDAP Server prüfen?


Nochwas, die Suchfunktion klappt nur beim ERSTEN Email Account, sobald ich mit ; einen zweiten suche - wird dieser nicht mehr über LDAP gesucht?!
Fehler?



thks
asxo
OTRS 2.3.4 /OTRS 3.0.11
Updateerfahrung
Win 2003 / Win 2008 R2
asxo
Znuny expert
Posts: 187
Joined: 28 Apr 2009, 11:35
Znuny Version: 2.3.4

Re: CustomerUser::LDAP::CustomerSearch][363] Timelimit excee

Post by asxo »

..............auch eine Suche bei den Fehlern Cc / Bcc funktioniert nicht :/
OTRS 2.3.4 /OTRS 3.0.11
Updateerfahrung
Win 2003 / Win 2008 R2
jojo
Znuny guru
Posts: 15019
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: CustomerUser::LDAP::CustomerSearch][363] Timelimit excee

Post by jojo »

pro feld kann nur ein Account hinzugefügt werden, das ist so korrekt. Eine Suche für CC und BCC erreichst Du über den Link Addressbuch.

Ab 3.1.x dann auch direkt in der Oberfläche per Ajax
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
Post Reply