Nach Update auf 3.3.xx KEIN LDAP mehr

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

Nach Update auf 3.3.xx KEIN LDAP mehr

Post by asxo »

hallo Forum,

nach dem Update auf OTRS 3.3.4 bekomme ich diese Meldung, obwohl die Config.pm gleich ist.
[Mon Apr 14 15:37:20 2014][Error][Kernel::System::CustomerUser::LDAP::_Connect][197] First bind failed! Bad file descriptor

Was muss ich anpassen?
#START LDAP Auth.

# Customer Authentifizirung via LDAP
# ---------------------------------------------------- #
$Self->{'Customer::AuthModule'} = 'Kernel::System::CustomerAuth::LDAP';
$Self->{'Customer::AuthModule::LDAP::Host'} = 'Domaincontroller';
$Self->{'Customer::AuthModule::LDAP::BaseDN'} = 'OU=xx,DC=xx,DC=xx,DC=xx,DC=xx';
$Self->{'Customer::AuthModule::LDAP::UID'} = 'sAMAccountName';
#$Self->{'Customer::AuthModule::LDAP::GroupDN'} = 'cn=xx,OU=xx,DC=xx,DC=xx,DC=xx,DC=xx';
#$Self->{'Customer::AuthModule::LDAP::AccessAttr'} = 'member';
$Self->{'Customer::AuthModule::LDAP::SearchUserDN'} = 'cn=xx, OU=xx,OU=xx,OU=xx,DC=xx,DC=xx,DC=xx,DC=xx';
$Self->{'Customer::AuthModule::LDAP::SearchUserPw'} = 'xx';

#CustomerUser
# (customer user ldap backend and settings)
$Self->{CustomerUser} = {
Name => 'Datenbank',
Module => 'Kernel::System::CustomerUser::LDAP',
Params => {
# ldap host
Host => 'Domaincontroller',
# ldap base dn
BaseDN => 'OU=xx,DC=xx,DC=xx,DC=xx,DC=xx',
# 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=xx,OU=xx,OU=xx,OU=xx,DC=xx,DC=xx,DC=xx,DC=xx',
UserPw => 'xx',
# 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 => ['cn', 'mail'],
CustomerUserSearchPrefix => '',
CustomerUserSearchSuffix => '*',
CustomerUserSearchListLimit => 250,
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
wurzel
Znuny guru
Posts: 3273
Joined: 08 Jul 2010, 22:25
Znuny Version: x.x.x
Real Name: Florian

Re: Nach Update auf 3.3.xx KEIN LDAP mehr

Post by wurzel »

Hi,

first bind failed kannste viele Ergebnisse hier über die Suche finden. In der Regel ist das Passwort für den search user flasch.

Flo
OTRS 2025 SILVER (Prod)
OTRS 2025 auf Debian 12 (Test)
Znuny 7.x latest version testing auf Debian 12

-- Ich beantworte keine Forums-Fragen PN - No PN please

I won't answer to unfriendly users any more. A greeting and regards are just polite.
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Nach Update auf 3.3.xx KEIN LDAP mehr

Post by jojo »

Evtl. musst DU auch die PERL Pakete für ipv6 löschen, auch hier sollte die Forensuche helfen
"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: Nach Update auf 3.3.xx KEIN LDAP mehr

Post by asxo »

Hi,

bekomme dann auf der otrsserver/otrs/customer.pl Seite folgende Meldung:

Code: Select all

ERROR: OTRS-CGI-10 Perl: 5.16.3 OS: MSWin32 Time: Tue Apr 15 13:59:29 2014

 Message: First bind failed! 80090308: LdapErr: DSID-0C0903A9, comment: AcceptSecurityContext error, data 52e, v1db1

 RemoteAddress: 10.49.51.126
 RequestURI: /otrs/customer.pl?Action=CustomerTicketOverview;Subaction=MyTickets

 Traceback (3076): 
   Module: Kernel::System::CustomerUser::LDAP::_Connect (OTRS 3.3.6) Line: 197
   Module: Kernel::System::CustomerUser::LDAP::new (OTRS 3.3.6) Line: 156
   Module: Kernel::System::CustomerUser::new (OTRS 3.3.6) Line: 105
   Module: Kernel::System::Ticket::ColumnFilter::new (OTRS 3.3.6) Line: 98
   Module: Kernel::System::DynamicField::Driver::Dropdown::new (OTRS 3.3.6) Line: 59
   Module: Kernel::System::DynamicField::Backend::new (OTRS 3.3.6) Line: 130
   Module: Kernel::Modules::CustomerTicketOverview::new (OTRS 3.3.6) Line: 38
   Module: Kernel::System::Web::InterfaceCustomer::Run (OTRS 3.3.6) Line: 984
   Module: D:/RT_West/OTRS/bin/cgi-bin/customer.pl (unknown version) Line: 41
[Tue Apr 15 14:00:04 2014][Error][Kernel::System::CustomerUser::LDAP::_Connect][197] First bind failed! 80090308: LdapErr: DSID-0C0903A9, comment: AcceptSecurityContext error, data 52e, v1db1
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: Nach Update auf 3.3.xx KEIN LDAP mehr

Post by asxo »

Beziehungsweise das hier:
ERROR: OTRS-CGI-10 Perl: 5.16.3 OS: MSWin32 Time: Tue Apr 15 14:09:31 2014

Message: Need CustomerID!!!

RemoteAddress: 10.49.51.126
RequestURI: /otrs/customer.pl?Action=CustomerTicketOverview;Subaction=MyTickets

Traceback (2392):
Module: Kernel::Output::HTML::Layout::CustomerError (OTRS 3.3.6) Line: 3906
Module: Kernel::Modules::CustomerTicketOverview::Run (OTRS 3.3.6) Line: 112
Module: Kernel::System::Web::InterfaceCustomer::Run (OTRS 3.3.6) Line: 1000
Module: D:/RT_West/OTRS/bin/cgi-bin/customer.pl (unknown version) Line: 41
OTRS 2.3.4 /OTRS 3.0.11
Updateerfahrung
Win 2003 / Win 2008 R2
wurzel
Znuny guru
Posts: 3273
Joined: 08 Jul 2010, 22:25
Znuny Version: x.x.x
Real Name: Florian

Re: Nach Update auf 3.3.xx KEIN LDAP mehr

Post by wurzel »

Hi,

geht das Agenten Login?
Hast Du das Passwort + das Perl geprüft + ggf. korrigiert?


Du hast wohl keine vernünftige CustomerID zugewiesen. Deine CustomerUser section sieht auf den ersten Blick eigentlich gut aus.

Flo
OTRS 2025 SILVER (Prod)
OTRS 2025 auf Debian 12 (Test)
Znuny 7.x latest version testing auf Debian 12

-- Ich beantworte keine Forums-Fragen PN - No PN please

I won't answer to unfriendly users any more. A greeting and regards are just polite.
Locked