Customer-Portal Anmeldeproblem, keine Zuordnung im Backend

Hilfe zu OTRS Problemen aller Art
Post Reply
s3bag
Znuny newbie
Posts: 3
Joined: 05 Mar 2024, 10:24
Znuny Version: 7.0.15
Real Name: Sebastian Gensicke

Customer-Portal Anmeldeproblem, keine Zuordnung im Backend

Post by s3bag »

Hallo zusammen,

ich möchte eine MS-basierte HelpDesk-Softwarelösung durch Znuny ablösen. Mit OTRS und Znuny habe ich bisher noch keine Erfahrungen.
Ich habe mir ein Testsystem auf Ubuntu Basis eingerichtet. Znuny in der aktuellen Version 7.0.15 installiert. Grundlage dafür war die Znuny-Dokumentation.

Ich habe eine Active Directory Anbindung für das Anmelden der Agenten mit entsprechenden Gruppen-Mapping AD-Gruppen auf Znuny-Gruppen konfiguriert. Das funktioniert Problemlos.

Als zusätzliches Daten-Backened habe ich das AD angebunden. Bei der Ticketerstellung kann ich unter Kundenbenutzer die AD-Benutzer auswählen.
Unter Kundenbenutzer-Verwaltung erscheinen allerdings leere Einträge für die Benutzer:
Kundenbenutzer-01.png
Die Suche funktioniert, es werden jedoch wieder "leere" Einträge geliefert:
Kundenbenutzer-02.png
Dieses Problem ist jedoch sekundärer Natur.

Mein Hauptproblem ist die Anmeldung im Customer-Portal.

Benutzer können sich erfolgreich authentifizieren, werden jedoch nicht angemeldet. Es erscheint folgende Fehlermeldung:

Authentifizierung erfolgreich, aber im Kunden Backend wurde kein Kunden Eintrag gefunden. Bitte kontaktieren Sie Ihren Administrator.

Für die Zuordnung der Kundenbenutzer zu Kunden habe ich das AD-Attribut "department" gewählt, hier meine Konfiguration:

