"Need User" Error message every 15 minutes

Moderator: crythias

Locked
netjess
Znuny expert
Posts: 172
Joined: 16 Nov 2011, 23:35
Znuny Version: 6.0.16
Real Name: Jesse
Company: Mercer Valve Company
Location: Oklahoma USA
Contact:

"Need User" Error message every 15 minutes

Post by netjess »

Hello,

Every fifteen minutes I am seeing an error like the following:

ERROR: OTRS-CGI-10 Perl: 5.8.8 OS: linux Time: Fri Sep 7 15:28:30 2012

Message: Need User!

Traceback (5364):
Module: Kernel::System::CustomerAuth::LDAP::Auth (v1.38.2.1) Line: 137
Module: Kernel::System::CustomerAuth::Auth (v1.36) Line: 151
Module: Kernel::System::Web::InterfaceCustomer::Run (v1.63) Line: 206
Module: ModPerl::ROOT::ModPerl::Registry::opt_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

Although it appears to be an LDAP error the LDAP authentication to the system seems to be working. As far as I can tell everyone can log into the ticket system.
I also set up some new accounts in Active Directory and they are showing up in the Customer Management list.

This is a flat domain, no remote DC and no sub domains.

Thanks.
Powered by OTRS 6
Active Directory LDAP Integration.
Ubuntu 18 LTS, Apache2, PostgreSQL.
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: "Need User" Error message every 15 minutes

Post by crythias »

The error means something is applying to CustomerUser LDAP authentication without a username.

The relevant code:

Code: Select all

sub Auth {
    my ( $Self, %Param ) = @_;

    # check needed stuff
    for (qw(User Pw)) {
        if ( !$Param{$_} ) {
            $Self->{LogObject}->Log( Priority => 'error', Message => "Need $_!" ); #<-- This would tell you it needs a User or a Password;
            return;
        }
    }
What could be doing this every 15 minutes? ... it's either something in your cron or it's a persistent user on your network.

(wireshark)
It (of course) doesn't get far enough to actually *query* your ldap when it doesn't have a username.

Check the timestamps against your apache access log.
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
Locked