• Deutsch
  • English
  • Anmeldung OTOBO Community
+49 (0)9427 68 39 000
OTOBO
  • SOFTWARE
    • Software | Überblick
    • IT Service Management
    • Customer Service Management
    • Enterprise Service Management
    • Demo
    • Download
    • Dokumentation
  • SERVICES
    • Überblick Services
    • Beratung
    • Training
    • Entwicklung
    • OTRS Migration zu OTOBO
    • Support
    • Managed Service
    • Support-Portal
  • UNTERNEHMEN
    • Über uns
    • Karriere
    • Partner
    • Kontakt
    • Newsletter
  • RESSOURCEN
  • COMMUNITY
    • Open Source
    • Community Forum
    • Download
    • Dokumentation
    • OTOBO übersetzen
  • Click to open the search input field Click to open the search input field Suche
  • Menü Menü
Ansicht von 1 Antwort-Thread
  • Autor
    Beiträge
    • 7. April 2021 um 13:59 Uhr - Views: 3341 #11317
      Michael Rombach
      Teilnehmer

        Hallo zusammen,

        Ich bin mittlerweile ratlos bei der Integration der Config.pm zur LDAP Anbindung.

        Was muss ich dort einstellen, damit alle meine Benutzer aus einer OU als Agenten in das Otobo gesynced werden?

        Immer wenn ich die Anpassung in den Config.pm einfüge und den Apache neustarte komm ich nicht mehr ins Otobo, da die Webseite nicht angezeigt wird oder wenn sie angezeigt wird hat er nichts importiert.

        Gibt es einen Log wo ich sehen könnte was er importiert?

        Anbei meine aktuelle Config.pm.

        Um Hilfe wäre ich sehr dankbar, da wir das Otobo bei ü350 Usern gerne übers AD anbinden wollen.

         

        # This is an example configuration for an LDAP auth. backend.
        # (take care that Net::LDAP is installed!)
        my $Self = shift;
        ### Backend 1

        $Self->{AuthModule} = 'Kernel::System::Auth::LDAP';
        $Self->{'AuthModule::LDAP::Host'} = 'srv-dc3.xxxx.xxxx';
        $Self->{'AuthModule::LDAP::BaseDN'} = 'ou=mitarbeiter,ou=xxxx xxxx xxxx,dc=xxxx,dc=local';
        $Self->{'AuthModule::LDAP::UID'} = 'sAMAccountName';

        ### Backend 2
        $Self->{AuthModule1} = 'Kernel::System::Auth::LDAP';
        $Self->{'AuthModule::LDAP::Host1'} = 'srv-dc2.xxxx.xxxx';
        $Self->{'AuthModule::LDAP::BaseDN1'} = 'ou=mitarbeiter,ou=xxxx xxxx xxxx,dc=xxxx,dc=local';
        $Self->{'AuthModule::LDAP::UID1'} = 'sAMAccountName';

        # Check if the user is allowed to auth in a posixGroup
        # (e. g. user needs to be in a group xyz to use otobo)
        # $Self->{'AuthModule::LDAP::GroupDN'} = 'cn=otoboallow,ou=posixGroups,dc=example,dc=com';
        # $Self->{'AuthModule::LDAP::AccessAttr'} = 'memberUid';
        # for ldap posixGroups objectclass (just uid)
        # $Self->{'AuthModule::LDAP::UserAttr'} = 'UID';
        # for non ldap posixGroups objectclass (with full user dn)
        # $Self->{'AuthModule::LDAP::UserAttr'} = 'DN';

        # The following is valid but would only be necessary if the
        # anonymous user do NOT have permission to read from the LDAP tree
        $Self->{'AuthModule::LDAP::SearchUserDN'} = 'cn=ldap,ou=mitarbeiter,ou=xxxx xxxx xxxx,dc=xxxx,dc=local';
        $Self->{'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)'
        # or if you want to filter with a locigal OR-Expression, like AlwaysFilter => '(|(mail=*abc.com)(mail=*xyz.com))'
        # $Self->{'AuthModule::LDAP::AlwaysFilter'} = '';

        # in case you want to add a suffix to each 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->{'AuthModule::LDAP::UserSuffix'} = '@domain.com';

        # In case you want to convert all given usernames to lower letters you
        # should activate this option. It might be helpful if databases are
        # in use that do not distinguish selects for upper and lower case letters
        # (Oracle, postgresql). User might be synched twice, if this option
        # is not in use.
        # $Self->{'AuthModule::LDAP::UserLowerCase'} = 0;

        # In case you need to use OTOBO in iso-charset, you can define this
        # by using this option (converts utf-8 data from LDAP to iso).
        # $Self->{'AuthModule::LDAP::Charset'} = 'iso-8859-1';

        # Net::LDAP new params (if needed - for more info see perldoc Net::LDAP)
        $Self->{'AuthModule::LDAP::Params'} = {
        port => 389,
        timeout => 120,
        async => 0,
        version => 3,
        };

        # Die if backend can't work, e. g. can't connect to server.
        # $Self->{'AuthModule::LDAP::Die'} = 1;

        $Self->{'AuthModule::UseSyncBackend'} = 'AuthSyncBackend';

        $Self->{'AuthModule::UseSyncBackend1'} = 'AuthSyncBackend1';

        # This is an example configuration for an LDAP auth sync. backend.
        # (take care that Net::LDAP is installed!)
        $Self->{AuthSyncModule} = 'Kernel::System::Auth::Sync::LDAP';
        $Self->{'AuthSyncModule::LDAP::Host'} = 'srv-dc3.xxxx.xxxx';
        $Self->{'AuthSyncModule::LDAP::BaseDN'} = 'ou=mitarbeiter,ou=xxxx xxxx xxxx,dc=xxxx,dc=local';
        $Self->{'AuthSyncModule::LDAP::UID'} = 'sAMAccountName';

        $Self->{AuthSyncModule1} = 'Kernel::System::Auth::Sync::LDAP';
        $Self->{'AuthSyncModule::LDAP::Host1'} = 'srv-dc2.xxxx.xxxx';
        $Self->{'AuthSyncModule::LDAP::BaseDN1'} = 'ou=mitarbeiter,ou=xxxx xxxx xxxx,dc=xxxx,dc=local';
        $Self->{'AuthSyncModule::LDAP::UID1'} = 'sAMAccountName';

        # The following is valid but would only be necessary if the
        # anonymous user do NOT have permission to read from the LDAP tree
        $Self->{'AuthSyncModule::LDAP::SearchUserDN'} = 'cn=ldap,ou=mitarbeiter,ou=xxxx xxxx xxxx,dc=xxxx,dc=local';
        $Self->{'AuthSyncModule::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)'
        # or if you want to filter with a logical OR-Expression, like AlwaysFilter => '(|(mail=*abc.com)(mail=*xyz.com))'
        # $Self->{'AuthSyncModule::LDAP::AlwaysFilter'} = '';

        # AuthSyncModule::LDAP::UserSyncMap
        # (map if agent should create/synced from LDAP to DB after successful login)
        # you may specify LDAP-Fields as either
        # * list, which will check each field. first existing will be picked ( ["givenName","cn","_empty"] )
        # * name of an LDAP-Field (may return empty strings) ("givenName")
        # * fixed strings, prefixed with an underscore: "_test", which will always return this fixed string
        $Self->{'AuthSyncModule::LDAP::UserSyncMap'} = {
        # # DB -> LDAP
        UserFirstname => 'givenName',
        UserLastname => 'sn',
        UserEmail => 'mail',d
        };

         

        <!– Used for easily cloning the properly namespaced rect –>

      • 19. Juli 2021 um 12:18 Uhr #11758
        Sebastian Nickel
        Teilnehmer

          Hi Michael,

          hat sich das Problem bereits behoben?

          Falls nein:

          Im Bereich „# Check if the user is allowed to auth in a posixGroup“ musst du

          $Self->{‚AuthModule::LDAP::GroupDN‘} = ‚cn=otoboallow,ou=posixGroups,dc=example,dc=com‘;

          und

          $Self->{‚AuthModule::LDAP::AccessAttr‘} = ‚member‘;

          Aktivieren und entsprechend Anpassen. Im ersten definierst du auf welche Gruppe im AD geachtet werden soll und im 2. definierst du dass Mitglieder genommen werden. Wichtig ist: nicht memberUID verwenden sondern nur Member.

      • Autor
        Beiträge
      Ansicht von 1 Antwort-Thread
      • Du musst angemeldet sein, um auf dieses Thema antworten zu können.

      Foren durchsuchen

      Anmeldung

      Anmeldung

      Konto erstellen
      Passwort vergessen?

      Login via Social

      Profil

      Bitte vervollständigen Sie nach der Registrierung Ihr Profil, das vereinfacht die spätere Kommunikation enorm. Ihre Profileinstellung finden Sie, wenn Sie auf Ihr Avatarbild klicken.

      Sie können Ihren Avatar ändern, indem Sie sich mit Ihrer E-Mail-Adresse unter gravatar.com registrieren.

      Letzte Aktivitäten

      • Mandantenfähigkeit
      • Dynamische Felder in AgentTicketNote mit ACL verstecken
      • FAQ: kaputtes Copy & Paste von Bildern zwischen Artikeln
      • Benachrichtigung „Ticket wurde mir entzogen“ möglich?
      • Statistik Anzahl Tickets pro Agent

      Unternehmen

      Über uns
      Karriere
      Stellenbörse
      Partner werden
      Kontakt
      Newsletter

      OTOBO | Simplify work and create exceptional service experiences.

      Die Source Code Owner und Maintainer hinter OTOBO.

      Software

      Service Management-Plattform
      OTOBO Demo
      OTOBO Download
      OTOBO Dokumentation

      Security-Problem melden:
      security@otobo.org

      Services

      Support-Portal
      Beratung
      Training
      Support
      Managed Services
      Erweiterung
      OTRS Migration
      Partner finden

      Community

      Open Source
      Community Forum
      Mitmachen
      OTOBO Developer
      OTOBO@GitHub

      © 2026 Rother OSS GmbH | All rights reserved.
      • Cookie-Einstellungen
      • Impressum
      • Datenschutz
      • Haftungsausschluss
      Nach oben scrollen Nach oben scrollen Nach oben scrollen