Code: Select all


	# Data AD-Backend

		$Self->{CustomerUser1} = {
			Name => 'LDAP Backend',
			Module => 'Kernel::System::CustomerUser::LDAP',
			Params => {
				Host => 'xxx',
				BaseDN => 'xxx',				
				SSCOPE => 'sub',

				UserDN => 'xxx',
				UserPw => 'xxx',

				AlwaysFilter => '(objectclass=user)',
				Die => 0,
				
				Params => {
					port    => 389,
					timeout => 120,
					async   => 0,
					version => 3,
				},
			},
			
			CustomerKey => 'sAMAccountName',
			
			CustomerID => 'department',
			CustomerUserListFields => ['cn', 'mail'],
			CustomerUserSearchFields => ['sAMAccountName', 'cn', 'mail'],
			CustomerUserSearchPrefix => '',
			CustomerUserSearchSuffix => '*',
			CustomerUserSearchListLimit => 1000,
			CustomerUserPostMasterSearchFields => ['mail'],
			CustomerUserNameFields => ['givenname', 'sn'],
			
			CustomerUserNameFieldsJoin => '',
			
			CustomerUserExcludePrimaryCustomerID => 0,
			
			AdminSetPreferences => 0,
			
			CacheTTL => 0,
			
			CustomerCompanySupport => 1,
			
			Map => [
				[ 'UserTitle',       Translatable('Title or salutation'), 'title',               1, 0, 'var', '', 1, undef, undef ],
				[ 'UserFirstname',   Translatable('Firstname'),           'givenname',           1, 1, 'var', '', 1, undef, undef ],
				[ 'UserLastname',    Translatable('Lastname'),            'sn',                  1, 1, 'var', '', 1, undef, undef ],
				[ 'UserLogin',       Translatable('Username'),            'sAMAcoountName',      1, 1, 'var', '', 1, undef, undef ],
				[ 'UserEmail',       Translatable('Email'),               'mail',                1, 1, 'var', '', 1, undef, undef ],
				[ 'UserCustomerID',  Translatable('CustomerID'),          'department',          0, 1, 'var', '', 1, undef, undef ],
				[ 'UserPhone',       Translatable('Phone'),               'telephonenumber',     1, 0, 'var', '', 1, undef, undef ],
				[ 'UserAddress',     Translatable('Address'),             'postaladdress',       1, 0, 'var', '', 1, undef, undef ],
				[ 'UserComment',     Translatable('Comment'),             'description',         1, 0, 'var', '', 1, undef, undef ],
			],
		};
	

	# LDAP Auth Agents

	
	$Self->{'AuthModule1'} = 'Kernel::System::Auth::LDAP';
	$Self->{'AuthModule::LDAP::Host1'} = 'xxx';
	$Self->{'AuthModule::LDAP::BaseDN1'} = 'xxx';
	$Self->{'AuthModule::LDAP::UID1'} = 'sAMAccountName';
	
	$Self->{'AuthModule::LDAP::GroupDN1'} = 'xxx';
	$Self->{'AuthModule::LDAP::AccessAttr1'} = 'member';
	$Self->{'AuthModule::LDAP::UserAttr1'} = 'DN';
	
	$Self->{'AuthModule::LDAP::SearchUserDN1'} = 'xxx';
	$Self->{'AuthModule::LDAP::SearchUserPw1'} = 'xxx';
	
	$Self->{'AuthModule::LDAP::Params1'} = {
		port    => 389,
		timeout => 120,
		async   => 0,
		version => 3,
	};
	$Self->{'AuthModule::LDAP::UserLowerCase1'} = 1;
	
	# LDAP Auth Sync Agents
	$Self->{'AuthSyncModule1'} = 'Kernel::System::Auth::Sync::LDAP';
    $Self->{'AuthSyncModule::LDAP::Host1'} = 'xxx';
    $Self->{'AuthSyncModule::LDAP::BaseDN1'} = 'xxx';
    $Self->{'AuthSyncModule::LDAP::UID1'} = 'sAMAccountName';
	
    $Self->{'AuthSyncModule::LDAP::SearchUserDN1'} = 'xxx';
    $Self->{'AuthSyncModule::LDAP::SearchUserPw1'} = 'xxx';
	
	$Self->{'AuthSyncModule::LDAP::UserSyncMap1'} = {
		# DB -> LDAP
		UserFirstname => 'givenName',
		UserLastname  => 'sn',
		UserEmail     => 'mail',
	};
	
	$Self->{'AuthSyncModule::LDAP::AccessAttr1'} = 'member';
	$Self->{'AuthSyncModule::LDAP::UserAttr1'} = 'DN';
	
	$Self->{'AuthSyncModule::LDAP::NestedGroupSearch1'} = 1;


    $Self->{'AuthSyncModule::LDAP::UserSyncGroupsDefinition1'} = {
        # ldap group
        'xxx' => {
            # znunys group
            'admin' => {
                # permission
                rw => 1,
                ro => 1,
            },
        },
		# ldap group
		'xxx' => {
		# znunys group
		'xxx' => {
			# permission
			rw => 1,
			ro => 1,
			},
		},
    };

	

	# LDAP Auth Customers

	$Self->{'Customer::AuthModule1'} = 'Kernel::System::CustomerAuth::LDAP';
	$Self->{'Customer::AuthModule::LDAP::Host1'} = 'xxx';
	$Self->{'Customer::AuthModule::LDAP::BaseDN1'} = 'xxx';
	$Self->{'Customer::AuthModule::LDAP::UID1'} = 'sAMAccountName';

	$Self->{'Customer::AuthModule::LDAP::SearchUserDN1'} = 'xxx';
	$Self->{'Customer::AuthModule::LDAP::SearchUserPw1'} = 'xxx';

	$Self->{'Customer::AuthModule::LDAP::AlwaysFilter1'} = '';

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

Scheinbar funktioniert die vorgenommene Zuordnung nicht, ggf. hängt das Problem auch mit dem geschilderten Darstellungsproblem in der Kundenbenutzer-Verwaltung zusammen.

Vielleicht hat jemand von Euch dazu einen Lösungsvorschlag oder -Ansatz.

Grüße aus Hannover,

s3bag
You do not have the required permissions to view the files attached to this post.
Test System: Znuny 7.0.15 on Ubuntu LTS 22.04 with MariaDB
root
Administrator
Posts: 3968
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: Customer-Portal Anmeldeproblem, keine Zuordnung im Backend

Post by root »

Hallo,

Was sagt denn das Systemlog dazu? Ggf. die Systemkonfiguration MinimumLoglevel mal auf debug stellen.

- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

Use a test system - always.

Do you need professional services? Check out https://www.znuny.com/

Do you want to contribute or want to know where it goes ?
s3bag
Znuny newbie
Posts: 3
Joined: 05 Mar 2024, 10:24
Znuny Version: 7.0.15
Real Name: Sebastian Gensicke

Re: Customer-Portal Anmeldeproblem, keine Zuordnung im Backend

Post by s3bag »

Ich habe folgenden Eintrag in der Config.pm gesetzt:
$Self->{Debug} = 3;

Folgender Fehler wird angezeigt:
ERROR: Znuny-CGI-31 Perl: 5.34.0 OS: linux Time: Wed Mar 6 08:01:19 2024

Message: No such user 'xxx'!

Code: Select all

