ich habe erfolgreich LDAP als Schnittstelle für das Füllen der Kundenbenutzer-Tabelle aktiviert. Jetzt möchte ich aber Accounts dort anlegen die nicht im LDAP sind; ich erinnere mich daran dass das früher in OTRS mal ging. Ich nutze diesen Part gern um Dienstleister dort zu hinterlegen und ihnen Mails zu zusenden. Wie gehe ich hierfür genau vor? gibt es evtl. etwas was ich übersehen habe?
edit: Otobo-docker, Version 10.0.18
MfG
This topic was modified 4 months ago by Marco Ulbricht. Reason: Version hinzugefügt
lieben Dank. Irgendwie komme ich mit dem dortigen Codesnippet nicht ganz zurecht und bin mir nicht sicher ob das die 6 Jahre Unterschied sind: Mein LDAP sieht schon anders aus, daher kann ich mit Sicherheit deren Code nicht einfach einfügen…
# CustomerUser
# (customer user ldap backend and settings)
$Self->{CustomerUser} = {
Name => 'LDAP Backend',
Module => 'Kernel::System::CustomerUser::LDAP',
Params => {
# ldap host
}
# UserSyncLDAPMap #
$Self->{CustomerUser1} = { Name => 'READ ONLY -> LDAP Backend', Module => 'Kernel::System::CustomerUser::LDAP', Params => {
# LDAP-Host
soweit ich das richtig verstehe, du hast Kunden, die über einen LDAP synchronisiert sind.
Jetzt möchtest du weitere Kunden in OTOBO hinzufügen, die nicht im LDAP sind, wie zum Beispiel Lieferanten?
Die kannst du unter Kunden -> Kundenbenutzerverwaltung eigentlich erstellen. Gegebenenfalls musst du aber auch erstmal ein weiteres Backend konfigurieren, dafür kannst du die lokale MariaDB (oder welche DB du auch benutzt) benutzen. Dann benötigst du aber eine Tabelle, die du vorher auf der Datenbank erstellen musst und einbinden musst.
(mehrere) LDAP und/oder externe Datenbank(en) und zusätzlich die lokale Datenbank ist überhaupt kein Problem. Wichtig ist nur, dass du die lokale Datenbank in die Kernel/Config.pm (oder wo auch immer du dein LDAP angebunden hast) mit aufnimmst. Bitte nicht vergessen, die entsprechend zu nummerieren, also wenn du in deinem Beispiel die 1 hinter die Backends jeweils gepackt hast, dann machst du hinter die lokale Datenbank bspw. die 2.
Also bspw. für die Kundenauthentifizierung hinzufügen:
# This is the auth. module for the otobo db
# you can also configure it using a remote database
$Self->{‚Customer::AuthModule2‘} = ‚Kernel::System::CustomerAuth::DB‘;
$Self->{‚Customer::AuthModule::DB::Table2‘} = ‚customer_user‘;
$Self->{‚Customer::AuthModule::DB::CustomerKey2‘} = ‚login‘;
$Self->{‚Customer::AuthModule::DB::CustomerPassword2‘} = ‚pw‘;
Our website uses cookies. Cookies are tiny text files which are saved in your web browser or by your web browser on your device when you access websites. They contain a characteristic character sequence allowing to clearly identify your browser upon your next visit to the website.
You can prevent the setting of cookies at any time by making the appropriate setting in your internet browser. Cookies that have already been set can be deleted manually or automatically at any time. This is possible in all common internet browsers. If the setting of cookies is deactivated in the browser, not all functions of the website may be fully usable.
We deliberately use very little cookies.
Detailed information can be found in section 4 of our Privacy Policy.
Necessary cookies
Essential Cookies are necessary to deliver this website and some of its features correctly.
For this reason, we do not provide any opportunity here to disable them.
Notwithstanding this, you can deactivate all Cookies in your Browser Settings at any time. Please be aware, however, that this might have an impact on the functionality of this website.
More information about the cookies to be set and how long they will be stored can be found in section 4 of our Privacy Poliy: Privacy Policy.
Google Analytics' Cookies
When you visit this website, Google Analytics sets cookies on your system. This will help us analyse how you use our website ans tailor it to the needs of our visitors. Your IP address will be automatically anonymised (IP anonymisation and deactivation of your User ID). Therefore, we cannot trace which data a certain user is accessing. The data are not saved together with any other personal user data.
You can deactivate tracking in your browser if you do not want us to be able to track your visit on our website.
Privacy Policy
Detailed information on the usage of cookies as well as our Privacy Policy can be found here: