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'; [...] |
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'} = ''; # in case you want to add always one filter to each ldap query, use # this option. e. g. AlwaysFilter => '(mail=*)' or AlwaysFilter => '(objectclass=user)' # $Self->{'Customer::AuthModule::LDAP::AlwaysFilter'} = ''; # in case you want to add a suffix to each customer login name, then # you can use this option. e. g. user just want to use user but # in your ldap directory exists user@domain. # $Self->{'Customer::AuthModule::LDAP::UserSuffix'} = '@domain.com'; # Net::LDAP new params (if needed - for more info see perldoc Net::LDAP) # $Self->{'Customer::AuthModule::LDAP::Params'} = { # port => 389, # version => 3, # }; [...] |
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'; [...] |
Authentifizierung gegen einen Radius-Server.
[Kernel/Config.pm] # This is example configuration to auth. agents against a radius server $Self->{'Customer::AuthModule'} = 'Kernel::System::Auth::Radius'; $Self->{'Customer::AuthModule::Radius::Host'} = 'radiushost'; $Self->{'Customer::AuthModule::Radius::Password'} = 'radiussecret'; [...] |