Debug: Config.pm ->Get('SessionMaxTime') --> 57600
Debug: Config.pm ->Get('SessionUseCookieAfterBrowserClose') --> 0
Debug: Config.pm ->Get('DefaultTheme') --> Standard
Debug: Config.pm ->Get('UserDefaultTimeZone') --> UTC
Debug: Config.pm ->Get('DefaultUsedLanguages') --> HASH(0x560647c72400)
Debug: Config.pm ->Get('DefaultUsedLanguages') --> HASH(0x560647c72400)
Debug: Config.pm ->Get('Home') --> /opt/znuny
Debug: Config.pm ->Get('DefaultTheme') --> Standard
Debug: Config.pm ->Get('Frontend::Output::FilterElementPost') --> <undef>
Debug: Config.pm ->Get('Frontend::Output::FilterContent') --> <undef>
Debug: Config.pm ->Get('Frontend::Output::FilterText') --> HASH(0x560647c9e5f8)
Debug: Config.pm ->Get('Frontend::RichText') --> 1
Debug: Config.pm ->Get('DefaultTheme::HostBased') --> <undef>
Debug: Config.pm ->Get('TemplateDir') --> /opt/znuny/Kernel/Output
Debug: Config.pm ->Get('TemplateDir') --> /opt/znuny/Kernel/Output
Debug: Config.pm ->Get('CustomTemplateDir') --> /opt/znuny/Custom/Kernel/Output
Debug: Config.pm ->Get('CustomTemplateDir') --> /opt/znuny/Custom/Kernel/Output
Debug: Config.pm ->Get('TemplateDir') --> /opt/znuny/Kernel/Output
Debug: Config.pm ->Get('CustomerPanelLoginURL') --> <undef>
Debug: Config.pm ->Get('SessionUseCookie') --> 1
Debug: Config.pm ->Get('HttpType') --> https
Debug: Config.pm ->Get('ScriptAlias') --> znuny/
Debug: Config.pm ->Get('SessionUseCookie') --> 1
Debug: Config.pm ->Get('Loader::Customer::SelectedSkin') --> default
Debug: Config.pm ->Get('Loader::Customer::SelectedSkin::HostBased') --> <undef>
Debug: Config.pm ->Get('Home') --> /opt/znuny
Debug: Config.pm ->Get('Loader::Enabled::CSS') --> 1
Debug: Config.pm ->Get('Loader::Customer::CommonCSS') --> HASH(0x56064781c900)
Debug: Config.pm ->Get('Loader::Module::CustomerLogin') --> HASH(0x5606478258c8)
Debug: Config.pm ->Get('Loader::Customer::ResponsiveCSS') --> HASH(0x56064781ca20)
Debug: Config.pm ->Get('Home') --> /opt/znuny
Debug: Config.pm ->Get('Loader::Enabled::JS') --> 1
Debug: Config.pm ->Get('Loader::Customer::CommonJS') --> HASH(0x56064781cc90)
Debug: Config.pm ->Get('Frontend::RichText') --> 1
Debug: Config.pm ->Get('Loader::Module::CustomerLogin') --> HASH(0x5606478258c8)
Debug: Config.pm ->Get('Home') --> /opt/znuny
Debug: Config.pm ->Get('DefaultTheme::HostBased') --> <undef>
Debug: Config.pm ->Get('TemplateDir') --> /opt/znuny/Kernel/Output
Debug: Config.pm ->Get('TemplateDir') --> /opt/znuny/Kernel/Output
Debug: Config.pm ->Get('CustomTemplateDir') --> /opt/znuny/Custom/Kernel/Output
Debug: Config.pm ->Get('CustomTemplateDir') --> /opt/znuny/Custom/Kernel/Output
Debug: Config.pm ->Get('Home') --> /opt/znuny
Debug: Config.pm ->Get('CustomerLogo') --> HASH(0x560647c66178)
Debug: Config.pm ->Get('CustomerLogo') --> HASH(0x560647c66178)
Debug: Config.pm ->Get('Frontend::WebPath') --> /znuny-web/
Debug: Config.pm ->Get('OTRSTimeZone') --> UTC
Debug: Config.pm ->Get('DisableLoginAutocomplete') --> 0
Debug: Config.pm ->Get('Customer::AuthTwoFactorModule') --> <undef>
Debug: Config.pm ->Get('Customer::AuthTwoFactorModule1') --> <undef>
Debug: Config.pm ->Get('Customer::AuthTwoFactorModule2') --> <undef>
Debug: Config.pm ->Get('Customer::AuthTwoFactorModule3') --> <undef>
Debug: Config.pm ->Get('Customer::AuthTwoFactorModule4') --> <undef>
Debug: Config.pm ->Get('Customer::AuthTwoFactorModule5') --> <undef>
Debug: Config.pm ->Get('Customer::AuthTwoFactorModule6') --> <undef>
Debug: Config.pm ->Get('Customer::AuthTwoFactorModule7') --> <undef>
Debug: Config.pm ->Get('Customer::AuthTwoFactorModule8') --> <undef>
Debug: Config.pm ->Get('Customer::AuthTwoFactorModule9') --> <undef>
Debug: Config.pm ->Get('Customer::AuthTwoFactorModule10') --> <undef>
Debug: Config.pm ->Get('CustomerPanelLostPassword') --> 1
Debug: Config.pm ->Get('Customer::AuthModule') --> Kernel::System::CustomerAuth::DB
Debug: Config.pm ->Get('CustomerPanelCreateAccount') --> 1
Debug: Config.pm ->Get('Customer::AuthModule') --> Kernel::System::CustomerAuth::DB
Debug: Config.pm ->Get('PublicFrontend::FooterLinks') --> <undef>
Debug: Config.pm ->Get('CheckEmailAddresses') --> 1
Debug: Config.pm ->Get('Frontend::TemplateCache') --> 1
Debug: Config.pm ->Get('Frontend::Template::GenerateBlockHooks') --> <undef>
Debug: Config.pm ->Get('Secure::DisableBanner') --> 0
Debug: Config.pm ->Get('Product') --> Znuny
Debug: Config.pm ->Get('Version') --> 7.0.15
Debug: Config.pm ->Get('DisableIFrameOriginRestricted') --> 0
Debug: Config.pm ->Get('Frontend::ImagePath') --> /znuny-web/skins/Agent/default/img/
Debug: Config.pm ->Get('Frontend::ImagePath') --> /znuny-web/skins/Agent/default/img/
Debug: Config.pm ->Get('Frontend::WebPath') --> /znuny-web/
Debug: Config.pm ->Get('Frontend::WebPath') --> /znuny-web/
Debug: Config.pm ->Get('Frontend::WebPath') --> /znuny-web/
Debug: Config.pm ->Get('Frontend::WebPath') --> /znuny-web/
Debug: Config.pm ->Get('Frontend::WebPath') --> /znuny-web/
Debug: Config.pm ->Get('ProductName') --> Znuny
Debug: Config.pm ->Get('CustomerHeadline') --> Example Company
Debug: Config.pm ->Get('Secure::DisableBanner') --> 0
Debug: Config.pm ->Get('Product') --> Znuny
Debug: Config.pm ->Get('Product') --> Znuny
Debug: Config.pm ->Get('Frontend::RichText::Path') --> /znuny-web/js/thirdparty/ckeditor-4.22.1-min/
Debug: Config.pm ->Get('Frontend::JavaScriptPath') --> /znuny-web/js/
Debug: Config.pm ->Get('Frontend::JavaScriptPath') --> /znuny-web/js/
Debug: Config.pm ->Get('Frontend::JavaScriptPath') --> /znuny-web/js/
Debug: Config.pm ->Get('Frontend::JavaScriptPath') --> /znuny-web/js/
Debug: Config.pm ->Get('Product') --> Znuny
Debug: Config.pm ->Get('Secure::DisableBanner') --> 0
Debug: Config.pm ->Get('CGILogPrefix') --> Znuny-CGI
Debug: Config.pm ->Get('HTTPSForceRedirect') --> 1
Debug: Config.pm ->Get('WebMaxFileUpload') --> 24000000
Debug: Config.pm ->Get('CustomerPanelSessionName') --> OTRSCustomerInterface
Debug: Config.pm ->Get('SessionUseCookie') --> 1
Debug: Config.pm ->Get('HttpType') --> https
Debug: Config.pm ->Get('TestDatabaseDSN') --> <undef>
Debug: Config.pm ->Get('DatabaseDSN') --> DBI:mysql:database=znuny;host=127.0.0.1
Debug: Config.pm ->Get('TestDatabaseUser') --> <undef>
Debug: Config.pm ->Get('DatabaseUser') --> znuny
Debug: Config.pm ->Get('TestDatabasePw') --> <undef>
Debug: Config.pm ->Get('DatabasePw') --> xxx
Debug: Config.pm ->Get('Database::SlowLog') --> <undef>
Debug: Config.pm ->Get('Database::Type') --> <undef>
Debug: Config.pm ->Get('Database::ShellOutput') --> <undef>
Debug: Config.pm ->Get('Database::Type') --> <undef>
Debug: Config.pm ->Get('Database::Limit') --> <undef>
Debug: Config.pm ->Get('Database::DirectBlob') --> <undef>
Debug: Config.pm ->Get('Database::Attribute') --> <undef>
Debug: Config.pm ->Get('Database::QuoteSingle') --> <undef>
Debug: Config.pm ->Get('Database::QuoteBack') --> <undef>
Debug: Config.pm ->Get('Database::Connect') --> <undef>
Debug: Config.pm ->Get('Database::Encode') --> <undef>
Debug: Config.pm ->Get('Database::CaseSensitive') --> <undef>
Debug: Config.pm ->Get('Database::LcaseLikeInLargeText') --> <undef>
Debug: Config.pm ->Get('CustomerPreferences') --> HASH(0x560647c67c08)
Debug: Config.pm ->Get('CustomerPreferences') --> HASH(0x560647c67c08)
Debug: Config.pm ->Get('CustomerPreferences') --> HASH(0x560647c67c08)
Debug: Config.pm ->Get('CustomerPreferences') --> HASH(0x560647c67c08)
Debug: Config.pm ->Get('CustomerPreferences') --> HASH(0x560647c67c08)
Debug: Config.pm ->Get('CustomerUser') --> HASH(0x560647823338)
Debug: Config.pm ->Get('CustomerUser') --> HASH(0x560647823338)
Debug: Config.pm ->Get('CustomerUser') --> HASH(0x560647823338)
Debug: Config.pm ->Get('Cache::Module') --> Kernel::System::Cache::FileStorable
Debug: Config.pm ->Get('TempDir') --> /opt/znuny/var/tmp
Debug: Config.pm ->Get('Cache::SubdirLevels') --> 2
Debug: Config.pm ->Get('Cache::InMemory') --> 1
Debug: Config.pm ->Get('Cache::InBackend') --> 1
Debug: Config.pm ->Get('CustomerUser1') --> HASH(0x560647d67ba8)
Debug: Config.pm ->Get('CustomerUser1') --> HASH(0x560647d67ba8)
Debug: Config.pm ->Get('CustomerUser1') --> HASH(0x560647d67ba8)
Debug: Config.pm ->Get('CustomerUser2') --> <undef>
Debug: Config.pm ->Get('CustomerUser3') --> <undef>
Debug: Config.pm ->Get('CustomerUser4') --> <undef>
Debug: Config.pm ->Get('CustomerUser5') --> <undef>
Debug: Config.pm ->Get('CustomerUser6') --> <undef>
Debug: Config.pm ->Get('CustomerUser7') --> <undef>
Debug: Config.pm ->Get('CustomerUser8') --> <undef>
Debug: Config.pm ->Get('CustomerUser9') --> <undef>
Debug: Config.pm ->Get('CustomerUser10') --> <undef>
Debug: Config.pm ->Get('SessionModule') --> Kernel::System::AuthSession::FS
Debug: Config.pm ->Get('SessionDir') --> /opt/znuny/var/sessions
Debug: Config.pm ->Get('SystemID') --> 31
Debug: Config.pm ->Get('AgentSessionLimit') --> 100
Debug: Config.pm ->Get('AgentSessionPerUserLimit') --> 20
Debug: Config.pm ->Get('CustomerSessionLimit') --> 100
Debug: Config.pm ->Get('CustomerSessionPerUserLimit') --> 20
Debug: Config.pm ->Get('CustomerFrontend::CommonParam') --> HASH(0x560647822db0)
Debug: Config.pm ->Get('Customer::AuthModule') --> Kernel::System::CustomerAuth::DB
Debug: Config.pm ->Get('Customer::AuthModule::DB::Table') --> customer_user
Debug: Config.pm ->Get('Customer::AuthModule::DB::CustomerKey') --> login
Debug: Config.pm ->Get('Customer::AuthModule::DB::CustomerPassword') --> pw
Debug: Config.pm ->Get('Customer::AuthModule::DB::CryptType') --> sha2
Debug: Config.pm ->Get('Customer::AuthModule::DB::DSN') --> <undef>
Debug: Config.pm ->Get('Customer::AuthModule1') --> Kernel::System::CustomerAuth::LDAP
Debug: Config.pm ->Get('Customer::AuthModule::LDAP::Die1') --> <undef>
Debug: Config.pm ->Get('Customer::AuthModule::LDAP::Host1') --> xxx
Debug: Config.pm ->Get('Customer::AuthModule::LDAP::Host1') --> xxx
Debug: Config.pm ->Get('Customer::AuthModule::LDAP::BaseDN1') --> xxx
Debug: Config.pm ->Get('Customer::AuthModule::LDAP::BaseDN1') --> xxx
Debug: Config.pm ->Get('Customer::AuthModule::LDAP::UID1') --> sAMAccountName
Debug: Config.pm ->Get('Customer::AuthModule::LDAP::UID1') --> sAMAccountName
Debug: Config.pm ->Get('Customer::AuthModule::LDAP::SearchUserDN1') --> xxx
Debug: Config.pm ->Get('Customer::AuthModule::LDAP::SearchUserPw1') --> xxx
Debug: Config.pm ->Get('Customer::AuthModule::LDAP::GroupDN1') --> <undef>
Debug: Config.pm ->Get('Customer::AuthModule::LDAP::AccessAttr1') --> <undef>
Debug: Config.pm ->Get('Customer::AuthModule::LDAP::UserAttr1') --> <undef>
Debug: Config.pm ->Get('Customer::AuthModule::LDAP::UserSuffix1') --> <undef>
Debug: Config.pm ->Get('Customer::AuthModule::LDAP::Charset1') --> <undef>
Debug: Config.pm ->Get('Customer::AuthModule::LDAP::AlwaysFilter1') -->
Debug: Config.pm ->Get('Customer::AuthModule::LDAP::Params1') --> HASH(0x56064782aab0)
Debug: Config.pm ->Get('Customer::AuthModule::LDAP::Params1') --> HASH(0x56064782aab0)
Debug: Config.pm ->Get('Customer::AuthModule2') --> <undef>
Debug: Config.pm ->Get('Customer::AuthModule3') --> <undef>
Debug: Config.pm ->Get('Customer::AuthModule4') --> <undef>
Debug: Config.pm ->Get('Customer::AuthModule5') --> <undef>
Debug: Config.pm ->Get('Customer::AuthModule6') --> <undef>
Debug: Config.pm ->Get('Customer::AuthModule7') --> <undef>
Debug: Config.pm ->Get('Customer::AuthModule8') --> <undef>
Debug: Config.pm ->Get('Customer::AuthModule9') --> <undef>
Debug: Config.pm ->Get('Customer::AuthModule10') --> <undef>
Debug: Config.pm ->Get('Customer::AuthTwoFactorModule') --> <undef>
Debug: Config.pm ->Get('Customer::AuthTwoFactorModule1') --> <undef>
Debug: Config.pm ->Get('Customer::AuthTwoFactorModule2') --> <undef>
Debug: Config.pm ->Get('Customer::AuthTwoFactorModule3') --> <undef>
Debug: Config.pm ->Get('Customer::AuthTwoFactorModule4') --> <undef>
Debug: Config.pm ->Get('Customer::AuthTwoFactorModule5') --> <undef>
Debug: Config.pm ->Get('Customer::AuthTwoFactorModule6') --> <undef>
Debug: Config.pm ->Get('Customer::AuthTwoFactorModule7') --> <undef>
Debug: Config.pm ->Get('Customer::AuthTwoFactorModule8') --> <undef>
Debug: Config.pm ->Get('Customer::AuthTwoFactorModule9') --> <undef>
Debug: Config.pm ->Get('Customer::AuthTwoFactorModule10') --> <undef>
Debug: Config.pm ->Get('Product') --> Znuny
Debug: Config.pm ->Get('Version') --> 7.0.15
Debug: Config.pm ->Get('SystemID') --> 31
Debug: Config.pm ->Get('MinimumLogLevel') --> error
Debug: Config.pm ->Get('LogModule') --> Kernel::System::Log::SysLog
Debug: Config.pm ->Get('LogModule::SysLog::Facility') --> user
Debug: Config.pm ->Get('LogSystemCacheSize') --> <undef>
Debug: Config.pm ->Get('DynamicField::CacheTTL') --> <undef>
Debug: Config.pm ->Get('CustomerCompany') --> HASH(0x5606478244d0)
Debug: Config.pm ->Get('CustomerCompany') --> HASH(0x5606478244d0)
Debug: Config.pm ->Get('CustomerCompany') --> HASH(0x5606478244d0)
Debug: Config.pm ->Get('CustomerCompany1') --> <undef>
Debug: Config.pm ->Get('CustomerCompany2') --> <undef>
Debug: Config.pm ->Get('CustomerCompany3') --> <undef>
Debug: Config.pm ->Get('CustomerCompany4') --> <undef>
Debug: Config.pm ->Get('CustomerCompany5') --> <undef>
Debug: Config.pm ->Get('CustomerCompany6') --> <undef>
Debug: Config.pm ->Get('CustomerCompany7') --> <undef>
Debug: Config.pm ->Get('CustomerCompany8') --> <undef>
Debug: Config.pm ->Get('CustomerCompany9') --> <undef>
Debug: Config.pm ->Get('CustomerCompany10') --> <undef>
Debug: Config.pm ->Get('DynamicFields::Driver') --> HASH(0x560647c75e78)
Debug: Config.pm ->Get('DynamicFields::Extension::Driver::Text') --> <undef>
Debug: Config.pm ->Get('DynamicFields::Extension::Driver::Checkbox') --> <undef>
Debug: Config.pm ->Get('DynamicFields::Extension::Driver::Date') --> <undef>
Debug: Config.pm ->Get('DynamicFields::Extension::Driver::DateTime') --> <undef>
Debug: Config.pm ->Get('DynamicFields::Extension::Driver::Dropdown') --> <undef>
Debug: Config.pm ->Get('DynamicFields::Extension::Driver::Multiselect') --> <undef>
Debug: Config.pm ->Get('DynamicFields::Extension::Driver::Text') --> <undef>
Debug: Config.pm ->Get('DynamicFields::Extension::Driver::Text') --> <undef>
Debug: Config.pm ->Get('DynamicFields::Extension::Driver::TextArea') --> <undef>
Debug: Config.pm ->Get('DynamicFields::Extension::Driver::Dropdown') --> <undef>
Debug: Config.pm ->Get('DynamicFields::Extension::Driver::Multiselect') --> <undef>
Debug: Config.pm ->Get('DynamicFields::ObjectType') --> HASH(0x560647c78b98)
Debug: Config.pm ->Get('DynamicFields::Extension::Backend') --> <undef>
Debug: Config.pm ->Get('LogModule::SysLog::Charset') --> utf-8
Debug: Config.pm ->Get('OTRSTimeZone') --> UTC
ERROR: Znuny-CGI-31 Perl: 5.34.0 OS: linux Time: Wed Mar 6 08:01:19 2024

 Message: No such user 'xxx'!

 RemoteAddress: xxx
 RequestURI: /znuny/customer.pl

 Traceback (32858):
   Module: Kernel::System::CustomerUser::SetPreferences Line: 1140
   Module: Kernel::System::CustomerAuth::Auth Line: 165
   Module: Kernel::System::Web::InterfaceCustomer::Run Line: 248
   Module: ModPerl::ROOT::ModPerl::Registry::opt_znuny_bin_cgi_2dbin_customer_2epl::handler Line: 39
   Module: (eval) (v1.99) Line: 207
   Module: ModPerl::RegistryCooker::run (v1.99) Line: 207
   Module: ModPerl::RegistryCooker::default_handler (v1.99) Line: 173
   Module: ModPerl::Registry::handler (v1.99) Line: 32

