Hallo an alle,
ich hoffe ihr könnt mir nochmals helfen.
Meine Einträge die ich bis jetzt erstellt habe:
# This is an example configuration for an LDAP auth. backend.
# (take care that Net::LDAP is installed!)
$Self->{'AuthModule'} = 'Kernel::System::Auth::LDAP';
$Self->{'AuthModule::LDAP::Host'} = '192.168.1.5';
$Self->{'AuthModule::LDAP::BaseDN'} = 'dc=baechle-spedition,dc=de';
$Self->{'AuthModule::LDAP::UID'} = '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->{'AuthModule::LDAP::SearchUserDN'} = 'cn=otrs admin,cn=users,dc=baechle-spedition,dc=de';
$Self->{'AuthModule::LDAP::SearchUserPw'} = 'xxx';
# AuthSyncModule::LDAP::UserSyncMap
# (map if agent should create/synced from LDAP to DB after successful login)
$Self->{'AuthSyncModule::LDAP::UserSyncMap'} = {
# # DB -> LDAP
UserFirstname => 'givenName',
UserLastname => 'sn',
UserEmail => 'mail',
};
Ergeben folgende Meldung:
[Thu Sep 24 10:23:12 2009][Notice][Kernel::System::Auth::LDAP::Auth] User: Administrator (CN=Administrator,CN=Users,DC=baechle-spedition,DC=de) authentication ok (REMOTE_ADDR: 127.0.0.1).
[Thu Sep 24 10:23:12 2009][Error][Kernel::System::User::UserLookup][696] No UserID found for 'Administrator'!
[Thu Sep 24 10:23:12 2009][Error][Kernel::System::User::UserLookup][696] No UserID found for 'Administrator'!
[Thu Sep 24 10:23:12 2009][Notice][Kernel::System::User::GetUserData] Panic! No UserData for user: 'Administrator'!!!
Laut des otrs Logs, funktioniert die ldap Anbindung. Jetzt frage ich mich nur, warum die Anmeldung noch nicht funktioniert. Eigentlich habe ich doch auch eine Sync Map, somit sollten die Agenten doch aus dem AD gelesen werden........wäre nett, wenn ihr mich nochmals unterstützen könntet.
LDAP Agenten/Kunden Abgleich
-
- Znuny newbie
- Posts: 14
- Joined: 23 Sep 2009, 09:44
- Znuny Version: 2.4
LDAP Agenten/Kunden Abgleich
Es fehlt die Hälfte Deiner Sync Konfiguration. Z.B. Serverdaten
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
-
- Znuny newbie
- Posts: 14
- Joined: 23 Sep 2009, 09:44
- Znuny Version: 2.4
LDAP Agenten/Kunden Abgleich
Kannst Du mir bitte auf die Sprünge helfen?
Welche Abschnitte fehlen, ich möchte meine Konfig nicht wieder überladen.
Nenne mir einfach bitte die #-Abschnitte dann hau ich die rein.
Danke
Hurrei, die Ldap Anmeldung hat funktioniert.
Jetzt wollte ich noch den Abschnitt #Customer hinzufügen, dann kommt die Meldung im Browser sobald ich auf die Seite gehe mit der Anmeldung:
Can't load log backend module Kernel::System::Log::SysLog! Can't locate Sys/Syslog.pm in @INC (@INC contains: C:/Programme/OTRS/Apache/bin/../../Kernel/cpan-lib C:/Programme/OTRS/Apache/bin/../.. ../../ C:/PROGRA~1/OTRS/OTRS/Kernel/cpan-lib C:/PROGRA~1/OTRS/OTRS/ C:/Programme/OTRS/StrawberryPerl/perl/lib C:/Programme/OTRS/StrawberryPerl/perl/site/lib . C:/Programme/OTRS/Apache C:/Programme/OTRS/Apache/bin/../.. C:/Programme/OTRS/Apache/bin/../../Kernel/cpan-lib) at C:/PROGRA~1/OTRS/OTRS//Kernel/System/Log/SysLog.pm line 17.
BEGIN failed--compilation aborted at C:/PROGRA~1/OTRS/OTRS//Kernel/System/Log/SysLog.pm line 17.
Compilation failed in require at (eval 112) line 3.
Welche Abschnitte fehlen, ich möchte meine Konfig nicht wieder überladen.
Nenne mir einfach bitte die #-Abschnitte dann hau ich die rein.
Danke
Hurrei, die Ldap Anmeldung hat funktioniert.
Jetzt wollte ich noch den Abschnitt #Customer hinzufügen, dann kommt die Meldung im Browser sobald ich auf die Seite gehe mit der Anmeldung:
Can't load log backend module Kernel::System::Log::SysLog! Can't locate Sys/Syslog.pm in @INC (@INC contains: C:/Programme/OTRS/Apache/bin/../../Kernel/cpan-lib C:/Programme/OTRS/Apache/bin/../.. ../../ C:/PROGRA~1/OTRS/OTRS/Kernel/cpan-lib C:/PROGRA~1/OTRS/OTRS/ C:/Programme/OTRS/StrawberryPerl/perl/lib C:/Programme/OTRS/StrawberryPerl/perl/site/lib . C:/Programme/OTRS/Apache C:/Programme/OTRS/Apache/bin/../.. C:/Programme/OTRS/Apache/bin/../../Kernel/cpan-lib) at C:/PROGRA~1/OTRS/OTRS//Kernel/System/Log/SysLog.pm line 17.
BEGIN failed--compilation aborted at C:/PROGRA~1/OTRS/OTRS//Kernel/System/Log/SysLog.pm line 17.
Compilation failed in require at (eval 112) line 3.
-
- Znuny newbie
- Posts: 14
- Joined: 23 Sep 2009, 09:44
- Znuny Version: 2.4
LDAP Agenten/Kunden Abgleich
Okey...jojo mit Deiner Hilfe bin ich bereits sehr weit gekommen, ich habe natürlich auch massig andere Posts vor allem von Dir geschrieben durchgearbeitet.
Den Perl Fehler habe ich damit ausgelöscht, in dem ich auf einer zwischengespeicherten Konfig aufgesetzt habe.
Den Perl Fehler habe ich damit ausgelöscht, in dem ich auf einer zwischengespeicherten Konfig aufgesetzt habe.
-
- Znuny newbie
- Posts: 14
- Joined: 23 Sep 2009, 09:44
- Znuny Version: 2.4
LDAP Agenten/Kunden Abgleich
Hm da hänge ich mal wieder, die Benutzerdaten wandern noch nicht in die MySql Datenbank, die Fehlermeldung sieht so aus im otrs log:
[Thu Sep 24 16:30:46 2009][Notice][Kernel::System::AuthSession::DB::RemoveSessionID] Removed SessionID 1001852e6ce7743ac84189d8eb1b51e790.
[Thu Sep 24 16:30:52 2009][Notice][Kernel::System::Auth::LDAP::Auth] User: lasrado (CN=123 Test,OU=Disposition,DC=baechle-spedition,DC=de) authentication ok (REMOTE_ADDR: 127.0.0.1).
[Thu Sep 24 16:30:52 2009][Notice][Kernel::System::User::UserUpdate] User: 'Test' updated successfully (1)!
[Thu Sep 24 16:30:52 2009][Notice][Kernel::System::User::SetPassword] User: 'Test' changed password successfully!
[Thu Sep 24 16:30:52 2009][Error][Kernel::Output::HTML::LayoutAJAX::JSONQuote][212] Need Data!
[Thu Sep 24 16:30:52 2009][Error][Kernel::Output::HTML::LayoutAJAX::JSONQuote][212] Need Data!
[Thu Sep 24 16:30:52 2009][Error][Kernel::Output::HTML::LayoutAJAX::JSONQuote][212] Need Data!
[Thu Sep 24 16:30:52 2009][Error][Kernel::Output::HTML::LayoutAJAX::JSONQuote][212] Need Data!
[Thu Sep 24 16:30:52 2009][Error][Kernel::Output::HTML::LayoutAJAX::JSONQuote][212] Need Data!
[Thu Sep 24 16:30:52 2009][Error][Kernel::Output::HTML::LayoutAJAX::JSONQuote][212] Need Data!
Welcher Konfig Teil steuert diese Übergabe oder wo könnte der Fehler liegen? Habe uid bereits durch sAMAccountName ersetzt.
[Thu Sep 24 16:30:46 2009][Notice][Kernel::System::AuthSession::DB::RemoveSessionID] Removed SessionID 1001852e6ce7743ac84189d8eb1b51e790.
[Thu Sep 24 16:30:52 2009][Notice][Kernel::System::Auth::LDAP::Auth] User: lasrado (CN=123 Test,OU=Disposition,DC=baechle-spedition,DC=de) authentication ok (REMOTE_ADDR: 127.0.0.1).
[Thu Sep 24 16:30:52 2009][Notice][Kernel::System::User::UserUpdate] User: 'Test' updated successfully (1)!
[Thu Sep 24 16:30:52 2009][Notice][Kernel::System::User::SetPassword] User: 'Test' changed password successfully!
[Thu Sep 24 16:30:52 2009][Error][Kernel::Output::HTML::LayoutAJAX::JSONQuote][212] Need Data!
[Thu Sep 24 16:30:52 2009][Error][Kernel::Output::HTML::LayoutAJAX::JSONQuote][212] Need Data!
[Thu Sep 24 16:30:52 2009][Error][Kernel::Output::HTML::LayoutAJAX::JSONQuote][212] Need Data!
[Thu Sep 24 16:30:52 2009][Error][Kernel::Output::HTML::LayoutAJAX::JSONQuote][212] Need Data!
[Thu Sep 24 16:30:52 2009][Error][Kernel::Output::HTML::LayoutAJAX::JSONQuote][212] Need Data!
[Thu Sep 24 16:30:52 2009][Error][Kernel::Output::HTML::LayoutAJAX::JSONQuote][212] Need Data!
Welcher Konfig Teil steuert diese Übergabe oder wo könnte der Fehler liegen? Habe uid bereits durch sAMAccountName ersetzt.