Connect using HTTPBasicAuth

Moderator: crythias

Post Reply
TBird
Znuny newbie
Posts: 11
Joined: 31 May 2013, 22:45
Znuny Version: 3.1.7
Real Name: Dan

Connect using HTTPBasicAuth

Post by TBird »

Hello, after i managed to connect using LDAP, now i want to connect automatic with httpbasicauth.
Someone know a good tutorial how to httpbasicauth ? With exemples and everything thx.

Mod Note: Please do not post questions in HowTos
crythias
Moderator
Posts: 10169
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Connect using HTTPBasicAuth

Post by crythias »

OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
TBird
Znuny newbie
Posts: 11
Joined: 31 May 2013, 22:45
Znuny Version: 3.1.7
Real Name: Dan

Re: Connect using HTTPBasicAuth

Post by TBird »

Whell it was to easy to work from the first time :) . I followed all toturials on the internet
and finaly i have this error in otrs log :

Sat Jun 8 16:41:25 2013 error OTRS-CGI-10 No such user 'tbird.tbird'!
Sat Jun 8 16:41:25 2013 notice OTRS-CGI-10 User: tbird.tbird Authentication ok (REMOTE_ADDR: 192.168.30.17).

In apache log :

[Sat Jun 8 16:34:06 2013] -e: Use of uninitialized value $1 in substitution iterator at /usr/share/otrs//Kernel/System/CustomerAuth/HTTPBasicAuth.pm line 97.
ERROR: OTRS-CGI-10 Perl: 5.14.2 OS: linux Time: Sat Jun 8 16:34:06 2013

Message: No such user 'tbird.tbird'!

Traceback (10456):
Module: Kernel::System::CustomerUser::SetPreferences (v1.63) Line: 504
Module: Kernel::System::CustomerAuth::Auth (v1.36) Line: 155
Module: Kernel::System::Web::InterfaceCustomer::Run (v1.63) Line: 206
Module: ModPerl::ROOT::ModPerl::Registry::usr_share_otrs_bin_cgi_2dbin_customer_2epl::handler (unknown version) Line: 46
Module: (eval) (v1.44) Line: 204
Module: ModPerl::RegistryCooker::run (v1.44) Line: 204
Module: ModPerl::RegistryCooker::default_handler (v1.44) Line: 170
Module: ModPerl::Registry::handler (v1.99) Line: 31


The time is ok, i know that the maxim error is 10 min, i have 2 min error time between debian - domain controller....

Eny ideea ? thx
TBird
Znuny newbie
Posts: 11
Joined: 31 May 2013, 22:45
Znuny Version: 3.1.7
Real Name: Dan

Re: Connect using HTTPBasicAuth

Post by TBird »

Hehe in the meentime i figure out:P Now is working properly.
Post Reply