Kunden-Authentifizierungs-Backend

Datenbank (Standard)

Das Standard-Kunden-Authentifizierungs-Backend ist die otrs Datenbank mit Ihren Kunden-Benutzern, die über das Admin-Interface oder Kunden-Interface (Konto anlegen) angelegt werden.

    [Kernel/Config.pm]
    # This is the auth. module againt the otrs db
    $Self->{'Customer::AuthModule'} = 'Kernel::System::CustomerAuth::DB';
    [...]

LDAP

Falls ein LDAP-Verzeichnis mit Ihren Kunden-Benutzern verfügbar ist, können Sie das Kunden-LDAP-Authentifizierungs-Backend benutzen. Dieses Modul ist nur-lesend (d.h. es kann nicht in Ihr LDAP-Verzeichnis schreiben - dies sollte nur dem Verzeichnis-Manager möglich sein), so dass Sie keine Kunden über das Admin- oder Kunden-Interface anlegen oder ändern können.

    [Kernel/Config.pm]
    # This is an example configuration for an LDAP auth. backend.
    # (take care that Net::LDAP is installed!)
    $Self->{'Customer::AuthModule'} = 'Kernel::System::CustomerAuth::LDAP';
    $Self->{'Customer::AuthModule::LDAP::Host'} = 'ldap.example.com';
    $Self->{'Customer::AuthModule::LDAP::BaseDN'} = 'dc=example,dc=com';
    $Self->{'Customer::AuthModule::LDAP::UID'} = 'uid';

    # Check if the user is allowed to auth in a posixGroup
    # (e. g. user needs to be in a group xyz to use otrs)
#    $Self->{'Customer::AuthModule::LDAP::GroupDN'} = 'cn=otrsallow,ou=posixGroups,dc=example,dc=com';
#    $Self->{'Customer::AuthModule::LDAP::AccessAttr'} = 'memberUid';

    # The following is valid but would only be necessary if the
    # anonymous user do NOT have permission to read from the LDAP tree 
    $Self->{'Customer::AuthModule::LDAP::SearchUserDN'} = '';
    $Self->{'Customer::AuthModule::LDAP::SearchUserPw'} = '';
    [...]

HTTPBasicAuth

Falls Sie eine "single sign on"-Lösung für Ihre Kunden benutzen, benutzen Sie http basic authentication (für alle Ihre Systeme) und benutzen Sie das HTTPBasicAuth Modul (kein OTRS-Login benötigt!).

    [Kernel/Config.pm]
    # This is the auth. module againt $ENV{REMOTE_USER} (apache
    # http-basic-auth)
    $Self->{'Customer::AuthModule'} = 'Kernel::System::CustomerAuth::HTTPBasicAuth';
    # Note:
    # If you use this module, you should use as fallback the following
    # config settings if user isn't login through apache ($ENV{REMOTE_USER})
    $Self->{CustomerPanelLoginURL} = 'http://host/not-authorised-for-otrs.html';
    $Self->{CustomerPanelLogoutURL} = 'http://host/thanks-for-using-otrs.html';
    [...]