First bind failed! 80090308: LdapErr: DSID-0C0903A9

Moderator: crythias

Locked
osiris123d
Znuny newbie
Posts: 1
Joined: 14 Jul 2011, 20:56
Znuny Version: 3.0.9

First bind failed! 80090308: LdapErr: DSID-0C0903A9

Post by osiris123d »

I am trying to configure otrs to use LDAP for agent login to the webpage. I have done the following in Config.PM

#Enable LDAP authentication for Customers / Users
$Self->{'AuthModule'} = 'Kernel::System::Auth::LDAP';
$Self->{'AuthModule::LDAP::Host'} = '172.*.*.84';
$Self->{'AuthModule::LDAP::BaseDN'} = 'dc=vsc,dc=com';
$Self->{'AuthModule::LDAP::UID'} = 'sAMAccountName';


# Check if the user is allowed to auth in a posixGroup
# (e. g. user needs to be in a group OTRS_Agents to use otrs)
$Self->{'AuthModule::LDAP::GroupDN'} = 'cn=otrs_allow_Agents,cn=builtin,dc=vsc,dc=com';
$Self->{'AuthModule::LDAP::AccessAttr'} = 'member';
$Self->{'AuthModule::LDAP::UserAttr'} = 'DN';

# Bind credentials to log into AD
$Self->{'AuthModule::LDAP::SearchUserDN'} = 'cn=otrs_ldap,cn=builtin,dc=vsc,dc=com';
$Self->{'AuthModule::LDAP::SearchUserPw'} = '*******';

$Self->{'AuthModule::LDAP::Params'} = {
port => 389,
timeout => 120,
async => 0,
version => 3,
};



Whenever I try to log into the otrs webpage I get the following errors in apache/error.log

ERROR: OTRS-CGI-10 Perl: 5.12.4 OS: linux Time: Thu Jul 14 14:45:03 2011

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

Traceback (5137):
Module: Kernel::System::Auth::LDAP::Auth (v1.59) Line: 187
Module: Kernel::System::Auth::Auth (v1.50) Line: 181
Module: Kernel::System::Web::InterfaceAgent::Run (v1.58.2.1) Line: 201
Module: ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_index_2epl::handler (unknown version) Line: 46
Module: (eval) (v1.89.2.1) Line: 204
Module: ModPerl::RegistryCooker::run (v1.89.2.1) Line: 204
Module: ModPerl::RegistryCooker::default_handler (v1.89.2.1) Line: 170
Module: ModPerl::Registry::handler (v1.99) Line: 31

ERROR: OTRS-CGI-10 Perl: 5.12.4 OS: linux Time: Thu Jul 14 14:45:15 2011

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

Traceback (5137):
Module: Kernel::System::Auth::LDAP::Auth (v1.59) Line: 187
Module: Kernel::System::Auth::Auth (v1.50) Line: 181
Module: Kernel::System::Web::InterfaceAgent::Run (v1.58.2.1) Line: 201
Module: ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_index_2epl::handler (unknown version) Line: 46
Module: (eval) (v1.89.2.1) Line: 204
Module: ModPerl::RegistryCooker::run (v1.89.2.1) Line: 204
Module: ModPerl::RegistryCooker::default_handler (v1.89.2.1) Line: 170
Module: ModPerl::Registry::handler (v1.99) Line: 31

ERROR: OTRS-CGI-10 Perl: 5.12.4 OS: linux Time: Thu Jul 14 14:45:15 2011

Message: No UserID found for 'dlarson@vsc.com'!

Traceback (5137):
Module: Kernel::System::User::UserLookup (v1.114.2.2) Line: 746
Module: Kernel::System::Auth::Auth (v1.50) Line: 216
Module: Kernel::System::Web::InterfaceAgent::Run (v1.58.2.1) Line: 201
Module: ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_index_2epl::handler (unknown version) Line: 46
Module: (eval) (v1.89.2.1) Line: 204
Module: ModPerl::RegistryCooker::run (v1.89.2.1) Line: 204
Module: ModPerl::RegistryCooker::default_handler (v1.89.2.1) Line: 170
Module: ModPerl::Registry::handler (v1.99) Line: 31


I'm not sure what I have misconfigured.
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: First bind failed! 80090308: LdapErr: DSID-0C0903A9

Post by jojo »

Search User DN or Password are wrong
"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
Locked