Debug: Config.pm ->Get('SessionMaxTime') --> 57600
Debug: Config.pm ->Get('SessionUseCookieAfterBrowserClose') --> 0
Debug: Config.pm ->Get('DefaultTheme') --> Standard
Debug: Config.pm ->Get('UserDefaultTimeZone') --> UTC
Debug: Config.pm ->Get('DefaultUsedLanguages') --> HASH(0x560647c73c80)
Debug: Config.pm ->Get('DefaultUsedLanguages') --> HASH(0x560647c73c80)
Debug: Config.pm ->Get('Home') --> /opt/znuny
Debug: Config.pm ->Get('DefaultTheme') --> Standard
Debug: Config.pm ->Get('Frontend::Output::FilterElementPost') --> <undef>
Debug: Config.pm ->Get('Frontend::Output::FilterContent') --> <undef>
Debug: Config.pm ->Get('Frontend::Output::FilterText') --> HASH(0x560647c9fe78)
Debug: Config.pm ->Get('Frontend::RichText') --> 1
Debug: Config.pm ->Get('DefaultTheme::HostBased') --> <undef>
Debug: Config.pm ->Get('TemplateDir') --> /opt/znuny/Kernel/Output
Debug: Config.pm ->Get('TemplateDir') --> /opt/znuny/Kernel/Output
Debug: Config.pm ->Get('CustomTemplateDir') --> /opt/znuny/Custom/Kernel/Output
Debug: Config.pm ->Get('CustomTemplateDir') --> /opt/znuny/Custom/Kernel/Output
Debug: Config.pm ->Get('TemplateDir') --> /opt/znuny/Kernel/Output
Debug: Config.pm ->Get('CustomerPanelLoginURL') --> <undef>
Debug: Config.pm ->Get('SessionUseCookie') --> 1
Debug: Config.pm ->Get('HttpType') --> https
Debug: Config.pm ->Get('ScriptAlias') --> znuny/
Debug: Config.pm ->Get('SessionUseCookie') --> 1
Debug: Config.pm ->Get('Loader::Customer::SelectedSkin') --> default
Debug: Config.pm ->Get('Loader::Customer::SelectedSkin::HostBased') --> <undef>
Debug: Config.pm ->Get('Home') --> /opt/znuny
Debug: Config.pm ->Get('Loader::Enabled::CSS') --> 1
Debug: Config.pm ->Get('Loader::Customer::CommonCSS') --> HASH(0x56064781e220)
Debug: Config.pm ->Get('Loader::Module::CustomerLogin') --> HASH(0x5606478271e8)
Debug: Config.pm ->Get('Loader::Customer::ResponsiveCSS') --> HASH(0x56064781e340)
Debug: Config.pm ->Get('Home') --> /opt/znuny
Debug: Config.pm ->Get('Loader::Enabled::JS') --> 1
Debug: Config.pm ->Get('Loader::Customer::CommonJS') --> HASH(0x56064781e5b0)
Debug: Config.pm ->Get('Frontend::RichText') --> 1
Debug: Config.pm ->Get('Loader::Module::CustomerLogin') --> HASH(0x5606478271e8)
Debug: Config.pm ->Get('Home') --> /opt/znuny
Debug: Config.pm ->Get('DefaultTheme::HostBased') --> <undef>
Debug: Config.pm ->Get('TemplateDir') --> /opt/znuny/Kernel/Output
Debug: Config.pm ->Get('TemplateDir') --> /opt/znuny/Kernel/Output
Debug: Config.pm ->Get('CustomTemplateDir') --> /opt/znuny/Custom/Kernel/Output
Debug: Config.pm ->Get('CustomTemplateDir') --> /opt/znuny/Custom/Kernel/Output
Debug: Config.pm ->Get('Home') --> /opt/znuny
Debug: Config.pm ->Get('CustomerLogo') --> HASH(0x560647c679f8)
Debug: Config.pm ->Get('CustomerLogo') --> HASH(0x560647c679f8)
Debug: Config.pm ->Get('Frontend::WebPath') --> /znuny-web/
Debug: Config.pm ->Get('OTRSTimeZone') --> UTC
Debug: Config.pm ->Get('DisableLoginAutocomplete') --> 0
Debug: Config.pm ->Get('Customer::AuthTwoFactorModule') --> <undef>
Debug: Config.pm ->Get('Customer::AuthTwoFactorModule1') --> <undef>
Debug: Config.pm ->Get('Customer::AuthTwoFactorModule2') --> <undef>
Debug: Config.pm ->Get('Customer::AuthTwoFactorModule3') --> <undef>
Debug: Config.pm ->Get('Customer::AuthTwoFactorModule4') --> <undef>
Debug: Config.pm ->Get('Customer::AuthTwoFactorModule5') --> <undef>
Debug: Config.pm ->Get('Customer::AuthTwoFactorModule6') --> <undef>
Debug: Config.pm ->Get('Customer::AuthTwoFactorModule7') --> <undef>
Debug: Config.pm ->Get('Customer::AuthTwoFactorModule8') --> <undef>
Debug: Config.pm ->Get('Customer::AuthTwoFactorModule9') --> <undef>
Debug: Config.pm ->Get('Customer::AuthTwoFactorModule10') --> <undef>
Debug: Config.pm ->Get('CustomerPanelLostPassword') --> 1
Debug: Config.pm ->Get('Customer::AuthModule') --> Kernel::System::CustomerAuth::DB
Debug: Config.pm ->Get('CustomerPanelCreateAccount') --> 1
Debug: Config.pm ->Get('Customer::AuthModule') --> Kernel::System::CustomerAuth::DB
Debug: Config.pm ->Get('PublicFrontend::FooterLinks') --> <undef>
Debug: Config.pm ->Get('CheckEmailAddresses') --> 1
Debug: Config.pm ->Get('Frontend::TemplateCache') --> 1
Debug: Config.pm ->Get('Frontend::Template::GenerateBlockHooks') --> <undef>
Debug: Config.pm ->Get('Secure::DisableBanner') --> 0
Debug: Config.pm ->Get('Product') --> Znuny
Debug: Config.pm ->Get('Version') --> 7.0.15
Debug: Config.pm ->Get('DisableIFrameOriginRestricted') --> 0
Debug: Config.pm ->Get('Frontend::ImagePath') --> /znuny-web/skins/Agent/default/img/
Debug: Config.pm ->Get('Frontend::ImagePath') --> /znuny-web/skins/Agent/default/img/
Debug: Config.pm ->Get('Frontend::WebPath') --> /znuny-web/
Debug: Config.pm ->Get('Frontend::WebPath') --> /znuny-web/
Debug: Config.pm ->Get('Frontend::WebPath') --> /znuny-web/
Debug: Config.pm ->Get('Frontend::WebPath') --> /znuny-web/
Debug: Config.pm ->Get('Frontend::WebPath') --> /znuny-web/
Debug: Config.pm ->Get('ProductName') --> Znuny
Debug: Config.pm ->Get('CustomerHeadline') --> Example Company
Debug: Config.pm ->Get('Secure::DisableBanner') --> 0
Debug: Config.pm ->Get('Product') --> Znuny
Debug: Config.pm ->Get('Product') --> Znuny
Debug: Config.pm ->Get('Frontend::RichText::Path') --> /znuny-web/js/thirdparty/ckeditor-4.22.1-min/
Debug: Config.pm ->Get('Frontend::JavaScriptPath') --> /znuny-web/js/
Debug: Config.pm ->Get('Frontend::JavaScriptPath') --> /znuny-web/js/
Debug: Config.pm ->Get('Frontend::JavaScriptPath') --> /znuny-web/js/
Debug: Config.pm ->Get('Frontend::JavaScriptPath') --> /znuny-web/js/
Debug: Config.pm ->Get('Product') --> Znuny
Debug: Config.pm ->Get('Secure::DisableBanner') --> 0
Test System: Znuny 7.0.15 on Ubuntu LTS 22.04 with MariaDB
root
Administrator
Posts: 3968
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: Customer-Portal Anmeldeproblem, keine Zuordnung im Backend

Post by root »

Hi,

Nimm doch mal im Mapping vom CustomerUser den Typo bei dem Attribut von UserLogin raus.
Btw, das ist nicht das Systemlog was ich eigentlich meinte.

- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

Use a test system - always.

Do you need professional services? Check out https://www.znuny.com/

Do you want to contribute or want to know where it goes ?
s3bag
Znuny newbie
Posts: 3
Joined: 05 Mar 2024, 10:24
Znuny Version: 7.0.15
Real Name: Sebastian Gensicke

Re: Customer-Portal Anmeldeproblem, keine Zuordnung im Backend

Post by s3bag »

OMG, danke!

Gefühlt habe ich mir die Config tausend mal angesehen, nun funktioniert es!

Beide Probleme sind behoben. Die Anmeldung funktioniert und die Darstellung auch!

Grüße aus Hannover,

s3bag
Test System: Znuny 7.0.15 on Ubuntu LTS 22.04 with MariaDB
Post Reply